/* Animación de brillo/flotante para alertas premium en login */
.premium-alert-floating {
    box-shadow: 0 8px 32px 0 rgba(30,144,255,0.25), 0 0 0 4px rgba(30,144,255,0.12);
    animation: premium-float-glow 1.2s infinite alternate;
    position: absolute;
    left: 50%;
    top: -60px;
    transform: translateX(-50%);
    z-index: 2000;
    min-width: 320px;
    max-width: 90vw;
}

@keyframes premium-float-glow {
  0% { box-shadow: 0 8px 32px 0 rgba(30,144,255,0.25), 0 0 0 4px rgba(30,144,255,0.12); }
  100% { box-shadow: 0 16px 48px 0 rgba(30,144,255,0.45), 0 0 16px 8px rgba(30,144,255,0.18); }
}

.premium-alert-warning {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffb199 100%) !important;
    color: white !important;
}
.premium-alert-info {
    background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%) !important;
    color: white !important;
}
/* ===== SISTEMA DE DISEÑO PREMIUM AZUL ===== */

/* Variables CSS - Heredan de tema-variables.css para soporte de temas */
:root {
    /* Colores Principales - Heredan del tema activo */
    --blue-primary: var(--tema-primario, #1e90ff);
    --blue-secondary: var(--tema-secundario, #4169e1);
    --blue-light: #e1f2ff;
    --blue-medium: #cce7ff;
    
    /* Variables premium para auth templates - Heredan del tema */
    --premium-primary: var(--tema-primario, #1e90ff);
    --premium-secondary: var(--tema-secundario, #4169e1);
    --premium-text: var(--tema-texto-primario, #2c3e50);
    --premium-text-muted: var(--tema-texto-secundario, #6c757d);
    
    /* Gradientes - Heredan del tema */
    --gradient-primary: var(--tema-gradiente-primario, linear-gradient(135deg, #1e90ff 0%, #4169e1 100%));
    --gradient-background: var(--tema-gradiente-fondo, linear-gradient(135deg, #e1f2ff 0%, #cce7ff 50%, #e1f2ff 100%));
    --gradient-shimmer: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    
    /* Sombras - Heredan del tema */
    --shadow-primary: var(--tema-sombra-media, 0 8px 32px rgba(30, 144, 255, 0.3));
    --shadow-hover: var(--tema-sombra-fuerte, 0 12px 40px rgba(30, 144, 255, 0.4));
    --shadow-light: var(--tema-sombra-suave, 0 6px 24px rgba(30, 144, 255, 0.25));
    
    /* Bordes - Heredan del tema */
    --border-radius-sm: var(--tema-borde-radio-pequeno, 8px);
    --border-radius-md: var(--tema-borde-radio-mediano, 12px);
    --border-radius-lg: var(--tema-borde-radio-grande, 16px);
    --border-radius-xl: var(--tema-borde-radio-extra, 20px);
    
    /* Transiciones - Heredan del tema */
    --transition-smooth: var(--tema-transicion-suave, all 0.3s ease);
    --transition-fast: var(--tema-transicion-rapida, all 0.2s ease);
}

/* ===== COMPONENTES BASE ===== */

/* Fondo principal */
.premium-background {
    background: var(--gradient-background);
    min-height: 100vh;
}

/* Cards Premium */
.premium-card {
    background: var(--gradient-primary);
    padding: 16px 20px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transform: translateY(0);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.premium-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.premium-card-small {
    background: var(--gradient-primary);
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transform: translateY(0);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.premium-card-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.35);
}

/* Efecto Shimmer */
.shimmer-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-shimmer);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Contenido de cards */
.premium-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* Iconos con fondo glass */
.premium-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    padding: 8px;
    margin-right: 12px;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.premium-icon-small {
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 6px;
    margin-right: 10px;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.premium-icon i,
.premium-icon-small i {
    color: white;
}

/* Botones Premium */
.btn-premium {
    background: var(--gradient-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: 12px 24px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-premium:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
    color: white;
    text-decoration: none;
}

.btn-premium-large {
    background: var(--gradient-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 16px 32px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-premium-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
    color: white;
    text-decoration: none;
}

/* Badges Premium */
.badge-premium {
    background-color: var(--blue-primary);
    color: white;
    padding: 6px 12px;
    border-radius: var(--border-radius-xl);
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Navbar Premium */
.navbar-premium {
    background: var(--gradient-primary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-light);
}

.navbar-premium .navbar-brand,
.navbar-premium .nav-link {
    color: white !important;
    font-weight: 600;
    transition: var(--transition-fast);
}

.navbar-premium .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-1px);
}

/* Headers Premium */
.header-premium {
    background: var(--gradient-primary);
    color: white;
    padding: 24px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 24px;
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.header-premium h1,
.header-premium h2,
.header-premium h3 {
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Forms Premium */
.form-control-premium {
    border: 2px solid rgba(30, 144, 255, 0.3);
    border-radius: var(--border-radius-md);
    padding: 12px 16px;
    transition: var(--transition-fast);
    background: rgba(255, 255, 255, 0.95);
}

.form-control-premium:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 0.2rem rgba(30, 144, 255, 0.25);
    background: white;
}

.form-label-premium {
    color: var(--blue-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

/* Tables Premium */
.table-premium {
    background: white;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.table-premium thead {
    background: var(--gradient-primary);
    color: white;
}

.table-premium th {
    border: none;
    padding: 16px;
    font-weight: 600;
}

.table-premium td {
    padding: 12px 16px;
    border-top: 1px solid rgba(30, 144, 255, 0.1);
}

.table-premium tbody tr:hover {
    background-color: rgba(30, 144, 255, 0.05);
}

/* Alerts Premium */
.alert-premium {
    background: var(--gradient-primary);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: 22px 20px;
    min-height: 64px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.alert-premium .alert-heading {
    color: white;
    margin-bottom: 8px;
}

/* Modals Premium */
.modal-premium .modal-content {
    background: var(--gradient-background);
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-primary);
}

.modal-premium .modal-header {
    background: var(--gradient-primary);
    color: white;
    border-bottom: none;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.modal-premium .modal-title {
    color: white;
}

.modal-premium .btn-close {
    filter: invert(1);
}

/* Sidebar Premium */
.sidebar-premium {
    background: var(--gradient-background);
    min-height: 100vh;
    padding: 20px;
    border-right: 1px solid rgba(30, 144, 255, 0.2);
}

.sidebar-premium .nav-link {
    color: var(--blue-primary);
    font-weight: 500;
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    margin-bottom: 4px;
    transition: var(--transition-fast);
}

.sidebar-premium .nav-link:hover,
.sidebar-premium .nav-link.active {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(4px);
}

/* Cards de estadísticas */
.stats-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    border-left: 4px solid var(--blue-primary);
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.stats-card .stats-icon {
    background: var(--gradient-primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.stats-card .stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue-primary);
    margin: 0;
}

.stats-card .stats-label {
    color: #6c757d;
    font-weight: 500;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .premium-card,
    .premium-card-small {
        padding: 12px 16px;
    }
    
    .btn-premium-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .header-premium {
        padding: 16px;
    }
}

/* Utilidades */
.text-premium {
    color: var(--blue-primary);
}

.bg-premium {
    background: var(--gradient-primary);
    color: white;
}

.border-premium {
    border: 2px solid var(--blue-primary);
}

.shadow-premium {
    box-shadow: var(--shadow-primary);
}

/* ===== PROPERTY VIEW SPECIFIC STYLES ===== */

/* Property View Header */
.property-view-header {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
}

.property-header-gradient {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.9) 0%, rgba(65, 105, 225, 0.9) 100%);
    position: relative;
    z-index: 2;
}

.property-header-content {
    padding: 1.5rem 2rem;
    position: relative;
}

.property-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.property-location-info {
    font-size: 1.1rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
}

.property-price-display {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.price-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.currency-code {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Gallery Styles */
.gallery-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--blue-light);
}

.premium-gallery-container {
    position: relative;
}

.gallery-item-premium {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    background: white;
}

.gallery-item-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

.gallery-image-premium {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 144, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 1.5rem;
}

.gallery-item-premium:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item-premium:hover .gallery-image-premium {
    transform: scale(1.05);
}

.no-images-state {
    text-align: center;
    padding: 3rem;
    background: var(--blue-light);
    border-radius: var(--border-radius-md);
    border: 2px dashed rgba(30, 144, 255, 0.3);
}

/* Section Headers */
.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--blue-light);
}

/* Property Description */
.property-description-section {
    margin-bottom: 2rem;
}

.description-content {
    padding: 1rem 0;
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Property Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--blue-light);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--blue-primary);
    transition: var(--transition-smooth);
}

.detail-item:hover {
    background: rgba(30, 144, 255, 0.1);
    transform: translateX(5px);
}

.detail-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--blue-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

/* Contact Information */
.contact-info-section {
    position: sticky;
    top: 2rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--blue-light);
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.contact-item:hover {
    background: rgba(30, 144, 255, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-content {
    flex: 1;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--blue-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1rem;
    font-weight: 600;
}

.contact-link {
    color: var(--blue-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--blue-secondary);
    text-decoration: underline;
}

.contact-actions {
    margin-top: 2rem;
}

/* Success Message */
.success-message-premium {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.05) 100%);
    border-radius: var(--border-radius-md);
    border: 2px solid rgba(40, 167, 69, 0.2);
    padding: 2rem;
    display: flex;
    align-items: center;
}

.success-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    color: white;
    margin-right: 1.5rem;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.success-content {
    flex: 1;
}

.success-title {
    color: #28a745;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.success-text {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Property Actions Footer */
.property-actions-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid var(--blue-light);
}

.action-group {
    margin-bottom: 1rem;
}

.normal-actions {
    text-align: center;
}

/* Sticky sidebar */
.sticky-sidebar {
    position: sticky;
    top: 2rem;
}

/* Responsive adjustments for property view */
@media (max-width: 768px) {
    .property-main-title {
        font-size: 2rem;
    }
    
    .property-price-display {
        margin-top: 2rem;
    }
    
    .price-amount {
        font-size: 1.8rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .detail-item {
        padding: 1rem;
    }
    
    .contact-info-section {
        position: static;
        margin-top: 2rem;
    }
    
    .gallery-image-premium {
        height: 150px;
    }
    
    .sticky-sidebar {
        position: static;
    }
}

@media (max-width: 576px) {
    .property-header-content {
        padding: 2rem 1rem;
    }
    
    .property-main-title {
        font-size: 1.75rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    .premium-card {
        padding: 1rem;
    }
    
    .detail-item,
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-icon,
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .success-message-premium {
        flex-direction: column;
        text-align: center;
    }
    
    .success-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* ===== SISTEMA DE FLOATING LABELS PREMIUM ===== */

.form-floating-premium {
    position: relative;
    margin-bottom: 1rem;
}

.premium-floating-input {
    width: 100%;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    border: none;
    border-bottom: 1px solid rgba(30, 144, 255, 0.15);
    border-radius: 0;
    background-color: transparent;
    transition: var(--transition-fast);
    outline: none;
    color: var(--premium-text);
    font-weight: 500;
    height: auto;
    min-height: auto;
}

.premium-floating-input:focus {
    border-bottom-color: var(--blue-primary);
    box-shadow: none;
    background-color: rgba(30, 144, 255, 0.02);
}

.premium-floating-input::placeholder {
    color: transparent;
}

.premium-floating-label {
    position: absolute;
    top: 18px;
    left: 12px;
    font-size: 16px;
    color: var(--premium-text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
    background-color: transparent;
    padding: 0 4px;
    font-weight: 500;
    z-index: 3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 24px);
}

/* Label activo/visible (cuando hay contenido o focus) */
.premium-floating-input:focus + .premium-floating-label,
.premium-floating-input:not(:placeholder-shown) + .premium-floating-label,
.premium-floating-label.premium-label-visible {
    top: 0px !important;
    left: 8px;
    font-size: 12px;
    color: var(--blue-primary);
    background-color: transparent;
    padding: 0;
    font-weight: 600;
    border-radius: 0;
    transform: translateY(0);
}

/* Estilos específicos para select - SIN CONTORNOS */
.premium-floating-input.form-select {
    padding: 0.4rem 2rem 0.4rem 0.6rem !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231e90ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px 10px;
    color: var(--blue-primary) !important;
    font-weight: 600 !important;
    line-height: 1.4;
    text-align: left !important;
    vertical-align: middle !important;
    height: auto !important;
    border: none !important;
    border-bottom: 1px solid rgba(30, 144, 255, 0.15) !important;
    border-radius: 0 !important;
    background-color: transparent !important;
}

.premium-floating-input.form-select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231e90ff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    color: var(--blue-primary) !important;
}

/* Asegurar que el texto seleccionado sea visible */
.premium-floating-input.form-select option {
    color: var(--blue-primary) !important;
    background-color: white;
    font-weight: 500;
}

.premium-floating-input.form-select option:checked {
    background-color: var(--blue-light);
    color: var(--blue-primary) !important;
    font-weight: 600;
}

/* Estilo cuando está seleccionado un valor */
.premium-floating-input.form-select:not([value=""]):not(:invalid) {
    color: var(--blue-primary) !important;
    font-weight: 600;
}

/* Para campos de fecha */
.premium-floating-input[type="date"] {
    color: var(--premium-text);
    font-weight: 500;
}

.premium-floating-input[type="date"]:focus {
    color: var(--premium-text);
}

/* Hover effects - SIN CONTORNOS */
.form-floating-premium:hover .premium-floating-input {
    border-bottom-color: var(--blue-primary);
    transform: none;
    box-shadow: none;
}

.form-floating-premium:hover .premium-floating-label {
    color: var(--blue-primary);
}

/* Estados de error - SIN CONTORNOS */
.premium-floating-input.is-invalid {
    border-bottom-color: #dc3545;
}

.premium-floating-input.is-invalid:focus {
    border-bottom-color: #dc3545;
    box-shadow: none;
}

.premium-floating-input.is-invalid + .premium-floating-label {
    color: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    .premium-floating-input {
        font-size: 16px; /* Prevenir zoom en iOS */
        min-height: auto;
        padding: 0.4rem 0.6rem;
    }
    
    .premium-floating-label {
        font-size: 12px;
        top: 0;
    }
    
    .premium-floating-input:focus + .premium-floating-label,
    .premium-floating-input:not(:placeholder-shown) + .premium-floating-label,
    .premium-floating-label.premium-label-visible {
        font-size: 11px;
        top: -3px;
    }
}

/* ===== HEADER PREMIUM PARA PÁGINAS DE CUENTA ===== */
/* Soporte para los 3 temas: claro, oscuro, futurista */

.header-premium-cuenta {
    background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.header-premium-cuenta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer-cuenta 3s infinite;
    pointer-events: none;
}

@keyframes shimmer-cuenta {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.premium-icon-cuenta {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1.5rem;
}

.titulo-cuenta {
    color: white !important;
    font-size: 1.5rem;
    font-weight: 700;
}

.subtitulo-cuenta {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem;
}

.btn-volver-cuenta {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    border: 2px solid white;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-volver-cuenta:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white !important;
    transform: translateY(-2px);
}

.header-buttons-cuenta {
    display: flex;
    gap: 0.5rem;
}

.btn-header-cuenta {
    background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
    color: white !important;
    border: 2px solid white;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-header-cuenta.btn-outline {
    background: transparent;
}

.btn-header-cuenta:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    transform: translateY(-2px);
}

/* === TEMA OSCURO === */
[data-tema="oscuro"] .header-premium-cuenta {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    box-shadow: 0 8px 32px rgba(13, 71, 161, 0.4);
}

[data-tema="oscuro"] .premium-icon-cuenta {
    background: rgba(255, 255, 255, 0.15);
}

[data-tema="oscuro"] .btn-volver-cuenta,
[data-tema="oscuro"] .btn-header-cuenta {
    border-color: rgba(255, 255, 255, 0.8);
}

/* === TEMA FUTURISTA === */
[data-tema="futurista"] .header-premium-cuenta {
    background: linear-gradient(135deg, #00f5ff 0%, #00d4aa 100%);
    box-shadow: 0 8px 32px rgba(0, 245, 255, 0.3);
}

[data-tema="futurista"] .premium-icon-cuenta {
    background: rgba(0, 0, 0, 0.2);
    color: #0a0a0a;
}

[data-tema="futurista"] .titulo-cuenta {
    color: #0a0a0a !important;
}

[data-tema="futurista"] .subtitulo-cuenta {
    color: rgba(10, 10, 10, 0.7) !important;
}

[data-tema="futurista"] .btn-volver-cuenta {
    background: rgba(0, 0, 0, 0.1);
    color: #0a0a0a !important;
    border-color: #0a0a0a;
}

[data-tema="futurista"] .btn-volver-cuenta:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #0a0a0a !important;
}

[data-tema="futurista"] .btn-header-cuenta {
    background: rgba(0, 0, 0, 0.15);
    color: #0a0a0a !important;
    border-color: #0a0a0a;
}

[data-tema="futurista"] .btn-header-cuenta:hover {
    background: rgba(0, 0, 0, 0.25);
    color: #0a0a0a !important;
}

/* === RESPONSIVE HEADER CUENTA === */
@media (max-width: 768px) {
    .header-premium-cuenta {
        padding: 0.75rem 1rem;
    }
    
    .header-premium-cuenta > .d-flex {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch !important;
    }
    
    .header-premium-cuenta > .d-flex > .d-flex:nth-child(2) {
        order: -1;
        justify-content: center;
    }
    
    .btn-volver-cuenta {
        align-self: flex-start;
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .premium-icon-cuenta {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.2rem;
    }
    
    .titulo-cuenta {
        font-size: 1.1rem;
    }
    
    .subtitulo-cuenta {
        font-size: 0.8rem;
    }
    
    .header-buttons-cuenta {
        justify-content: center;
        width: 100%;
    }
    
    .btn-header-cuenta {
        flex: 1;
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .btn-header-cuenta .btn-text {
        display: inline;
    }
    
    /* Ocultar el espaciador en móvil */
    .header-premium-cuenta > .d-flex > div[style*="width: 100px"] {
        display: none;
    }
}
