/* ============================================
   Tinder Clone - Stil Dosyası
   Responsive - Dikey & Yatay
   ============================================ */

:root {
    --primary: #fd297b;
    --primary-dark: #e0206a;
    --primary-light: #ff5a8e;
    --primary-gradient: linear-gradient(135deg, #fd297b 0%, #ff655b 100%);
    --secondary: #3b82f6;
    --success: #4ade80;
    --warning: #fbbf24;
    --error: #f87171;
    --error-dark: #dc2626;
    --bg: #f8f9fa;
    --bg-card: #ffffff;
    --bg-dark: #1a1a2e;
    --text: #1a1a2e;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --border-dark: #374151;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --header-h: 56px;
    --nav-h: 60px;
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
}

/* ============================================
   Auth Sayfaları
   ============================================ */

.auth-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: var(--bg-card);
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

.auth-logo {
    text-align: center;
    margin-bottom: 16px;
}

.auth-logo-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(253, 41, 123, 0.3);
}

.auth-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.auth-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg-card);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(253, 41, 123, 0.1);
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-textarea {
    resize: none;
    min-height: 60px;
    max-height: 80px;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(253, 41, 123, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 16px rgba(253, 41, 123, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(253, 41, 123, 0.05);
}

.btn-danger {
    background: var(--error);
    color: white;
}

.btn-gradient {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(253, 41, 123, 0.3);
}

.btn-full {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .btn {
    flex: 1;
}

/* ============================================
   Alerts
   ============================================ */

.alert {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.alert-error {
    background: rgba(248, 113, 113, 0.1);
    color: var(--error-dark);
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.alert-success {
    background: rgba(74, 222, 128, 0.1);
    color: #16a34a;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

/* ============================================
   Auth Extras
   ============================================ */

.auth-divider {
    text-align: center;
    margin: 14px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    background: var(--bg-card);
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 13px;
    position: relative;
}

.auth-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-forgot {
    text-align: center;
    color: var(--primary);
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.auth-language {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.lang-btn {
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.auth-terms {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 10px;
}

/* ============================================
   Progress Bar (Kayıt)
   ============================================ */

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    gap: 4px;
}

.progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
    flex-shrink: 0;
}

.progress-step.active {
    background: var(--primary);
    color: white;
}

.progress-step.done {
    background: var(--success);
    color: white;
}

.progress-line {
    width: 24px;
    height: 2px;
    background: var(--border);
    transition: background 0.3s;
}

.progress-line.active {
    background: var(--success);
}

.step-label {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}

.step-description {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-align: center;
}

/* ============================================
   Gender Select
   ============================================ */

.gender-select {
    display: flex;
    gap: 8px;
}

.gender-option {
    flex: 1;
    cursor: pointer;
}

.gender-option input {
    display: none;
}

.gender-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
}

.gender-option input:checked + .gender-label {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(253, 41, 123, 0.05);
}

/* ============================================
   Photo Preview
   ============================================ */

.photo-preview {
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
    border-radius: var(--radius);
    border: 2px dashed var(--border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-light);
    font-size: 12px;
}

/* ============================================
   Location Box
   ============================================ */

.location-box {
    text-align: center;
    padding: 24px;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.location-box.location-found {
    border-color: var(--success);
    background: rgba(74, 222, 128, 0.05);
}

.location-icon {
    color: var(--primary);
    margin-bottom: 12px;
}

#locationStatus {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   App Layout
   ============================================ */

.app-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: var(--header-h);
    padding-bottom: var(--nav-h);
}

/* ============================================
   App Header
   ============================================ */

.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.header-back {
    display: flex;
    align-items: center;
    color: var(--text);
    text-decoration: none;
}

.header-icons {
    display: flex;
    gap: 8px;
}

.header-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text);
    text-decoration: none;
    transition: background 0.2s;
}

.header-icon-btn:hover {
    background: var(--bg);
}

.badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ============================================
   Swipe Area
   ============================================ */

.swipe-area {
    flex: 1;
    position: relative;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
}

.swipe-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 32px);
    max-width: 400px;
    max-height: calc(100% - 8px);
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    cursor: grab;
    user-select: none;
    background: var(--bg-card);
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform, opacity;
    transform: translate(-50%, -50%);
}

.swipe-card.dragging {
    transition: none;
    cursor: grabbing;
}

.swipe-card.swipe-out-left {
    transform: translate(calc(-50% - 150%), -50%) rotate(-30deg) !important;
    opacity: 0;
}

.swipe-card.swipe-out-right {
    transform: translate(calc(-50% + 150%), -50%) rotate(30deg) !important;
    opacity: 0;
}

.swipe-card.swipe-out-up {
    transform: translate(-50%, calc(-50% - 150%)) !important;
    opacity: 0;
}

.card-photo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: white;
}

.card-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-name {
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.card-age {
    font-weight: 500;
}

.online-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    border: 2px solid white;
    flex-shrink: 0;
}

.online-dot-small {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--success);
    border: 2px solid white;
}

