 :root {
            --primary-blue: #1e40af;
            --primary-light: #3b82f6;
            --secondary-purple: #7c3aed;
            --success-green: #10b981;
            --warning-orange: #f59e0b;
            --danger-red: #ef4444;
            --dark-navy: #0f172a;
            --dark-slate: #1e293b;
            --medium-slate: #334155;
            --light-slate: #64748b;
            --light-gray: #f8fafc;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: linear-gradient(135deg, var(--dark-navy) 0%, var(--dark-slate) 50%, var(--medium-slate) 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        /* Animated background elements */
        .bg-animation {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }

        .bg-circle {
            position: absolute;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(124, 58, 237, 0.1));
            animation: float 6s ease-in-out infinite;
        }

        .bg-circle:nth-child(1) {
            width: 300px;
            height: 300px;
            top: -150px;
            left: -150px;
            animation-delay: 0s;
        }

        .bg-circle:nth-child(2) {
            width: 200px;
            height: 200px;
            top: 50%;
            right: -100px;
            animation-delay: 2s;
        }

        .bg-circle:nth-child(3) {
            width: 150px;
            height: 150px;
            bottom: -75px;
            left: 30%;
            animation-delay: 4s;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
                opacity: 0.5;
            }
            50% {
                transform: translateY(-30px) rotate(180deg);
                opacity: 0.8;
            }
        }

        /* Login container */
        .login-container {
            position: relative;
            z-index: 10;
            width: 100%;
            max-width: 450px;
            padding: 0 20px;
        }

        .login-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 24px;
            padding: 3rem 2.5rem;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
            position: relative;
            overflow: hidden;
            animation: slideUp 0.8s ease-out;
        }

        .login-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
          
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Logo and branding */
        .brand-section {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .brand-logo {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-size: 2rem;
            color: white;
            box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
            }
            50% {
                transform: scale(1.05);
                box-shadow: 0 15px 40px rgba(30, 64, 175, 0.4);
            }
        }

        .brand-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--dark-slate);
            margin-bottom: 0.5rem;
        }

        .brand-subtitle {
            color: var(--light-slate);
            font-size: 0.95rem;
            font-weight: 500;
        }

        /* Form styling */
        .login-form {
            margin-bottom: 1.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        .form-label {
            display: block;
            font-weight: 600;
            color: var(--dark-slate);
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }

        .form-control-modern {
            width: 100%;
            padding: 1rem 1rem 1rem 3rem;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 0.95rem;
            background: rgba(248, 250, 252, 0.8);
            transition: all 0.3s ease;
            position: relative;
        }

        .form-control-modern:focus {
            outline: none;
            border-color: var(--primary-light);
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
            background: white;
        }

        .form-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--light-slate);
            font-size: 1.1rem;
            transition: all 0.3s ease;
        }

        .form-group:focus-within .form-icon {
            color: var(--primary-light);
        }

        .password-toggle {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--light-slate);
            cursor: pointer;
            padding: 0.25rem;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .password-toggle:hover {
            color: var(--primary-light);
            background: rgba(59, 130, 246, 0.1);
        }

        /* Remember me and forgot password */
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            font-size: 0.9rem;
        }

        .form-check-modern {
            display: flex;
            align-items: center;
        }

        .form-check-modern input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin-right: 0.5rem;
            accent-color: var(--primary-light);
        }

        .form-check-modern label {
            color: var(--dark-slate);
            font-weight: 500;
            cursor: pointer;
        }

        .forgot-link {
            color: var(--primary-light);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .forgot-link:hover {
            color: var(--primary-blue);
            text-decoration: underline;
        }

        /* Login button */
        .btn-login {
            width: 100%;
            background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
            border: none;
            color: white;
            padding: 1rem 2rem;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            margin-bottom: 1.5rem;
        }

        .btn-login::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;
        }

        .btn-login:hover::before {
            left: 100%;
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 15px 35px rgba(30, 64, 175, 0.4);
        }

        .btn-login:active {
            transform: translateY(0);
        }

        .btn-login:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        /* Loading spinner */
        .login-spinner {
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-right: 0.5rem;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Divider */
        .divider {
            position: relative;
            text-align: center;
            margin: 1.5rem 0;
        }

        .divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: #e2e8f0;
        }

        .divider span {
            background: rgba(255, 255, 255, 0.95);
            padding: 0 1rem;
            color: var(--light-slate);
            font-size: 0.85rem;
            font-weight: 500;
        }

        /* Social login */
        .social-login {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .btn-social {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            background: white;
            color: var(--dark-slate);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .btn-social:hover {
            border-color: var(--primary-light);
            background: rgba(59, 130, 246, 0.05);
            color: var(--primary-light);
            transform: translateY(-1px);
        }

        .btn-social i {
            margin-right: 0.5rem;
            font-size: 1.1rem;
        }

        .btn-google:hover {
            border-color: #db4437;
            background: rgba(219, 68, 55, 0.05);
            color: #db4437;
        }

        .btn-microsoft:hover {
            border-color: #00a1f1;
            background: rgba(0, 161, 241, 0.05);
            color: #00a1f1;
        }

        /* Footer */
        .login-footer {
            text-align: center;
            padding-top: 1rem;
            border-top: 1px solid #e2e8f0;
        }

        .footer-text {
            color: var(--light-slate);
            font-size: 0.85rem;
            margin-bottom: 0.5rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .footer-link {
            color: var(--primary-light);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .footer-link:hover {
            color: var(--primary-blue);
            text-decoration: underline;
        }

        /* Error message */
        .error-message {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: var(--danger-red);
            padding: 0.75rem 1rem;
            border-radius: 8px;
            font-size: 0.9rem;
            margin-bottom: 1rem;
            display: none;
            animation: shake 0.5s ease-in-out;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }

        /* Success message */
        .success-message {
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: var(--success-green);
            padding: 0.75rem 1rem;
            border-radius: 8px;
            font-size: 0.9rem;
            margin-bottom: 1rem;
            display: none;
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .login-container {
                max-width: 100%;
                padding: 0 15px;
            }

            .login-card {
                padding: 2rem 1.5rem;
                border-radius: 16px;
                margin: 1rem 0;
            }

            .brand-logo {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }

            .brand-title {
                font-size: 1.5rem;
            }

            .social-login {
                grid-template-columns: 1fr;
            }

            .footer-links {
                flex-direction: column;
                gap: 0.75rem;
            }
        }

        @media (max-width: 480px) {
            .form-options {
                flex-direction: column;
                gap: 1rem;
                align-items: flex-start;
            }
        }

        /* Security indicator */
        .security-badge {
            display: inline-flex;
            align-items: center;
            background: rgba(16, 185, 129, 0.1);
            color: var(--success-green);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-top: 0.5rem;
        }

        .security-badge i {
            margin-right: 0.25rem;
            font-size: 0.7rem;
        }

        /* Demo credentials */
        .demo-credentials {
            background: rgba(124, 58, 237, 0.05);
            border: 1px solid rgba(124, 58, 237, 0.2);
            border-radius: 10px;
            padding: 1rem;
            margin-bottom: 1.5rem;
        }

        .demo-credentials h6 {
            color: var(--secondary-purple);
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .demo-credentials p {
            font-size: 0.8rem;
            color: var(--light-slate);
            margin: 0.25rem 0;
        }

        .demo-credentials strong {
            color: var(--dark-slate);
        }







        /* Brand logo'da resim varsa background ve animation kaldır */
.brand-logo.brand-logo-image {
    background: none;
    animation: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 4px;
}

/* Brand logo resmi */
.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}
/* =================================================================== */
/* ============= ENTEGRASYON SEÇİM ALANI İÇİN YENİ STİLLER ============= */
/* =================================================================== */

/* Ana sarmalayıcı */
.unique-integrator-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Alan etiketi (Label) */
.unique-integrator-label {
    display: block;
    font-weight: 600;
    color: #334155; /* var(--dark-slate) */
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.unique-integrator-label i {
    margin-right: 0.5rem;
    color: #3b82f6; /* var(--primary-light) */
    font-size: 1rem;
}

/* Select kutusunun kendisi */
.unique-integrator-select {
    appearance: none; /* Tarayıcı varsayılan okunu kaldır */
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 1rem 2.5rem 1rem 1rem; /* Sağda ok için boşluk */
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    background-color: #f8fafc;
    color: #1e293b; /* var(--dark-slate) */
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M5%208l5%205%205-5z%22%20fill%3D%22%2364748b%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25em 1.25em;
}

/* Odaklanma (Focus) durumu */
.unique-integrator-select:focus {
    outline: none;
    border-color: #3b82f6; /* var(--primary-light) */
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background-color: #ffffff;
}

/* Seçenekler (Option) */
.unique-integrator-select option {
    padding: 0.5rem;
    font-weight: 500;
}

/* Seçilen entegratör bilgi kutusu */
.unique-integrator-infobox {
    display: none; /* Başlangıçta gizli */
    align-items: center;
    background: #f1f5f9; /* Açık gri arka plan */
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #475569; /* var(--medium-slate) */
    font-weight: 500;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.4s ease-out;
}

/* Bilgi kutusunu göstermek için kullanılan sınıf */
.unique-integrator-infobox.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.unique-integrator-infobox i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
    color: #3b82f6; /* var(--primary-light) */
    font-size: 1rem;
}


/* =================================================================== */
/* ======== KAYIT OL / ŞİFREMİ UNUTTUM BAĞLANTILARI İÇİN STİLLER ======== */
/* =================================================================== */

.form-actions-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.register-link, .forgot-password-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

.register-link:hover, .forgot-password-link:hover {
    text-decoration: underline;
}

.register-link {
    color: var(--primary-light);
    font-weight: 600;
}

.register-link i {
    margin-right: 0.5rem;
}

.forgot-password-link {
    color: var(--light-slate);
    font-weight: 500;
}

.forgot-password-link:hover {
    color: var(--primary-blue);
}

.register-link-disabled {
    color: var(--light-slate);
    font-weight: 500;
    text-decoration: line-through;
    cursor: not-allowed;
    font-style: italic;
}


/* =================================================================== */
/* ============= STANDART PANEL BUTON ENTEGRASYONU ============= */
/* =================================================================== */

/* Ana Giriş/Doğrulama Butonu (Mevcut stilin geliştirilmesi) */
.btn-login {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.4);
    color: white;
    text-decoration: none;
}

.btn-login .btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn-login.loading .btn-text {
    display: none;
}

.btn-login.loading .btn-spinner {
    display: inline-block;
}

/* Yeni Kod Gönder Butonu (2FA Sayfası için) */
.btn-resend {
    background: linear-gradient(135deg, var(--medium-slate), var(--light-slate));
}

.btn-resend:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(100, 116, 139, 0.3);
}

/* İptal Et Butonu (2FA Sayfası için) */
.btn-cancel {
    background: linear-gradient(135deg, var(--danger-red), #ff7b7b);
}

.btn-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

/* Geri Dön Butonu (2FA Sayfası için) */
.btn-back {
    background: transparent;
    border: 2px solid var(--light-slate);
    color: var(--dark-slate);
}

.btn-back:hover {
    background: var(--light-slate);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(100, 116, 139, 0.2);
}