/* Estilos para los botones de gestión de apartamentos */

/* Contenedor de acciones */
.apple-list-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Botón base para todos los botones de acción - FORZAR MISMO TAMAÑO */
.apple-list-actions .action-button,
.apple-list-actions button.action-button,
.apple-list-actions a.action-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border: none !important;
    border-radius: 50% !important; /* TODOS PERFECTAMENTE REDONDOS */
    font-size: 18px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    color: white !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.apple-list-actions .action-button:hover,
.apple-list-actions button.action-button:hover,
.apple-list-actions a.action-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
    text-decoration: none !important;
    color: white !important;
}

.apple-list-actions .action-button:active,
.apple-list-actions button.action-button:active,
.apple-list-actions a.action-button:active {
    transform: translateY(0) !important;
}

/* SOLO CAMBIAR COLORES - TAMAÑO Y FORMA EXACTAMENTE IGUALES */

/* Botón de amenities (regalo) */
.apple-list-actions .amenities-btn,
.apple-list-actions button.amenities-btn,
.apple-list-actions a.amenities-btn {
    background: #9C27B0 !important;
}

.apple-list-actions .amenities-btn:hover,
.apple-list-actions button.amenities-btn:hover,
.apple-list-actions a.amenities-btn:hover {
    background: #8E24AA !important;
}

/* Botón de información de reserva */
.apple-list-actions .info-btn,
.apple-list-actions button.info-btn,
.apple-list-actions a.info-btn {
    background: #2196F3 !important;
}

.apple-list-actions .info-btn:hover,
.apple-list-actions button.info-btn:hover,
.apple-list-actions a.info-btn:hover {
    background: #1E88E5 !important;
}

/* Botón de editar/continuar limpieza */
.apple-list-actions .edit-btn,
.apple-list-actions button.edit-btn,
.apple-list-actions a.edit-btn {
    background: #4CAF50 !important;
}

.apple-list-actions .edit-btn:hover,
.apple-list-actions button.edit-btn:hover,
.apple-list-actions a.edit-btn:hover {
    background: #43A047 !important;
}

/* Botón de crear nueva limpieza */
.apple-list-actions .create-btn,
.apple-list-actions button.create-btn,
.apple-list-actions a.create-btn {
    background: #FF9800 !important;
}

/* Estilos para botones Apple-style */
.apple-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
    justify-content: center;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.apple-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.apple-btn-primary {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
}

.apple-btn-primary:hover {
    color: white;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.apple-btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.apple-btn-secondary:hover {
    color: white;
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.apple-btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.apple-btn-success:hover {
    color: white;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.apple-btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: white;
}

.apple-btn-warning:hover {
    color: white;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.apple-btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.apple-btn-danger:hover {
    color: white;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.apple-btn-info {
    background: white;
    color: #2196F3;
    border: 2px solid #2196F3;
}

.apple-btn-info:hover {
    background: #2196F3;
    color: white;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

/* Responsive para botones */
@media (max-width: 768px) {
    .apple-btn {
        min-width: 120px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

.apple-list-actions .create-btn:hover,
.apple-list-actions button.create-btn:hover,
.apple-list-actions a.create-btn:hover {
    background: #FB8C00 !important;
}

/* Botón de calendario (para apartamentos previstos) */
.apple-list-actions .calendar-btn,
.apple-list-actions button.calendar-btn,
.apple-list-actions a.calendar-btn {
    background: #607D8B !important;
}

.apple-list-actions .calendar-btn:hover,
.apple-list-actions button.calendar-btn:hover,
.apple-list-actions a.calendar-btn:hover {
    background: #546E7A !important;
}

/* Botón de completar/finalizar tarea */
.apple-list-actions .complete-btn,
.apple-list-actions button.complete-btn,
.apple-list-actions a.complete-btn {
    background: #28a745 !important;
}

.apple-list-actions .complete-btn:hover,
.apple-list-actions button.complete-btn:hover,
.apple-list-actions a.complete-btn:hover {
    background: #218838 !important;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .apple-list-actions {
        gap: 8px;
    }
    
    .apple-list-actions .action-button,
    .apple-list-actions button.action-button,
    .apple-list-actions a.action-button {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        max-width: 44px !important;
        max-height: 44px !important;
        font-size: 16px !important;
    }
}

/* Animación de entrada */
.apple-list-actions .action-button,
.apple-list-actions button.action-button,
.apple-list-actions a.action-button {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