.card-location {
    font-size: 13px;
    margin-top: 4px;
    opacity: 0.85;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-distance {
    font-size: 14px;
    margin-top: 2px;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-bio {
    font-size: 14px;
    margin-top: 8px;
    opacity: 0.85;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-photo-dots {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 4px;
}

.photo-dot {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.3);
}

.photo-dot.active {
    background: white;
}

/* Like/Nope Badges */

.card-like-badge,
.card-nope-badge,
.card-superlike-badge {
    position: absolute;
    top: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.card-like-badge {
    right: 20px;
    border: 3px solid #4ade80;
}

.card-nope-badge {
    left: 20px;
    border: 3px solid #f87171;
}

.card-superlike-badge {
    bottom: 100px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid #3b82f6;
}

/* ============================================
   Action Bar
   ============================================ */

.action-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    max-width: 480px;
    margin: 0 auto;
}

.action-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--bg-card);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.action-btn:active {
    transform: scale(0.9);
}

.action-btn:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.action-rewind {
    color: #fbbf24;
}

.action-nope {
    width: 60px;
    height: 60px;
    color: var(--error);
}

.action-superlike {
    color: var(--secondary);
}

.action-like {
    width: 60px;
    height: 60px;
    color: var(--success);
}

.action-info {
    color: var(--primary);
}

.super-like-count {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secondary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Bottom Nav
   ============================================ */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    padding: 8px 8px;
    position: relative;
    transition: color 0.2s;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item:hover {
    color: var(--primary);
}

.nav-badge {
    position: absolute;
    top: 4px;
    right: 8px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ============================================
   No Profiles
   ============================================ */

.no-profiles,
.empty-state {
    text-align: center;
    padding: 40px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.no-profiles-icon,
.empty-icon {
    color: var(--border);
    margin-bottom: 16px;
}

.no-profiles h2,
.empty-state h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ============================================
   Match Modal
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.match-modal {
    width: 100%;
    max-width: 400px;
    padding: 24px;
}

.match-modal-content {
    text-align: center;
}

.match-title {
    font-size: 36px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.match-subtitle {
    color: white;
    font-size: 16px;
    margin-bottom: 24px;
}

.match-photos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.match-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 4px solid white;
}

.match-heart {
    color: var(--primary);
    animation: pulse 1s infinite;
}

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

.match-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============================================
   Profile Page
   ============================================ */

.profile-page,
.edit-page,
.settings-page,
.matches-page,
.messages-page,
.notifications-page {
    flex: 1;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 16px;
    padding-bottom: 80px;
}

.profile-hero {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    margin-bottom: 16px;
}

.profile-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

.profile-hero-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: white;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.profile-gender {
    font-size: 14px;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.profile-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.premium-days-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(253, 41, 123, 0.08), rgba(253, 41, 123, 0.04));
    border: 1px solid rgba(253, 41, 123, 0.15);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
}

.premium-days-banner svg {
    color: var(--primary);
    flex-shrink: 0;
}

.premium-days-banner strong {
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

.premium-days-extend {
    margin-left: auto;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.premium-days-extend:hover {
    text-decoration: underline;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 16px 8px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.profile-section {
    margin-bottom: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.photo-grid-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg);
}

.photo-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-grid-item.empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: 2px dashed var(--border);
}

.photo-empty-icon {
    color: var(--text-light);
}

.profile-bio-box {
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.profile-bio-box p {
    font-size: 14px;
    line-height: 1.6;
}

.text-muted {
    color: var(--text-muted);
}

.info-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: var(--text-muted);
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

/* ============================================
   Edit Page
   ============================================ */

.photo-edit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.photo-edit-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.photo-edit-preview {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
    border: 2px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.photo-url-input {
    font-size: 12px;
    padding: 8px;
}

.range-inputs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(253, 41, 123, 0.4);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(253, 41, 123, 0.4);
}

/* ============================================
   Matches Page
   ============================================ */

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.match-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.match-card:active {
    transform: scale(0.97);
}

.match-card-photo {
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    position: relative;
}

.match-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.match-card-info {
    padding: 12px;
}

.match-card-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.match-card-info p {
    font-size: 12px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-time {
    font-size: 11px;
    color: var(--text-light);
}

/* ============================================
   Messages Page
   ============================================ */

.conversation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.conversation-item:hover {
    background: var(--bg);
}

.conversation-item.unread {
    background: rgba(253, 41, 123, 0.03);
}

.conversation-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    position: relative;
}

.conversation-info {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.conversation-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.conversation-time {
    font-size: 12px;
    color: var(--text-light);
}

.conversation-preview {
    font-size: 14px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-badge {
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    flex-shrink: 0;
}

/* ============================================
   Chat Page
   ============================================ */

.chat-body {
    padding-bottom: 0;
}

.chat-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    z-index: 100;
}

.chat-header-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
}

.chat-header-text h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.chat-header-text span {
    font-size: 12px;
    color: var(--text-muted);
}

.chat-messages {
    flex: 1;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 16px;
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 80px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 100vh;
}

.message {
    display: flex;
    margin-bottom: 4px;
}

.message-mine {
    justify-content: flex-end;
}

.message-theirs {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.message-mine .message-bubble {
    background: var(--primary-gradient);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-theirs .message-bubble {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
    display: block;
}

.chat-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.chat-input-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    z-index: 100;
}

.chat-form {
    display: flex;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 24px;
    font-size: 14px;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s;
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.chat-send-btn:active {
    transform: scale(0.9);
}

/* Chat Media */
.chat-media-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}

.chat-media-btn:active {
    transform: scale(0.9);
    color: var(--primary);
}

.message-image {
    display: block;
    max-width: 100%;
    max-height: 240px;
    border-radius: 12px;
    margin-bottom: 4px;
    cursor: pointer;
    object-fit: cover;
}

.message-video {
    display: block;
    max-width: 100%;
    max-height: 280px;
    border-radius: 12px;
    margin-bottom: 4px;
    background: #000;
}

.message-bubble:has(.message-image),
.message-bubble:has(.message-video) {
    padding: 4px;
    overflow: hidden;
}

.chat-upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.chat-upload-content {
    background: var(--bg-card);
    padding: 24px 32px;
    border-radius: var(--radius);
    text-align: center;
}

.chat-upload-content p {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text);
}

.resim-buyut-container {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resim-buyut-container img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    object-fit: contain;
}

/* ============================================
   Notifications Page
   ============================================ */

.notification-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.notification-item.unread {
    background: rgba(253, 41, 123, 0.03);
}

.notification-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content p {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 2px;
}

.notification-time {
    font-size: 12px;
    color: var(--text-light);
}

.notification-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

/* ============================================
   Settings Page
   ============================================ */

.premium-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary);
}

.premium-list {
    list-style: none;
    margin-bottom: 16px;
}

.premium-list li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.premium-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

/* ============================================
   Dropdown
   ============================================ */

.dropdown-details {
    width: 100%;
}

.dropdown-details summary {
    list-style: none;
    cursor: pointer;
}

.dropdown-details summary::-webkit-details-marker {
    display: none;
}

.dropdown-menu {
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dropdown-item {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--bg-card);
    list-style: none;
    text-align: center;
}

.dropdown-item:hover {
    background: var(--bg);
}

.dropdown-danger {
    color: var(--error);
}

.report-form {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ============================================
   Responsive - Tablet & Desktop
   ============================================ */

@media (min-width: 768px) {
    .app-header,
    .bottom-nav,
    .chat-header,
    .chat-input-bar {
        max-width: 600px;
        left: 50%;
        transform: translateX(-50%);
    }

    .app-body {
        padding-top: 0;
    }

    .swipe-area {
        padding-top: calc(var(--header-h) + 16px);
    }
}

@media (min-width: 1024px) {
    .swipe-area {
        max-width: 420px;
    }

    .action-bar {
        max-width: 420px;
    }
}

/* ============================================
   Responsive - Landscape
   ============================================ */

@media (orientation: landscape) and (max-height: 500px) {
    :root {
        --header-h: 48px;
        --nav-h: 52px;
    }

    .swipe-area {
        padding: 8px;
    }

    .swipe-card {
        max-width: 280px;
        aspect-ratio: 3/4;
    }

    .action-btn {
        width: 44px;
        height: 44px;
    }

    .action-nope,
    .action-like {
        width: 52px;
        height: 52px;
    }

    .action-bar {
        padding: 8px;
        gap: 8px;
    }

    .profile-hero {
        aspect-ratio: 16/9;
    }
}

/* ============================================
   Responsive - Small Mobile
   ============================================ */

@media (max-width: 360px) {
    .auth-card {
        padding: 0;
    }

    .auth-title {
        font-size: 20px;
    }

    .card-name {
        font-size: 20px;
    }

    .match-card-info h3 {
        font-size: 13px;
    }

    .action-btn {
        width: 46px;
        height: 46px;
    }

    .action-nope,
    .action-like {
        width: 54px;
        height: 54px;
    }
}

/* ============================================
   Scrollbar
   ============================================ */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* ============================================
   Auth Header & Footer
   ============================================ */

.auth-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.auth-header-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    max-width: 420px;
    width: 100%;
}

.auth-header-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.auth-body {
    padding-top: 48px;
    padding-bottom: 60px;
}

.auth-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 20px;
    text-align: center;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.auth-footer p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.auth-footer a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-footer-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

.auth-footer-link:hover {
    opacity: 0.8;
}

.auth-footer-sep {
    color: var(--text-light);
    font-size: 14px;
}

.auth-footer-link.active {
    color: var(--text);
    font-weight: 700;
}

/* ============================================
   Photo Upload Area
   ============================================ */

.photo-upload-area {
    cursor: pointer;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
    transition: opacity 0.2s;
}

.photo-upload-area:hover {
    opacity: 0.85;
}

.photo-upload-area .photo-preview {
    border: 2px dashed var(--border);
    transition: border-color 0.2s;
}

.photo-upload-area:hover .photo-preview {
    border-color: var(--primary);
}

.photo-upload-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

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

/* ============================================
   Photo Edit (Profile Edit)
   ============================================ */

.photo-edit-preview {
    cursor: pointer;
    transition: border-color 0.2s, opacity 0.2s;
}

.photo-edit-preview:hover {
    border-color: var(--primary);
    opacity: 0.85;
}

.photo-remove-btn {
    font-size: 11px;
    padding: 4px 8px;
    border: 1px solid var(--error);
    border-radius: 6px;
    background: transparent;
    color: var(--error);
    cursor: pointer;
    text-align: center;
    width: 100%;
    transition: background 0.2s;
}

.photo-remove-btn:hover {
    background: rgba(248, 113, 113, 0.1);
}

/* ============================================
   Swipe Limit Bar
   ============================================ */

.swipe-limit-bar {
    max-width: 480px;
    margin: 0 auto;
    padding: 8px 16px;
    background: rgba(253, 41, 123, 0.06);
    border-bottom: 1px solid rgba(253, 41, 123, 0.1);
}

.swipe-limit-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
}

.swipe-limit-info svg {
    color: var(--primary);
    flex-shrink: 0;
}

.swipe-limit-info a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.swipe-limit-info a:hover {
    text-decoration: underline;
}

/* ============================================
   Mesafe Badge (Header)
   ============================================ */

.mesafe-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: var(--primary);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 8px;
    white-space: nowrap;
}

/* ============================================
   Mesafe Modal
   ============================================ */

.mesafe-modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    width: 100%;
    max-width: 360px;
    margin: 20px;
}

