﻿/* ================================================
   YK GAYRİMENKUL - Auth & Üyelik CSS
   ================================================ */

/* ─── Auth Sayfa Temel ───────────────────────────── */
.auth-page {
    background: var(--black);
    min-height: 100vh;
}

.auth-main {
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.auth-main-centered {
    align-items: center;
    padding: 100px 20px 40px;
}

/* ─── Auth Container ─────────────────────────────── */
.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: calc(100vh - 80px);
}

.auth-container-single {
    max-width: 900px;
    margin: 0 auto;
    min-height: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.auth-container-narrow {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
    grid-template-columns: 1fr;
    min-height: auto;
}

/* ─── Sol Panel ──────────────────────────────────── */
.auth-left {
    background: linear-gradient(145deg, #0a1a05 0%, #1a3a0a 50%, #0d2006 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(140, 198, 63, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.auth-left-content {
    position: relative;
    z-index: 1;
    max-width: 380px;
}

.auth-logo {
    width: 140px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(140, 198, 63, 0.3));
}

.auth-brand {
    margin-bottom: 10px;
}

.auth-left-content h2 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.3;
}

.auth-left-content p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    font-size: 14px;
}

.benefit-item i {
    width: 32px;
    height: 32px;
    background: rgba(140, 198, 63, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 14px;
    flex-shrink: 0;
}

/* ─── Sağ Panel ──────────────────────────────────── */
.auth-right {
    background: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 40px;
}

.auth-card {
    width: 100%;
    max-width: 480px;
}

.auth-card-header {
    margin-bottom: 30px;
}

.auth-card-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--white);
}

.auth-card-header p {
    color: var(--text-gray);
    font-size: 14px;
}

.auth-card-header a {
    color: var(--primary-green);
    font-weight: 600;
}

.auth-card-header a:hover {
    text-decoration: underline;
}

/* ─── Form Grupları ──────────────────────────────── */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
}

.required {
    color: #ef4444;
    margin-left: 2px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #666;
    font-size: 14px;
    z-index: 1;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 13px 45px 13px 40px;
    background: var(--black);
    border: 1.5px solid #2a2a2a;
    border-radius: 10px;
    color: var(--white);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.25s ease;
    outline: none;
}

.input-wrapper input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(140, 198, 63, 0.1);
}

.input-wrapper input.input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.input-wrapper input.input-success {
    border-color: var(--primary-green);
}

.input-wrapper input::placeholder {
    color: #444;
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    padding: 5px;
    font-size: 14px;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: var(--primary-green);
}

.field-error {
    display: block;
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    min-height: 16px;
}

/* ─── Şifre Gücü ─────────────────────────────────── */
.strength-bar-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.strength-bar-track {
    flex: 1;
    height: 4px;
    background: #2a2a2a;
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
}

.strength-label {
    font-size: 12px;
    font-weight: 600;
    min-width: 70px;
    text-align: right;
}

/* ─── Şifre Kuralları ────────────────────────────── */
.password-rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 10px;
}

.pwd-rule {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #555;
    transition: color 0.2s;
}

.pwd-rule.passed {
    color: var(--primary-green);
}

.pwd-rule.failed i {
    color: #ef4444;
}

.pwd-rule i {
    font-size: 12px;
}

/* ─── CAPTCHA ─────────────────────────────────────── */
.captcha-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.captcha-question {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(140, 198, 63, 0.08);
    border: 1px solid rgba(140, 198, 63, 0.2);
    border-radius: 10px;
    padding: 14px 16px;
}

.captcha-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 2px;
    flex: 1;
    font-family: 'Courier New', monospace;
}

.captcha-refresh {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
    transition: all 0.2s;
    border-radius: 5px;
}

.captcha-refresh:hover {
    color: var(--primary-green);
    transform: rotate(180deg);
}

/* ─── Checkbox ───────────────────────────────────── */
.checkbox-group {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #3a3a3a;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: var(--black);
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '✓';
    font-size: 11px;
    color: var(--black);
    font-weight: bold;
}

.modal-link {
    color: var(--primary-green);
    text-decoration: underline;
    cursor: pointer;
}

/* ─── Submit Butonu ──────────────────────────────── */
.auth-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-green);
    color: var(--black);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    text-decoration: none;
}

.auth-submit-btn:hover:not(:disabled) {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(140, 198, 63, 0.35);
}

.auth-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.danger-btn {
    background: #ef4444 !important;
    color: white !important;
}

.danger-btn:hover:not(:disabled) {
    background: #dc2626 !important;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.35) !important;
}

