
        .right-panel {
            width: 460px;
            min-width: 400px;
        }

        .login-card {
            flex: 1;
            background: rgba(39, 62, 114, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 24px;
            padding: 40px 30px 30px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow-y: auto;
        }

        .login-header {
            text-align: center;
            margin-bottom: 28px;
            width: 100%;
        }

        .login-header h1 {
            color: #fff;
            font-size: 24px;
            font-weight: 700;
            line-height: 1.45;
        }

        .login-header h1 span {
            font-weight: 800;
        }

        /* Form */
        .login-form {
            width: 100%;
        }

        .input-group {
            position: relative;
            margin-bottom: 14px;
        }

        .input-group i {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #7c8db5;
            font-size: 16px;
            z-index: 2;
        }

        .input-group input {
            width: 100%;
            padding: 14px 16px 14px 48px;
            background: rgba(150, 170, 200, 0.35);
            border: 1px solid rgba(255, 255, 255, 0.22);
            border-radius: 8px;
            font-size: 14px;
            font-family: 'Inter', sans-serif;
            color: #fff;
            outline: none;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .input-group input::placeholder {
            color: #c8d0df;
        }

        .input-group input:focus {
            border-color: rgba(255, 255, 255, 0.4);
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
        }

        .login-btn {
            width: 100%;
            padding: 14px;
            background: #e74c3c;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            font-family: 'Inter', sans-serif;
            cursor: pointer;
            transition: background 0.3s, transform 0.15s, box-shadow 0.3s;
            margin-top: 6px;
            margin-bottom: 14px;
        }

        .login-btn:hover {
            background: #c0392b;
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(231, 76, 60, 0.35);
        }

        .login-btn:active {
            transform: translateY(0);
        }

        /* Beni hatırla / Şifremi unuttum */
        .options-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 7px;
            cursor: pointer;
        }

        .remember-me input[type="checkbox"] {
            width: 15px;
            height: 15px;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            border: 2px solid #8896b0;
            border-radius: 3px;
            background: transparent;
            position: relative;
            flex-shrink: 0;
        }

        .remember-me input[type="checkbox"]:checked {
            background: #e74c3c;
            border-color: #e74c3c;
        }

        .remember-me input[type="checkbox"]:checked::after {
            content: '\2713';
            color: #fff;
            font-size: 10px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .remember-me label {
            color: #d1d5db;
            font-size: 13px;
            cursor: pointer;
        }

        .forgot-password {
            color: #d1d5db;
            font-size: 13px;
            text-decoration: none;
            transition: color 0.3s;
        }

        .forgot-password:hover {
            color: #e74c3c;
        }

        /* Hesap oluştur */
        .register-section {
            text-align: center;
            margin-bottom: 24px;
            width: 100%;
        }

        .register-section p {
            color: #d1d5db;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .register-section p span {
            color: #fff;
            font-weight: 700;
        }

        .register-btn {
            display: inline-block;
            padding: 10px 28px;
            background: #27ae60;
            color: #fff;
            border: none;
            border-radius: 30px;
            font-size: 13px;
            font-weight: 600;
            font-family: 'Inter', sans-serif;
            cursor: pointer;
            text-decoration: none;
            transition: background 0.3s, transform 0.15s;
        }

        .register-btn:hover {
            background: #219a52;
            transform: translateY(-1px);
        }

        /* KVKK */
        .kvkk-text {
            color: #9ca3af;
            font-size: 11px;
            text-align: center;
            line-height: 1.7;
            margin-bottom: 16px;
            padding: 0 4px;
        }

        .kvkk-text a {
            color: #60a5fa;
            text-decoration: none;
        }

        .kvkk-text a:hover {
            text-decoration: underline;
        }

        /* Alt linkler */
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 28px;
            margin-bottom: 16px;
            width: 100%;
        }

        .footer-links a {
            color: #d1d5db;
            font-size: 12px;
            text-decoration: underline;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: #e74c3c;
        }

        /* Sosyal medya */
        .social-icons {
            display: flex;
            gap: 12px;
            justify-content: center;
        }

        .social-icons a {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #d1d5db;
            font-size: 13px;
            text-decoration: none;
            transition: background 0.3s, color 0.3s, transform 0.15s;
        }

        .social-icons a:hover {
            background: #e74c3c;
            color: #fff;
            transform: translateY(-2px);
        }

        /* Mobil */
        @media (max-width: 900px) {
            .login-card {
                padding: 30px 22px 26px;
            }
        }

        @media (max-width: 480px) {
            .login-card {
                padding: 26px 18px 22px;
                border-radius: 18px;
            }

            .login-header h1 {
                font-size: 21px;
            }

            .footer-links {
                gap: 14px;
            }

            .footer-links a {
                font-size: 11px;
            }
        }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    overflow: hidden;
}

/* ========== SAYFA WRAPPER ========== */
.page-wrapper {
    display: flex;
    height: 100vh;
    width: 100%;
    background: url('/public/giris-ekrani.jpg') center center / cover no-repeat;
    position: relative;
}

.page-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