.mesafe-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    text-align: center;
}

.mesafe-modal-value {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.mesafe-slider {
    margin-bottom: 8px;
}

.mesafe-modal-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.mesafe-modal .btn {
    margin-bottom: 8px;
}

/* ============================================
   Limit Modal
   ============================================ */

.limit-modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    width: 100%;
    max-width: 360px;
    margin: 20px;
    text-align: center;
}

.limit-modal-icon {
    margin-bottom: 16px;
}

.limit-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.limit-modal-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
    line-height: 1.5;
}

.limit-modal-sub {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.limit-modal .btn {
    margin-bottom: 8px;
}

.premium-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.premium-link:hover {
    text-decoration: underline;
}

/* ============================================
   Settings Page - Single Form
   ============================================ */

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.settings-save-btn {
    margin: 0 0 24px;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
}

.age-range-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.age-input {
    width: 80px !important;
    text-align: center;
}

.age-range-separator {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 600;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

/* ============================================
   Filter Modal - Chips
   ============================================ */

.filter-modal {
    max-width: 400px;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.filter-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    cursor: pointer;
}

.filter-chip input {
    display: none;
}

.filter-chip span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid var(--border);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s;
    user-select: none;
}

.filter-chip input:checked + span {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    font-weight: 600;
}

.filter-chip span:hover {
    border-color: var(--primary);
}

/* ============================================
   Reklam Modal (Tinder tarzı)
   ============================================ */

.reklam-modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    max-height: 100vh;
}