/* ─── Spinner ────────────────────────────────────── */
.btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-top-color: var(--black);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ─── Alert / Bildirim ───────────────────────────── */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.auth-alert i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.auth-alert strong {
    display: block;
    margin-bottom: 4px;
}

.auth-alert-success {
    background: rgba(140, 198, 63, 0.1);
    border: 1px solid rgba(140, 198, 63, 0.3);
    color: var(--white);
}

.auth-alert-success i {
    color: var(--primary-green);
}

.auth-alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--white);
}

.auth-alert-error i {
    color: #ef4444;
}

.auth-alert-warning {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: var(--white);
}

.auth-alert-warning i {
    color: #eab308;
}

/* ─── Alt Aksiyonlar ─────────────────────────────── */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    color: #444;
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #2a2a2a;
}

.auth-alt-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-alt-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(140, 198, 63, 0.08);
    border: 1px solid rgba(140, 198, 63, 0.2);
    border-radius: 10px;
    color: var(--primary-green);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
}

.auth-alt-btn:hover {
    background: rgba(140, 198, 63, 0.15);
    transform: translateY(-1px);
}

.forgot-link {
    color: var(--primary-green) !important;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.resend-btn {
    background: none;
    border: 1px solid #eab308;
    color: #eab308;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    margin-top: 8px;
    font-family: inherit;
    transition: all 0.2s;
}

.resend-btn:hover {
    background: rgba(234, 179, 8, 0.1);
}

/* ─── Modal ──────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    display: none;
}

.modal-backdrop.open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 8999;
}

.modal-content {
    background: var(--dark-gray);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    border: 1px solid #2a2a2a;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(20px);
    transition: transform 0.25s ease;
}

.modal-overlay.open .modal-content {
    transform: translateY(0);
}

.modal-content-sm {
    max-width: 400px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #2a2a2a;
}

.modal-header h3 {
    font-size: 18px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: var(--primary-green);
}

.modal-close {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--white);
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
}

.modal-body h4 {
    color: var(--primary-green);
    margin: 20px 0 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #2a2a2a;
}

.modal-accept-btn {
    width: 100%;
    padding: 13px;
    background: var(--primary-green);
    color: var(--black);
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: inherit;
}

.modal-accept-btn:hover {
    background: var(--dark-green);
}

.modal-cancel-btn {
    flex: 1;
    padding: 13px;
    background: #2a2a2a;
    color: var(--text-gray);
    border: none;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.modal-cancel-btn:hover {
    background: #3a3a3a;
    color: var(--white);
}

/* ─── Doğrulama Sayfası ──────────────────────────── */
.verify-container {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}

.verify-card {
    background: var(--dark-gray);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid #2a2a2a;
}

.verify-card h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.verify-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

.verify-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
}

.verify-icon-loading {
    background: rgba(140, 198, 63, 0.1);
    border: 2px solid rgba(140, 198, 63, 0.3);
}

.verify-icon-success {
    background: rgba(140, 198, 63, 0.1);
    color: var(--primary-green);
}

.verify-icon-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.verify-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(140, 198, 63, 0.2);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ─── Adım Göstergesi ────────────────────────────── */
.steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 35px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2a2a2a;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
}

.step.active .step-circle {
    background: var(--primary-green);
    color: var(--black);
    box-shadow: 0 0 0 4px rgba(140, 198, 63, 0.2);
}

.step.done .step-circle {
    background: rgba(140, 198, 63, 0.3);
    color: var(--primary-green);
}

.step span {
    font-size: 11px;
    color: #555;
    white-space: nowrap;
}

.step.active span {
    color: var(--primary-green);
}

.step-line {
    flex: 1;
    height: 2px;
    background: #2a2a2a;
    max-width: 50px;
    margin-bottom: 18px;
}

/* ─── Header Auth Butonları ──────────────────────── */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.auth-btn {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    text-decoration: none;
}

.auth-btn-login {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid #333;
}

.auth-btn-login:hover {
    color: var(--white);
    border-color: #555;
    background: #1a1a1a;
}

.auth-btn-register {
    background: var(--primary-green);
    color: var(--black);
    border: 1px solid var(--primary-green);
}

.auth-btn-register:hover {
    background: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(140, 198, 63, 0.3);
}

/* ─── Kullanıcı Menüsü ───────────────────────────── */
.user-menu {
    position: relative;
}

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 30px;
    background: rgba(140, 198, 63, 0.08);
    border: 1px solid rgba(140, 198, 63, 0.2);
    transition: all 0.2s;
}

.user-avatar-btn:hover {
    background: rgba(140, 198, 63, 0.15);
}

.user-avatar-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-green);
}