/* ========== SOL PANEL ========== */
.left-panel {
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.left-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 780px;
}

.logo-container {
    margin-bottom: 28px;
}

.logo-container img {
    max-width: 420px;
    width: 100%;
    height: auto;
}

.welcome-text h2 {
    font-size: 26px;
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 8px;
}

.welcome-text p {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 70px;
}

/* ========== DUYURU SLIDER ========== */
.slider-wrapper {
    width: 755px;
    max-width: 100%;
    position: relative;
}

.announcement-slider {
    width: 100%;
    height: 170px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    position: relative;
}

.slider-track {
    display: flex;
    width: 200%;
    height: 170px;
    transition: transform 0.5s ease-in-out;
}

.slider-slide {
    width: 50%;
    height: 170px;
    flex-shrink: 0;
    overflow: hidden;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

/* Slider Oklar */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slider-arrow.prev {
    left: -18px;
}

.slider-arrow.next {
    right: -18px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
    transition: background 0.3s;
}

.slider-dot.active {
    background: #c0392b;
}

/* ========== SAÄ PANEL ========== */
.right-panel {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    padding: 24px 20px;
}

/* ========== MOBÄ°L UYUMLULUK ========== */
@media (max-width: 900px) {
    body {
        overflow-y: auto;
        height: auto;
    }

    .page-wrapper {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .left-panel {
        padding: 30px 20px;
    }

    .right-panel {
        width: 100% !important;
        min-width: unset !important;
        padding: 16px 14px;
    }

    .logo-container img {
        max-width: 240px;
    }

    .welcome-text h2 {
        font-size: 22px;
    }

    .welcome-text p {
        font-size: 14px;
    }

    .slider-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .announcement-slider,
    .slider-track,
    .slider-slide {
        height: auto;
    }

    .slider-slide img {
        height: auto;
        aspect-ratio: 755 / 170;
    }
}

@media (max-width: 480px) {
    .left-panel {
        padding: 24px 14px;
    }

    .right-panel {
        padding: 12px 10px;
    }

    .logo-container img {
        max-width: 190px;
    }

    .welcome-text h2 {
        font-size: 19px;
    }

    .slider-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .slider-arrow.prev {
        left: -6px;
    }

    .slider-arrow.next {
        right: -6px;
    }
}
/* ========== LOGIN HATA MESAJLARI (MODERN TASARIM) ========== */

/* Hata metni tasarımı */
.error-message {
    color: #ff6b6b; /* Modern kırmızı */
    font-size: 11px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    margin-top: 6px;
    margin-bottom: 12px; /* Bir sonraki kutudan biraz uzaklaşsın */
    margin-left: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
    animation: slideIn 0.3s ease-out;
}

/* Hata mesajının başına ikon ekler */
.error-message::before {
    content: '\f071'; /* Ünlem İkonu */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
}

/* Hatalı Input Çerçevesi */
.input-group input.has-error {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15) !important;
    background: rgba(255, 107, 107, 0.05) !important;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
.registration-success-alert {
    background: rgba(39, 174, 96, 0.15); 
    border: 1px solid rgba(39, 174, 96, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 4px;
    margin-top:5px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    width: 100%;
    animation: slideDown 0.5s ease-out;
}

.alert-icon {
    width: 40px;
    height: 40px;
    background: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alert-icon i {
    color: #fff;
    font-size: 20px;
}

.alert-content h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}

.alert-content p {
    color: #d1d5db;
    font-size: 12px;
    line-height: 1.4;
}

.close-alert {
    position: absolute;
    right: 12px;
    top: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s;
}

.close-alert:hover {
    color: #fff;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
  .right-panel {
            width: 520px;
            min-width: 460px;
        }

        .register-card {
            flex: 1;
            background: rgba(39, 62, 114, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 24px;
            padding: 36px 28px 30px;
            display: flex;
            flex-direction: column;
            align-items: center;
            overflow-y: auto;
        }

        .register-header {
            width: 100%;
            margin-bottom: 20px;
        }

        .register-header h1 {
            color: #fff;
            font-size: 24px;
            font-weight: 800;
            margin-bottom: 6px;
        }

        .register-header p {
            color: #9ca3af;
            font-size: 13px;
        }

        /* Form */
        .register-form {
            width: 100%;
        }

        .form-row {
            display: flex;
            gap: 12px;
            margin-bottom: 12px;
        }

        .form-row.full {
            display: block;
            margin-bottom: 12px;
        }

        .form-group {
            flex: 1;
        }

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 13px 16px;
            background: rgba(150, 170, 200, 0.35);
            border: 1px solid rgba(255, 255, 255, 0.22);
            border-radius: 8px;
            font-size: 13px;
            font-family: 'Inter', sans-serif;
            color: #fff;
            outline: none;
            transition: border-color 0.3s, box-shadow 0.3s;
            appearance: none;
            -webkit-appearance: none;
        }

        .form-group input::placeholder {
            color: #c8d0df;
        }

        .form-group input:focus,
        .form-group select:focus {
            border-color: rgba(255, 255, 255, 0.4);
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
        }

        /* Select dropdown */
        .select-wrapper {
            position: relative;
        }

        .select-wrapper::after {
            content: '\f078';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #a0aec0;
            font-size: 11px;
            pointer-events: none;
        }

        .form-group select {
            cursor: pointer;
            color: #a0aec0;
            padding-right: 40px;
        }

        .form-group select.selected {
            color: #fff;
        }

        .form-group select option {
            background: #1a1f35;
            color: #fff;
        }

        /* Checkboxlar */
        .checkbox-group {
            margin-top: 8px;
            margin-bottom: 18px;
        }

        .checkbox-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 10px;
            cursor: pointer;
        }

        .checkbox-item input[type="checkbox"] {
            width: 16px;
            height: 16px;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            border: 2px solid #8896b0;
            border-radius: 3px;
            background: transparent;
            position: relative;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .checkbox-item input[type="checkbox"]:checked {
            background: #e74c3c;
            border-color: #e74c3c;
        }

        .checkbox-item input[type="checkbox"]:checked::after {
            content: '\2713';
            color: #fff;
            font-size: 10px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .checkbox-item label {
            color: #d1d5db;
            font-size: 12px;
            line-height: 1.5;
            cursor: pointer;
        }

        .checkbox-item label a {
            color: #e74c3c;
            text-decoration: none;
            font-weight: 600;
        }

        .checkbox-item label a:hover {
            text-decoration: underline;
        }

        .submit-btn {
            width: 100%;
            padding: 14px;
            background: rgba(150, 170, 200, 0.35);
            border: 1px solid rgba(255, 255, 255, 0.22);
            color: #fff;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 700;
            font-family: 'Inter', sans-serif;
            cursor: pointer;
            letter-spacing: 1px;
            transition: background 0.3s, transform 0.15s, box-shadow 0.3s;
        }

        .submit-btn:hover {
            background: rgba(150, 170, 200, 0.5);
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        /* Giriş yap linki */
        .login-link {
            text-align: center;
            margin-top: 16px;
            width: 100%;
        }

        .login-link p {
            color: #9ca3af;
            font-size: 13px;
        }

        .login-link a {
            color: #e74c3c;
            font-weight: 600;
            text-decoration: none;
        }

        .login-link a:hover {
            text-decoration: underline;
        }
        @media (max-width: 900px) {
            .register-card {
                padding: 30px 22px 26px;
            }
        }

        @media (max-width: 480px) {
            .register-card {
                padding: 26px 18px 22px;
                border-radius: 18px;
            }

            .register-header h1 {
                font-size: 21px;
            }

            .form-row {
                flex-direction: column;
                gap: 12px;
            }
        }
  
        .error-text {
            color: #ff6b6b; 
            font-size: 11px;
            font-weight: 600; 
            font-family: 'Inter', sans-serif;
            margin-top: 5px;
            margin-left: 2px;
            display: flex;
            align-items: center;
            gap: 6px; 
            line-height: 1.2;
            animation: slideIn 0.3s ease-out; 
        }
        
        .error-text::before {
            content: '\f071'; 
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 10px;
        }
        
        .form-group input.has-error,
        .form-group select.has-error {
            border-color: #ff6b6b !important;
            box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15) !important;
            background: rgba(255, 107, 107, 0.05) !important;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-5px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        /* RESET PASSWORD ÖZEL */
.reset-card {
    flex: 1; background: rgba(39, 62, 114, 0.95); backdrop-filter: blur(10px);
    border-radius: 24px; padding: 40px 30px; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.reset-header { text-align: center; margin-bottom: 10px; width: 100%; }
.reset-header .reset-icon {
    width: 64px; height: 64px; border-radius: 50%; background: rgba(150, 170, 200, 0.2);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.reset-header .reset-icon i { font-size: 26px; color: #e74c3c; }
.reset-header h1 { color: #fff; font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.reset-header p { color: #9ca3af; font-size: 13px; line-height: 1.6; }

.reset-form { width: 100%; margin-top: 28px; }
.reset-btn {
    width: 100%; padding: 14px; background: #e74c3c; color: #fff; border: none;
    border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; margin-bottom: 20px;
}

/* Başarılı mesajı */
.success-message { text-align: center; width: 100%; margin-top: 28px; }
.success-message .success-icon {
    width: 64px; height: 64px; border-radius: 50%; background: rgba(39, 174, 96, 0.2);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.success-message .success-icon i { font-size: 28px; color: #27ae60; }
.success-message h2 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 10px; }

.back-link { text-align: center; width: 100%; margin-top: 10px; }
.back-link a { color: #9ca3af; font-size: 13px; text-decoration: none; transition: 0.3s; }
.back-link a:hover { color: #e74c3c; }
/* RESET-PASSWORD ÖZEL (Zaten varsa eklemeyin) */
.input-group input[readonly] {
    background: rgba(15, 23, 42, 0.5);
    color: #94a3b8;
    cursor: not-allowed;
    border-color: rgba(255,255,255,0.1);
}

.input-group input:not([readonly]):focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}