#reklamModal {
    padding: 16px;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    #reklamModal {
        padding: 0;
    }
    .reklam-modal {
        max-width: 100%;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
    }
}

.reklam-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.reklam-modal-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reklam-modal-close {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    transition: background 0.2s;
}

.reklam-modal-close:hover {
    background: var(--bg);
}

.reklam-modal-content {
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    overflow-y: auto;
}

.reklam-loading {
    padding: 40px;
}

.reklam-resim {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 0;
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
    flex: 1;
}

.reklam-baslik {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 16px 16px 8px 16px;
}

.reklam-aciklama {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 16px 16px 16px;
}

.reklam-modal-footer {
    padding: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ============================================
   Yönetim Paneli
   ============================================ */

.yonetim-body {
    background: #f0f2f5;
    min-height: 100vh;
}

.yonetim-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: var(--primary-gradient);
}

.yonetim-login-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    text-align: center;
}

.yonetim-login-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: var(--primary-gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(253, 41, 123, 0.4);
}

.yonetim-login h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.yonetim-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.yonetim-hint {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-light);
}

.yonetim-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.yonetim-header-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.yonetim-header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.yonetim-logout {
    padding: 8px 16px;
    font-size: 13px;
}

.yonetim-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
}

.yonetim-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.yonetim-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