.user-avatar-initials {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-green);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.user-displayname {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-chevron {
    color: #666;
    font-size: 10px;
    transition: transform 0.2s;
}

.user-chevron.rotated {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--dark-gray);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    min-width: 220px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 2000;
}

.user-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-info {
    padding: 15px 16px;
}

.user-dropdown-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 3px;
}

.user-dropdown-email {
    font-size: 12px;
    color: #666;
}

.user-dropdown-divider {
    border: none;
    border-top: 1px solid #2a2a2a;
    margin: 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-gray);
    font-size: 14px;
    transition: all 0.15s;
    text-decoration: none;
}

.user-dropdown-item:hover {
    background: rgba(140, 198, 63, 0.08);
    color: var(--white);
}

.user-dropdown-item i {
    width: 16px;
    color: #555;
}

.user-dropdown-item:hover i {
    color: var(--primary-green);
}

.logout-btn {
    border-radius: 0 0 12px 12px;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #ef4444 !important;
}

.logout-btn:hover i {
    color: #ef4444 !important;
}

/* ─── Profil Sayfası ─────────────────────────────── */
.profile-main {
    padding-top: 80px;
    min-height: 100vh;
    background: var(--black);
}

.profile-hero {
    background: linear-gradient(135deg, #0d1a05 0%, #1a3a0a 100%);
    padding: 40px 50px;
    border-bottom: 1px solid #1a2a0a;
}

.profile-hero-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--primary-green);
    color: var(--black);
    font-size: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(140, 198, 63, 0.5);
    overflow: hidden;
    position: relative;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    color: var(--black);
    border: 2px solid var(--black);
    transition: all 0.2s;
}

.avatar-upload-btn:hover {
    transform: scale(1.1);
    background: var(--dark-green);
}

.profile-hero-info h1 {
    font-size: 26px;
    margin-bottom: 5px;
}

/* ─── Profil İçerik Layout ───────────────────────── */
.profile-content {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 240px);
}

.profile-sidebar {
    background: var(--dark-gray);
    border-right: 1px solid #1a1a1a;
    padding: 30px 0;
}

.profile-nav {
    display: flex;
    flex-direction: column;
}

.profile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 25px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 14px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    font-family: inherit;
}

.profile-nav-item:hover {
    background: rgba(140, 198, 63, 0.05);
    color: var(--white);
}

.profile-nav-item.active {
    background: rgba(140, 198, 63, 0.08);
    color: var(--primary-green);
    border-left-color: var(--primary-green);
}

.profile-nav-item i {
    width: 16px;
}

.profile-nav-danger {
    color: #ef4444 !important;
    margin-top: auto;
    border-top: 1px solid #1a1a1a;
}

.profile-nav-danger:hover {
    background: rgba(239, 68, 68, 0.05) !important;
}

.profile-panels {
    padding: 35px 40px;
    background: var(--black);
}

.profile-panel {
    display: none;
    animation: fadeIn 0.2s ease;
}

.profile-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #1a1a1a;
}

.panel-header h2 {
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.panel-header h2 i {
    color: var(--primary-green);
}

/* ─── Oturumlar ─────────────────────────────────── */
.session-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: var(--dark-gray);
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid #1a1a1a;
    transition: border-color 0.2s;
}

.session-item:hover {
    border-color: #2a2a2a;
}

.session-current {
    border-color: rgba(140, 198, 63, 0.2) !important;
    background: rgba(140, 198, 63, 0.03);
}

.session-icon {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    flex-shrink: 0;
}

.session-info {
    flex: 1;
    min-width: 0;
}

.session-device {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-badge {
    background: rgba(140, 198, 63, 0.15);
    color: var(--primary-green);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.session-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

.session-ua {
    font-size: 11px;
    color: #444;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.session-end-btn {
    background: none;
    border: 1px solid #2a2a2a;
    color: #666;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: inherit;
}

.session-end-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.session-end-current:hover {
    border-color: #eab308;
    color: #eab308;
    background: rgba(234, 179, 8, 0.05);
}

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 992px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-left {
        padding: 40px 30px;
        min-height: auto;
    }

    .auth-right {
        padding: 35px 25px;
    }

    .profile-content {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        padding: 15px 0;
        border-right: none;
        border-bottom: 1px solid #1a1a1a;
    }

    .profile-nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .profile-nav-item {
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
        padding: 12px 20px;
    }

    .profile-nav-item.active {
        border-left-color: transparent;
        border-bottom-color: var(--primary-green);
    }

    .profile-panels {
        padding: 25px 20px;
    }

    .auth-buttons {
        display: none;
    }
}

@media (max-width: 600px) {
    .password-rules {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 0;
    }

    .profile-hero {
        padding: 30px 20px;
    }
}
