/* Estilos para a seção de logo na página de login */
.logo-section {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.logo-section img {
    width: 120px;
    height: 120px;
    /* Adicionei uma pequena margem na parte inferior */
}

.logo-subtitle {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Estilos responsivos para dispositivos móveis */
@media (max-width: 768px) {
    .logo-section img {
        width: 100px;
        height: 100px;
    }
    
    .logo-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo-section img {
        width: 80px;
        height: 80px;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
}


/*---------------------- PAINEL D ELOGIN -------------------------------------------*/
    /* estilo.css - TXILA Login/Register Panel */
        :root {
            --txila-orange: #FF6B00;
            --txila-orange-light: #FF8533;
            --txila-orange-dark: #E55A00;
            --txila-blue: #003366;
            --txila-blue-light: #1E4A73;
            --accent-green: #10B981;
            --accent-purple: #8B5CF6;
            --gray-900: #0F172A;
            --gray-800: #1E293B;
            --gray-700: #334155;
            --gray-600: #475569;
            --gray-500: #64748B;
            --gray-400: #94A3B8;
            --gray-300: #CBD5E1;
            --gray-200: #E2E8F0;
            --gray-100: #F1F5F9;
            --gray-50: #F8FAFC;
            --white: #FFFFFF;
            --success: #10B981;
            --warning: #F59E0B;
            --error: #EF4444;
            --info: #3B82F6;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
            background: linear-gradient(135deg, var(--txila-orange) 0%, var(--accent-purple) 50%, var(--txila-blue) 100%);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
            pointer-events: none;
            z-index: 0;
        }

        /* Back Link */
        .back-link {
            position: fixed;
            top: 2rem;
            left: 2rem;
            background: rgba(255, 255, 255, 0.15);
            color: var(--white);
            text-decoration: none;
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            z-index: 1000;
            font-size: 0.9rem;
        }

        .back-link:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        /* Main Container */
        main {
            display: flex;
            min-height: 100vh;
            position: relative;
            z-index: 1;
        }

        /* Desktop Layout */
        .auth-container {
            display: flex;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            background: var(--white);
            border-radius: 0;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            position: relative;
        }

        /* Left Side - Information Panel (Desktop Only) */
        .info-panel {
            flex: 1;
            background: linear-gradient(135deg, var(--gray-900) 0%, var(--txila-blue) 100%);
            color: var(--white);
            padding: 4rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .info-panel::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 30% 30%, rgba(255, 107, 0, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
            pointer-events: none;
        }

        .info-content {
            position: relative;
            z-index: 1;
        }

        .info-logo {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 3rem;
        }

        .info-logo img {
            width: 60px;
            height: 60px;
            border-radius: 15px;
        }

        .info-logo-text {
            font-size: 2.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--txila-orange), var(--accent-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .info-title {
            font-size: 2.5rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            color: var(--white);
        }

        .info-subtitle {
            font-size: 1.25rem;
            opacity: 0.9;
            margin-bottom: 3rem;
            line-height: 1.6;
        }

        .info-features {
            list-style: none;
        }

        .info-features li {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }

        .info-features i {
            width: 24px;
            height: 24px;
            background: linear-gradient(135deg, var(--txila-orange), var(--accent-purple));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            flex-shrink: 0;
        }

        .info-stats {
            display: flex;
            gap: 2rem;
            margin-top: 3rem;
            flex-wrap: wrap;
        }

        .info-stat {
            text-align: center;
        }

        .info-stat-number {
            display: block;
            font-size: 2rem;
            font-weight: 800;
            color: var(--txila-orange);
        }

        .info-stat-label {
            font-size: 0.9rem;
            opacity: 0.8;
        }

        /* Right Side - Forms Panel */
        .forms-panel {
            flex: 1;
            padding: 4rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: var(--white);
            position: relative;
        }

        /* Logo Section */
        .logo-section {
            text-align: center;
            margin-bottom: 3rem;
        }

        .logo-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 1rem;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(255, 107, 0, 0.15);
        }

        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .logo-txila {
            font-size: 2rem;
            font-weight: 800;
            color: var(--txila-orange);
            margin-bottom: 0.5rem;
        }

        .logo-subtitle {
            color: var(--gray-600);
            font-size: 0.95rem;
        }

        /* Auth Tabs */
        .auth-tabs {
            display: flex;
            background: var(--gray-50);
            border-radius: 15px;
            padding: 0.5rem;
            margin-bottom: 2rem;
            position: relative;
        }

        .tab-button {
            flex: 1;
            padding: 1rem 1.5rem;
            border: none;
            background: transparent;
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--gray-600);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            position: relative;
            z-index: 1;
        }

        .tab-button.active {
            background: var(--white);
            color: var(--txila-orange);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }

        .tab-button:hover:not(.active) {
            color: var(--gray-800);
            background: rgba(255, 255, 255, 0.7);
        }

        /* Messages */
        .message {
            padding: 1rem 1.5rem;
            border-radius: 12px;
            margin-bottom: 1.5rem;
            font-weight: 500;
            display: none;
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid transparent;
        }

        .message.success {
            background: rgba(16, 185, 129, 0.1);
            border-color: rgba(16, 185, 129, 0.2);
            color: var(--success);
        }

        .message.error {
            background: rgba(239, 68, 68, 0.1);
            border-color: rgba(239, 68, 68, 0.2);
            color: var(--error);
        }

        .message.info {
            background: rgba(59, 130, 246, 0.1);
            border-color: rgba(59, 130, 246, 0.2);
            color: var(--info);
        }

        .message.warning {
            background: rgba(245, 158, 11, 0.1);
            border-color: rgba(245, 158, 11, 0.2);
            color: var(--warning);
        }

        /* Loading */
        .loading {
            display: none;
            text-align: center;
            padding: 2rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 3px solid var(--gray-200);
            border-top: 3px solid var(--txila-orange);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 1rem;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Form Sections */
        .form-section {
            display: none;
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .form-section.active {
            display: block;
            opacity: 1;
        }

        /* User Type Selector */
        .user-type-selector {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .user-type {
            flex: 1;
            padding: 1.5rem;
            border: 2px solid var(--gray-200);
            border-radius: 16px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: var(--white);
        }

        .user-type:hover {
            border-color: var(--txila-orange);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 107, 0, 0.1);
        }

        .user-type.selected {
            border-color: var(--txila-orange);
            background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), rgba(139, 92, 246, 0.05));
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 107, 0, 0.15);
        }

        .user-type-icon {
            font-size: 2rem;
            color: var(--txila-orange);
            margin-bottom: 0.75rem;
        }

        .user-type-title {
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 0.5rem;
        }

        .user-type-desc {
            font-size: 0.85rem;
            color: var(--gray-600);
        }

        /* Form Groups */
        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-row {
            display: flex;
            gap: 1rem;
        }

        .form-row .form-group {
            flex: 1;
            margin-bottom: 1.5rem;
        }

        label {
            display: block;
            font-weight: 600;
            color: var(--gray-800);
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        label i {
            color: var(--txila-orange);
            font-size: 0.9rem;
        }

        input, select {
            width: 100%;
            padding: 0.875rem 1rem;
            border: 2px solid var(--gray-200);
            border-radius: 12px;
            font-size: 0.95rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: var(--white);
            color: var(--gray-800);
        }

        input:focus, select:focus {
            outline: none;
            border-color: var(--txila-orange);
            box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
            transform: translateY(-1px);
        }

        input::placeholder {
            color: var(--gray-400);
        }

        .password-field {
            position: relative;
        }

        .password-toggle {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--gray-500);
            cursor: pointer;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            padding: 0.25rem;
            border-radius: 6px;
        }

        .password-toggle:hover {
            color: var(--txila-orange);
            background: rgba(255, 107, 0, 0.1);
        }

        /* Submit Button */
        .submit-button {
            width: 100%;
            padding: 1rem 2rem;
            background: linear-gradient(135deg, var(--txila-orange), var(--txila-orange-light));
            color: var(--white);
            border: none;
            border-radius: 15px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 1rem;
            position: relative;
            overflow: hidden;
        }

        .submit-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .submit-button:hover::before {
            left: 100%;
        }

        .submit-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
            background: linear-gradient(135deg, var(--txila-orange-dark), var(--txila-orange));
        }

        .submit-button:active {
            transform: translateY(0);
        }

        .submit-button.loading {
            opacity: 0.8;
            cursor: not-allowed;
        }

        /* Terms Link */
        .terms-link {
            text-align: center;
            margin-top: 1.5rem;
            font-size: 0.85rem;
            color: var(--gray-600);
        }

        .terms-link a {
            color: var(--txila-orange);
            text-decoration: none;
            font-weight: 600;
        }

        .terms-link a:hover {
            text-decoration: underline;
        }

        /* Mobile Styles */
        @media (max-width: 1024px) {
            .auth-container {
                border-radius: 0;
            }
            
            .info-panel {
                padding: 3rem;
            }
            
            .forms-panel {
                padding: 3rem 2rem;
            }
            
            .info-title {
                font-size: 2rem;
            }
            
            .info-subtitle {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 768px) {
            .back-link {
                top: 1rem;
                left: 1rem;
                padding: 0.5rem 1rem;
                font-size: 0.85rem;
            }
            
            /* Hide info panel on mobile */
            .info-panel {
                display: none;
            }
            
            .auth-container {
                display: block;
                margin: 0;
                border-radius: 0;
                min-height: 100vh;
            }
            
            .forms-panel {
                padding: 2rem 1.5rem;
                min-height: 100vh;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }
            
            .logo-section {
                margin-bottom: 2rem;
            }
            
            .logo-icon {
                width: 60px;
                height: 60px;
            }
            
            .logo-txila {
                font-size: 1.75rem;
            }
            
            .auth-tabs {
                margin-bottom: 1.5rem;
            }
            
            .tab-button {
                padding: 0.875rem 1rem;
                font-size: 0.9rem;
            }
            
            .user-type-selector {
                gap: 0.75rem;
            }
            
            .user-type {
                padding: 1.25rem 1rem;
            }
            
            .user-type-icon {
                font-size: 1.75rem;
            }
            
            .form-row {
                flex-direction: column;
                gap: 0;
            }
            
            .form-row .form-group {
                margin-bottom: 1.5rem;
            }
            
            input, select {
                padding: 1rem;
                font-size: 1rem;
            }
            
            .submit-button {
                padding: 1.25rem;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .forms-panel {
                padding: 1.5rem 1rem;
            }
            
            .user-type {
                padding: 1rem 0.75rem;
            }
            
            .user-type-title {
                font-size: 0.9rem;
            }
            
            .user-type-desc {
                font-size: 0.8rem;
            }
            
            input, select {
                padding: 0.875rem;
            }
            
            .form-group {
                margin-bottom: 1.25rem;
            }
        }

        /* Desktop Info Panel - Show only on larger screens */
        @media (min-width: 769px) {
            .info-panel {
                display: flex;
            }
        }

        /* Animations */
        @keyframes fadeInUp {
            from { 
                opacity: 0; 
                transform: translateY(30px); 
            }
            to { 
                opacity: 1; 
                transform: translateY(0); 
            }
        }

        @keyframes fadeInLeft {
            from { 
                opacity: 0; 
                transform: translateX(-30px); 
            }
            to { 
                opacity: 1; 
                transform: translateX(0); 
            }
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .animate-fade-in-up {
            animation: fadeInUp 0.6s ease-out forwards;
        }

        .animate-fade-in-left {
            animation: fadeInLeft 0.6s ease-out forwards;
        }

        .animate-pulse {
            animation: pulse 2s ease-in-out infinite;
        }

        /* Ripple Effect */
        .ripple {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: scale(0);
            animation: ripple 0.6s linear;
            pointer-events: none;
        }

        @keyframes ripple {
            to {
                transform: scale(4);
                opacity: 0;
            }
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--gray-100);
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(45deg, var(--txila-orange), var(--accent-purple));
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(45deg, var(--txila-orange-dark), var(--accent-purple));
        }
    
    /*-------------------------------------------painel de passageiro-----------------------------------------*/

.form-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .footer-content {
        text-align: center;
    }

    .footer-section {
        text-align: center;
    }

    .footer-logo-container {
        justify-content: center;
    }
}