.yonetim-subtitle-h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.yonetim-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.yonetim-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius);
    transition: transform 0.2s;
}

.yonetim-stat-card:hover {
    transform: translateY(-2px);
}

.yonetim-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.yonetim-stat-info {
    display: flex;
    flex-direction: column;
}

.yonetim-stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
}

.yonetim-stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.yonetim-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.yonetim-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.form-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.yonetim-table-wrap {
    overflow-x: auto;
}

.yonetim-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.yonetim-table th {
    text-align: left;
    padding: 12px 16px;
    background: var(--bg);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.yonetim-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.yonetim-table tr:hover td {
    background: var(--bg);
}

.yonetim-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.yonetim-badge-success {
    background: rgba(74, 222, 128, 0.15);
    color: #16a34a;
}

.yonetim-badge-danger {
    background: rgba(248, 113, 113, 0.15);
    color: #dc2626;
}

.yonetim-badge-premium {
    background: rgba(168, 85, 247, 0.15);
    color: #9333ea;
}

.yonetim-badge-muted {
    background: var(--bg);
    color: var(--text-muted);
}

.btn-sm {
    display: inline-block;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    margin: 2px;
}

.btn-sm:hover {
    opacity: 0.85;
}

.btn-sm.btn-success {
    background: #16a34a;
    color: white;
}

.btn-sm.btn-warning {
    background: #fbbf24;
    color: white;
}

.btn-sm.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-sm.btn-info {
    background: #3b82f6;
    color: white;
}

/* ============================================
   Yönetim Tab Navigation
   ============================================ */

.yonetim-tabs {
    position: sticky;
    top: 0;
    z-index: 99;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.yonetim-tabs-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.yonetim-tab {
    display: inline-block;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.yonetim-tab:hover {
    color: var(--primary);
}

.yonetim-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ============================================
   Yönetim Pagination
   ============================================ */

.yonetim-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
}

.yonetim-page-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: background 0.2s, border-color 0.2s;
}

.yonetim-page-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.yonetim-page-info {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 768px) {
    .yonetim-stats {
        grid-template-columns: 1fr 1fr;
    }

    .yonetim-form-grid {
        grid-template-columns: 1fr;
    }

    .yonetim-page {
        padding: 16px 12px;
    }

    .yonetim-section {
        padding: 16px;
    }
}

/* ============================================
   Profile Photo Grid (Clickable)
   ============================================ */

.photo-grid-clickable {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.photo-grid-clickable:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.photo-grid-clickable.empty:hover {
    background: rgba(253, 41, 123, 0.05);
    border-color: var(--primary);
}

.photo-grid-clickable.empty:hover .photo-empty-icon {
    color: var(--primary);
}

.photo-grid-clickable::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.photo-grid-clickable:hover::after {
    opacity: 1;
}

.photo-grid-clickable:not(.empty)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.photo-grid-clickable.empty::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* ============================================
   Photo Upload Overlay
   ============================================ */

.photo-upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.photo-upload-overlay-content {
    text-align: center;
    color: white;
}

.photo-upload-overlay-content .photo-upload-spinner {
    margin: 0 auto 16px;
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.photo-upload-overlay-content p {
    font-size: 15px;
    font-weight: 500;
}

/* ============================================
   Match Card Actions (Unmatch/Block)
   ============================================ */

.match-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    padding: 0 16px 12px;
}

.match-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    cursor: pointer;
    transition: all 0.2s;
}

.match-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.match-action-remove {
    color: var(--text-muted);
    border-color: var(--border);
}

.match-action-remove:hover {
    color: var(--error);
    border-color: var(--error);
    background: rgba(248, 113, 113, 0.05);
}

.match-action-block {
    color: var(--text-muted);
    border-color: var(--border);
}

.match-action-block:hover {
    color: #dc2626;
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

/* ============================================
   Eşleşme Aksiyon Popup
   ============================================ */

.eslesme-popup {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 360px;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    animation: modalSlideUp 0.3s ease;
}

.eslesme-popup-photo {
    width: 100%;
    aspect-ratio: 1;
    max-height: 280px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg);
}

.eslesme-popup-isim {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    padding: 16px 20px 8px;
}

.eslesme-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 20px 24px;
}

