/* Estilos compartidos para formularios de login y registro */
/* Diseño minimalista moderno */

.modal-auth {
    backdrop-filter: blur(15px);
}

.modal-auth .modal-content {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    color: #2d3748;
    overflow: hidden;
}

.modal-auth .modal-header {
    background: linear-gradient(135deg, #00AFC3 0%, #00AFC3 100%);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    padding: 1.25rem 1.5rem;
}

.modal-auth .modal-title {
    color: white;
    font-weight: 600;
    font-size: 1.3rem;
    margin: 0;
}

.modal-auth .close {
    color: white;
    opacity: 0.9;
    text-shadow: none;
    font-size: 1.3rem;
    background: none;
    border: none;
    transition: opacity 0.2s ease;
}

.modal-auth .close:hover {
    opacity: 1;
}

.modal-auth .modal-body {
    padding: 1.5rem;
    background: #ffffff;
}

.modal-auth .form-group {
    margin-bottom: 1rem;
}

.modal-auth .form-group label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    display: block;
}

.modal-auth .form-control {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    width: 100%;
}

.modal-auth .form-control:focus {
    background: #ffffff;
    border-color: #00AFC3;
    box-shadow: 0 0 0 3px rgba(0, 175, 195, 0.1);
    outline: none;
}

.modal-auth .form-control::placeholder {
    color: #9ca3af;
    font-size: 0.9rem;
}

.modal-auth .help-text {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Separador minimalista */
.modal-auth .login-section-separator {
    display: flex;
    align-items: center;
    margin: 1.5rem 0 1rem 0;
    gap: 0.75rem;
}

.modal-auth .separator-line {
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.modal-auth .separator-text {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    border-radius: 12px;
    white-space: nowrap;
}

.modal-auth .login-link {
    text-align: center;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    margin-top: 0.5rem;
    border: 1px solid #e2e8f0;
}

.modal-auth .login-link a {
    color: #00AFC3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.modal-auth .login-link a:hover {
    color: #00AFC3;
    text-decoration: underline;
}

.modal-auth .modal-footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 1rem 1.5rem;
    border-radius: 0 0 16px 16px;
}

.modal-auth .btn {
    border-radius: 8px;
    padding: 0.65rem 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: none;
    margin-right: 0.5rem;
}

.modal-auth .btn-info,
.modal-auth .btn-success {
    background: #00AFC3;
    color: white;
}

.modal-auth .btn-info:hover,
.modal-auth .btn-success:hover {
    background: #00AFC3;
    transform: translateY(-1px);
}

.modal-auth .btn-info:active,
.modal-auth .btn-success:active {
    background: #037582 !important; 
    transform: translateY(1px);
}

.modal-auth .btn-light,
.modal-auth .btn-primary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.modal-auth .btn-light:hover,
.modal-auth .btn-primary:hover {
    background: #e5e7eb;
    color: #1f2937;
}

/* Enlaces de ayuda */
.modal-auth .help-links {
    margin: 1rem 0;
}

.modal-auth .help-links p {
    margin: 0.5rem 0;
    color: #374151;
    font-size: 0.9rem;
}

.modal-auth .help-links a {
    color: #00AFC3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.modal-auth .help-links a:hover {
    color: #037582;
    text-decoration: underline;
}

/* Padding específico para modal body */
.modal .modal-dialog .modal-content .modal-body {
    padding-top: 25px;
}

/* Responsive design */
@media (max-width: 768px) {
    .modal-auth .modal-body {
        padding: 1.25rem;
    }
    
    .modal-auth .modal-footer {
        padding: 1rem;
    }
    
    .modal-auth .btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .modal-auth .btn:last-child {
        margin-bottom: 0;
    }
}