.eslesme-popup-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.eslesme-popup-actions .btn svg {
    flex-shrink: 0;
}

/* ============================================
   Card Photo Navigation + Profile Link
   ============================================ */

.card-photo-tap-area {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 120px;
    z-index: 1;
    cursor: pointer;
}

.card-nav-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
}

.card-nav-prev,
.card-nav-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.4);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.2s, transform 0.2s;
    pointer-events: auto;
    margin: 0 8px;
}

.card-nav-prev:hover,
.card-nav-next:hover {
    background: rgba(0,0,0,0.6);
    transform: scale(1.1);
}

.card-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 10px;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    backdrop-filter: blur(4px);
    margin-top: 8px;
    transition: background 0.2s;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.card-profile-link:hover {
    background: rgba(0,0,0,0.6);
}

/* ============================================
   Photo Gallery Modal
   ============================================ */

.galeri-modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.galeri-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.galeri-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.galeri-close {
    background: var(--bg);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-muted);
    transition: background 0.2s;
}

.galeri-close:hover {
    background: var(--border);
}

.galeri-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.galeri-photo {
    width: 100%;
    aspect-ratio: 3/4;
    background-size: cover;
    background-position: center;
    background-color: var(--bg);
}

.galeri-prev,
.galeri-next {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
}

.galeri-prev {
    left: 12px;
}

.galeri-next {
    right: 12px;
}

.galeri-prev:hover,
.galeri-next:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.1);
}

.galeri-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 0;
}

.galeri-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: background 0.2s, transform 0.2s;
}

.galeri-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.galeri-modal .btn {
    margin: 0 20px 20px;
}

/* ============================================
   3D Premium Design Touches
   ============================================ */

.swipe-card {
    box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
    transform: translate(-50%, -50%);
}

.swipe-card.dragging {
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.btn-primary,
.btn-gradient {
    box-shadow: 0 4px 16px rgba(253, 41, 123, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover,
.btn-gradient:hover {
    box-shadow: 0 6px 20px rgba(253, 41, 123, 0.45), inset 0 1px 0 rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

.profile-section {
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
}

.auth-card {
    box-shadow: none;
}

.action-btn {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.5);
    transition: all 0.2s;
}

.action-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.action-btn:active {
    transform: scale(0.95);
}

.bottom-nav {
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    backdrop-filter: blur(10px);
}

.nav-item {
    transition: transform 0.2s;
}

.nav-item:hover {
    transform: translateY(-2px);
}

.nav-item.active {
    color: var(--primary);
}

.match-card {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.premium-card {
    background: linear-gradient(135deg, rgba(253, 41, 123, 0.05) 0%, rgba(255, 101, 91, 0.05) 100%);
    border: 1px solid rgba(253, 41, 123, 0.15);
    box-shadow: 0 4px 16px rgba(253, 41, 123, 0.08);
}

.filter-chip input:checked + span {
    box-shadow: 0 4px 12px rgba(253, 41, 123, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

/* Responsive improvements */
@media (min-width: 768px) {
    .swipe-area {
        max-width: 420px;
        margin: 0 auto;
    }

    .action-bar {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .card-nav-prev,
    .card-nav-next {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .galeri-prev,
    .galeri-next {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}

/* ============================================
   Premium Purchase Popup
   ============================================ */

.premium-modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 360px;
    margin: 20px;
    padding: 24px 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.premium-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-muted);
    transition: background 0.2s;
    z-index: 2;
}

.premium-close:hover {
    background: var(--border);
}

.premium-modal-header {
    text-align: center;
    margin-bottom: 18px;
}

.premium-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(253, 41, 123, 0.3);
}

.premium-modal-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.premium-modal-header p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.premium-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 14px;
    background: rgba(253,41,123,0.04);
    border-radius: var(--radius);
    border: 1px solid rgba(253,41,123,0.1);
}

.premium-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}

.premium-feature svg {
    color: var(--primary);
    flex-shrink: 0;
}

.premium-paketler {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.premium-paket {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    background: var(--bg-card);
}

.premium-paket:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.premium-paket.selected {
    border-color: var(--primary);
    background: var(--primary-gradient);
    box-shadow: 0 6px 20px rgba(253, 41, 123, 0.3);
    transform: translateY(-2px);
}

.premium-paket.selected .premium-paket-sure {
    color: white;
}

.premium-paket-sure {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.5px;
}

.premium-satin-al-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   Tema Sistemi
   ============================================ */

/* Dark / Neon Tema */
[data-theme="dark"] {
    --primary: #ff006e;
    --primary-dark: #c70058;
    --primary-light: #ff3d8b;
    --primary-gradient: linear-gradient(135deg, #ff006e 0%, #00f5ff 100%);
    --secondary: #00f5ff;
    --bg: #0a0a14;
    --bg-card: #16162a;
    --bg-dark: #0a0a14;
    --text: #e8e8f0;
    --text-muted: #8888aa;
    --text-light: #555577;
    --border: #2a2a44;
    --border-dark: #3a3a55;
    --shadow: 0 2px 8px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
}

[data-theme="dark"] .app-body,
[data-theme="dark"] .auth-body {
    background: #0a0a14;
}

[data-theme="dark"] .app-header,
[data-theme="dark"] .yonetim-header,
[data-theme="dark"] .auth-header {
    background: rgba(22,22,42,0.95);
    border-bottom-color: #2a2a44;
}

[data-theme="dark"] .auth-footer {
    background: rgba(22,22,42,0.95);
    border-top-color: #2a2a44;
}

[data-theme="dark"] .auth-header-title {
    color: #e8e8f0;
}

[data-theme="dark"] .bottom-nav {
    background: rgba(22,22,42,0.95);
    border-top-color: #2a2a44;
}

[data-theme="dark"] .nav-item.active {
    color: #ff006e;
    text-shadow: 0 0 8px rgba(255,0,110,0.5);
}

[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-gradient {
    box-shadow: 0 4px 16px rgba(255,0,110,0.4), 0 0 20px rgba(0,245,255,0.15);
}

[data-theme="dark"] .form-input {
    background: #1e1e36;
    border-color: #2a2a44;
    color: #e8e8f0;
}

[data-theme="dark"] .form-input:focus {
    border-color: #ff006e;
    box-shadow: 0 0 0 3px rgba(255,0,110,0.15), 0 0 12px rgba(255,0,110,0.2);
}

[data-theme="dark"] .swipe-card {
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px rgba(255,0,110,0.1);
}

[data-theme="dark"] .profile-section,
[data-theme="dark"] .info-card {
    background: #16162a;
    border-color: #2a2a44;
}

[data-theme="dark"] .alert-error {
    background: rgba(248,113,113,0.15);
    color: #f87171;
}

[data-theme="dark"] .alert-success {
    background: rgba(74,222,128,0.15);
    color: #4ade80;
}

[data-theme="dark"] .yonetim-body {
    background: #0a0a14;
}

[data-theme="dark"] .yonetim-section {
    background: #16162a;
}

[data-theme="dark"] .yonetim-stat-card {
    background: #1e1e36;
}

[data-theme="dark"] .yonetim-table th {
    background: #1e1e36;
    color: #8888aa;
}

[data-theme="dark"] .yonetim-table tr:hover td {
    background: #1e1e36;
}

[data-theme="dark"] .auth-divider span {
    background: #16162a;
}

[data-theme="dark"] .filter-chip span {
    border-color: #2a2a44;
    color: #8888aa;
}

[data-theme="dark"] .match-card {
    background: #16162a;
}

[data-theme="dark"] .conversation-item {
    background: #16162a;
}

[data-theme="dark"] .chat-header {
    background: #16162a;
    border-bottom-color: #2a2a44;
}

[data-theme="dark"] .chat-input-bar {
    background: #16162a;
    border-top-color: #2a2a44;
}

[data-theme="dark"] .message-mine .message-bubble {
    background: linear-gradient(135deg, #ff006e, #c70058);
}

[data-theme="dark"] .message-theirs .message-bubble {
    background: #2a2a44;
    color: #e8e8f0;
}

[data-theme="dark"] .chat-messages {
    background: #0a0a14;
}

[data-theme="dark"] .reklam-modal,
[data-theme="dark"] .premium-modal,
[data-theme="dark"] .eslesme-popup,
[data-theme="dark"] .galeri-modal,
[data-theme="dark"] .limit-modal,
[data-theme="dark"] .mesafe-modal {
    background: #16162a;
}

/* Ocean Tema */
[data-theme="ocean"] {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --primary-gradient: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    --bg: #f0f9ff;
    --bg-card: #ffffff;
    --text: #0c4a6e;
    --text-muted: #0369a1;
    --text-light: #7dd3fc;
    --border: #bae6fd;
}

[data-theme="ocean"] .app-body,
[data-theme="ocean"] .auth-body {
    background: #f0f9ff;
}

[data-theme="ocean"] .auth-header {
    background: rgba(255,255,255,0.95);
}

[data-theme="ocean"] .auth-footer {
    background: rgba(255,255,255,0.95);
}

/* Sunset Tema */
[data-theme="sunset"] {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fb923c;
    --primary-gradient: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
    --bg: #fff7ed;
    --bg-card: #ffffff;
    --text: #7c2d12;
    --text-muted: #c2410c;
    --text-light: #fdba74;
    --border: #fed7aa;
}

[data-theme="sunset"] .app-body,
[data-theme="sunset"] .auth-body {
    background: #fff7ed;
}

[data-theme="sunset"] .auth-header {
    background: rgba(255,255,255,0.95);
}

[data-theme="sunset"] .auth-footer {
    background: rgba(255,255,255,0.95);
}

/* Forest Tema */
[data-theme="forest"] {
    --primary: #16a34a;
    --primary-dark: #15803d;
    --primary-light: #4ade80;
    --primary-gradient: linear-gradient(135deg, #16a34a 0%, #059669 100%);
    --bg: #f0fdf4;
    --bg-card: #ffffff;
    --text: #14532d;
    --text-muted: #16a34a;
    --text-light: #86efac;
    --border: #bbf7d0;
}

[data-theme="forest"] .app-body,
[data-theme="forest"] .auth-body {
    background: #f0fdf4;
}

[data-theme="forest"] .auth-header {
    background: rgba(255,255,255,0.95);
}

[data-theme="forest"] .auth-footer {
    background: rgba(255,255,255,0.95);
}

/* ============================================
   Bekleyenler (Pending Likes) Section
   ============================================ */

.bekleyenler-section {
    padding: 16px;
    margin-bottom: 8px;
}

.bekleyenler-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bekleyenler-badge {
    background: var(--primary-gradient);
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 12px;
}

.bekleyenler-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.bekleyenler-list::-webkit-scrollbar {
    height: 4px;
}

.bekleyenler-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.bekleyenler-card {
    flex-shrink: 0;
    width: 140px;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.bekleyenler-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.bekleyenler-card-photo {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg);
}

.bekleyenler-card-info {
    padding: 10px 12px;
}

.bekleyenler-card-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.bekleyenler-card-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.bekleyenler-btn {
    flex: 1;
    padding: 6px 8px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    text-align: center;
}

.bekleyenler-btn-like {
    background: var(--primary-gradient);
    color: white;
}

.bekleyenler-btn-premium {
    background: var(--primary-gradient);
    color: white;
}

.bekleyenler-btn-pass {
    background: var(--border);
    color: var(--text-muted);
}

.bekleyenler-locked {
    position: relative;
}

.bekleyenler-locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: white;
    text-align: center;
    padding: 12px;
    box-sizing: border-box;
}

.bekleyenler-locked-overlay svg {
    width: 32px;
    height: 32px;
}

.bekleyenler-locked-text {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.bekleyenler-locked-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
}

/* ============================================
   İlk Kez Kullanıcı Tutorial
   ============================================ */

.tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.tutorial-content {
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.tutorial-step {
    animation: tutorialFadeIn 0.4s ease;
}

@keyframes tutorialFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tutorial-icon-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.tutorial-icon-like,
.tutorial-icon-nope {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid;
}

.tutorial-icon-like {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.tutorial-icon-nope {
    border-color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}

.tutorial-arrow-right {
    animation: arrowRightPulse 1.5s ease-in-out infinite;
}

.tutorial-arrow-left {
    animation: arrowLeftPulse 1.5s ease-in-out infinite;
}

@keyframes arrowRightPulse {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(10px); opacity: 1; }
}

@keyframes arrowLeftPulse {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(-10px); opacity: 1; }
}

.tutorial-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.tutorial-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 24px;
}

.tutorial-demo-area {
    position: relative;
    width: 200px;
    height: 260px;
    margin: 0 auto 24px;
    perspective: 1000px;
}

.tutorial-demo-card {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.6s ease, opacity 0.6s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tutorial-demo-photo {
    opacity: 0.3;
}

.tutorial-demo-like-badge,
.tutorial-demo-nope-badge {
    position: absolute;
    top: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tutorial-demo-like-badge {
    right: 20px;
    transform: rotate(-15deg);
}

.tutorial-demo-nope-badge {
    left: 20px;
    transform: rotate(15deg);
}

.tutorial-demo-card.demo-swipe-right {
    transform: translateX(150px) rotate(20deg);
    opacity: 0;
}

.tutorial-demo-card.demo-swipe-left {
    transform: translateX(-150px) rotate(-20deg);
    opacity: 0;
}

.tutorial-demo-card.demo-reset {
    transform: translateX(0) rotate(0);
    opacity: 1;
}

.tutorial-btn {
    max-width: 280px;
    margin: 0 auto;
}

/* ============================================
   Alert Popup Animations
   ============================================ */

@keyframes alertFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes alertFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes alertSlideUp {
    from { transform: translateY(20px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.alert-popup-btn:hover {
    opacity: 0.85;
}

.alert-popup-btn:active {
    transform: scale(0.97);
}
