/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-main: #5b3dfc;
    --bg-main2: #6b49ff;
    --card-bg: #6f52ff;
    --card-bg2: #4b2ccf;
    --text-main: #ffffff;
    --text-muted: #d4d4ff;
    --accent-green: #46eb8d;
    --accent-purple-dark: #211246;
    --progress-bg: rgba(255, 255, 255, 0.15);
    --progress-fill: linear-gradient(90deg, #46eb8d, #9af48f);
    --shadow-soft: 0 24px 60px rgba(10, 13, 58, 0.65);
    --border-soft: rgba(255, 255, 255, 0.16);
}

body {
    min-height: 100vh;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background: radial-gradient(circle at top left, #7954ff, #3d2aff);
    color: var(--text-main);

    /* Sadece yatay ortala, dikey ortalama YOK */
    display: flex;
    justify-content: center;
    align-items: flex-start;     /* ← center DEĞİL, flex-start */

    /* Üstten ve alttan boşluk ver, böylece sayfa yine “ortada” gibi durur */
    padding: 200px 16px 80px;
    margin: 0;
}

/* PAGE WRAP */
.page-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;     /* yatay ortalama */
}


/* TOP BAR */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.16em;
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.top-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* CURRENCY SWITCHER */
.currency-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 999px;
    padding: 4px 6px 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
}

.currency-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

.currency-btn {
    border: none;
    outline: none;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px;
    cursor: pointer;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.currency-btn.active {
    background: #ffffff;
    color: #4b2ccf;
    transform: translateY(-1px);
}

/* TOP NAV BUTTONS */
.top-nav {
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* yamuk kartlar */
.nav-pill {
    position: relative;
    padding: 12px 32px;
    border-radius: 18px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffffff;
    background: rgba(9, 12, 28, 0.95); /* koyu lacivert */
    border: 1px solid rgba(0, 0, 0, 0.7);
    box-shadow: 0 14px 18px rgba(0, 0, 0, 0.45);
    transform: skewX(-8deg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.nav-pill span {
    transform: skewX(8deg); /* yazıyı düzleştir */
}

.nav-pill:hover {
    transform: skewX(-8deg) translateY(-2px);
    box-shadow: 0 18px 26px rgba(0, 0, 0, 0.6);
}

.nav-pill.active {
    background: rgba(255, 255, 255, 0.95);
    color: #111827;
    border-color: rgba(255, 255, 255, 0.95);
}

/* MAIN LAYOUT */
.main-layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

/* LEFT PANEL */
.left-panel {
    flex: 1.15;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.title-highlight {
    color: #ffd93b;
}

.subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 420px;
}

/* (form-grid, stat vs artık kullanılmıyor ama dursun) */
.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stats-row {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.stat {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-width: 150px;
}

.stat-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.stat-value {
    font-size: 15px;
    font-weight: 600;
}

/* RIGHT PANEL */
.right-panel {
    flex: 1;
    display: flex;
    align-items: center;
}

.goal-card {
    width: 100%;
    border-radius: 32px;
    padding: 20px 20px 22px;
    background: radial-gradient(circle at top left, #7c5cff, #4b2ccf);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
}

/* PHONE FRAME */
.phone-frame {
    background: linear-gradient(145deg, #38216b, #1c1036);
    border-radius: 26px;
    padding: 10px;
    position: relative;
    margin-bottom: 16px;
}

.phone-inner {
    background: radial-gradient(circle at top, #302d74, #090719);
    border-radius: 20px;
    padding: 18px;
    min-height: 170px;
    position: relative;
    overflow: hidden;
}

/* CAR IMAGE */
.car-image {
    width: 100%;
    max-width: 260px;
    display: block;
    margin: 24px auto 0;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.9));
    object-fit: contain;
}

/* küçük ışık efektleri */
.light-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #ffc73a;
    box-shadow: 0 0 10px #ffc73a;
}

.light-dot-1 {
    top: 32px;
    left: 40px;
}
.light-dot-2 {
    top: 52px;
    right: 60px;
}
.light-dot-3 {
    top: 74px;
    right: 32px;
}

/* PROGRESS */
.progress-section {
    margin-top: 4px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
}

/* ========== PROGRESS BAR ========== */

.progress-track {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: var(--progress-bg);
    overflow: visible; /* EMOJİ DIŞARI ÇIKABİLSİN */
    position: relative;
}


/* Bar’ın kendisi */
.progress-fill {
    position: relative;              /* EMOJİ İÇİN ÖNEMLİ */
    height: 100%;
    width: 0%;
    background: var(--progress-fill);
    border-radius: inherit;
    transition: width 0.25s ease-out;
}

/* Bar ucundaki 💸 emojisi */
.progress-fill::after {
    content: "💸";
    position: absolute;
    right: -18px;                    /* bar ucundan biraz dışarı */
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
    animation: moneyFloat 1.6s infinite ease-in-out;
    pointer-events: none;
}

/* Hafif zıplama animasyonu */
@keyframes moneyFloat {
    0%   { transform: translateY(-50%) translateX(0); }
    50%  { transform: translateY(-60%) translateX(2px); }
    100% { transform: translateY(-50%) translateX(0); }
}

.display-note {
    margin-top: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

/* HAMBURGER BUTTON (MOBIL) */
.menu-toggle {
    width: 38px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.25);
    display: none; /* desktop'ta gizli */
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Menü açıkken X animasyonu */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* MOBIL SIDEBAR */
.mobile-sidebar {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: none;
    justify-content: flex-end;
    z-index: 50;
}

.mobile-sidebar.open {
    display: flex;
}

.mobile-sidebar-panel {
    width: 260px;
    max-width: 80%;
    background: #020617;
    padding: 20px 18px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
    transform: translateX(100%);
    animation: sidebarSlideIn 0.22s forwards ease-out;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@keyframes sidebarSlideIn {
    to {
        transform: translateX(0);
    }
}

.mobile-close {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: #e5e7eb;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    margin-bottom: 10px;
}

.mobile-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e5e7eb;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.9);
}

.mobile-link:hover {
    background: rgba(37, 99, 235, 0.9);
}

/* RESPONSIVE */
@media (max-width: 880px) {
    .main-layout {
        flex-direction: column;
    }

    .right-panel {
        order: -1;
        margin-bottom: 16px;
    }

    .goal-card {
        margin-bottom: 0;
    }

    /* mobilde top-nav gizli, hamburger açık */
    .top-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 600px) {
    body {
        padding: 24px 10px;
    }

    .title {
        font-size: 28px;
    }

    .goal-card {
        border-radius: 24px;
    }

    .phone-inner {
        min-height: 150px;
    }
}

@media (min-width: 881px) {
    .menu-toggle {
        display: none;
    }

    .mobile-sidebar {
        display: none !important;
    }
}

/* ===================== */
/* CHAT LAYOUT & STYLES  */
/* ===================== */

.chat-layout {
    align-items: stretch;
}

/* sol taraf: başlık + username alanı */
.chat-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

/* sağ taraf: chat kartı */
.chat-right {
    align-items: stretch;
}

/* CHAT kartı (sağdaki) */
.chat-card {
    width: 100%;
    border-radius: 28px;
    padding: 14px 14px 16px;
    background: rgba(9, 12, 28, 0.96);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(15, 23, 42, 0.9);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Kullanıcı adı kutusu (sol panel) */
.chat-username-box {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 18px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.chat-username-box label {
    font-size: 11px;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.chat-username-row {
    display: flex;
    gap: 8px;
}

.chat-username-row input {
    flex: 1;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 6px 12px;
    font-size: 13px;
    background: rgba(15, 23, 42, 0.7);
    color: #fff;
}

.chat-username-row button {
    border-radius: 999px;
    border: none;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #ffffff;
    color: #4b2ccf;
}

.chat-username-hint {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

.chat-current-user {
    font-size: 13px;
}

.change-username-btn {
    margin-left: 8px;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: #fff;
    cursor: pointer;
}

/* MESAJ ALANI */
.chat-messages {
    flex: 1;
    min-height: 180px;
    max-height: 260px;
    overflow-y: auto;
    padding: 8px 6px;
    border-radius: 20px;
    background: radial-gradient(circle at top left,
        rgba(17, 24, 39, 0.85),
        rgba(2, 6, 23, 0.7)
    );
    border: 1px solid rgba(15, 23, 42, 0.7);
}

/* scrollbar */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}
.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.85);
    border-radius: 999px;
}

/* her mesaj satırı */
.chat-message-row {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

/* NFT avatar */
.chat-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    margin-right: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.9);
}

/* mesaj baloncuğu */
.chat-message-bubble {
    max-width: 100%;
    background: rgba(15, 23, 42, 0.75);
    border-radius: 16px;
    padding: 6px 9px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    backdrop-filter: blur(4px);
}

/* üst satır: username + saat */
.chat-message-header {
    display: flex;
    align-items: center;
    gap: 6px;              /* isim ile saat arası boşluk */
    justify-content: flex-start;
}

/* normal kullanıcı adı */
.chat-username {
    font-size: 12px;
    font-weight: 600;
    color: #e5e7eb;
}

/* SENİN kullanıcı adın (chat.js class ekliyor) */
.chat-username-self {
    color: #ffd93b;        /* senin istediğin sarı */
}

/* saat */
.chat-time {
    font-size: 10px;
    color: #9ca3af;
    opacity: 0.9;
}

/* mesaj texti */
.chat-text {
    font-size: 13px;
    line-height: 1.4;
    color: #f9fafb;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* MESAJ YAZMA ALANI */
.chat-input-row {
    margin-top: 6px;
    display: flex;
    gap: 8px;
}

.chat-input-row textarea {
    flex: 1;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 10px;
    font-size: 13px;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    resize: none;
}

.chat-input-row button {
    border-radius: 14px;
    border: none;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #46eb8d;
    color: #020617;
}

/* SEND BUTTON (CHAT) */
.chat-input-row .send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    background: #ffd93b;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    color: #020617; /* ikon rengi */
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
    min-width: 44px;
}

.chat-input-row .send-btn:hover {
    background: #FFE778;
    box-shadow: 0 0 12px rgba(70, 235, 141, 0.5);
    transform: translateY(-1px);
}

.chat-input-row .send-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.chat-input-row .send-btn svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
}


.chat-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
}

/* MOBİL DÜZEN */
@media (max-width: 880px) {
    .chat-card {
        border-radius: 24px;
        padding: 12px 12px 14px;
    }

    .chat-input-row {
        flex-direction: column;
    }

    .chat-input-row button {
        width: 100%;
    }

    .chat-username-row {
        flex-direction: column;
    }
}


/* ===================== */
/* PHOTO LAYOUT & STYLES */
/* ===================== */

.photo-layout {
    align-items: stretch;
}

.photo-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.photo-right {
    align-items: stretch;
}

/* Kullanıcı formu kutusu */
.photo-upload-box {
    margin-top: 8px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.photo-upload-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.photo-label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.photo-upload-form input[type="text"],
.photo-upload-form input[type="file"],
.photo-upload-form textarea {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 7px 10px;
    font-size: 13px;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
}

.photo-upload-form textarea {
    resize: vertical;
    min-height: 60px;
}

.photo-hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

.photo-submit-btn {
    margin-top: 4px;
    border-radius: 14px;
    border: none;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #ffd93b;
    color: #020617;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.photo-submit-btn:hover {
    background: #ffe778;
    box-shadow: 0 0 12px rgba(255, 217, 59, 0.5);
    transform: translateY(-1px);
}

.photo-submit-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Sağdaki kart (onaylanan fotoğraflar) */
.photo-card {
    width: 100%;
    border-radius: 28px;
    padding: 16px 16px 20px;
    background: rgba(9, 12, 28, 0.96);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(15, 23, 42, 0.9);
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 460px;          /* sabit yükseklik */
}

.photo-card-header h2 {
    font-size: 18px;
}

.photo-card-sub {
    font-size: 12px;
    color: rgba(148, 163, 184, 0.9);
    margin-top: 4px;
}

/* Kart içi scroll alanı */
.photo-card-scroll {
    margin-top: 4px;
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
}

/* Scrollbar hafif */
.photo-card-scroll::-webkit-scrollbar {
    width: 6px;
}
.photo-card-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.photo-card-scroll::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.6);
    border-radius: 999px;
}

/* Onaylı foto grid – max 2 yan yana */
.photo-grid {
    margin-top: 6px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (max-width: 600px) {
    .photo-grid {
        grid-template-columns: 1fr; /* mobilde tek sütun */
    }
}

/* Foto kartı */
.photo-item {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 16px;
    padding: 6px;
    border: 1px solid rgba(51, 65, 85, 0.9);
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;  /* hover’da el işareti */
}

/* Foto alanı (kırpmasız, contain) */
.photo-thumb-wrap {
    position: relative;
    width: 100%;
    height: 170px;
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.photo-thumb {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;  /* foto TAM gözüksün */
    display: block;
}

/* Meta */
.photo-meta {
    font-size: 11px;
}

.photo-user {
    font-weight: 600;
    color: #e5e7eb;
}

.photo-caption {
    margin-top: 2px;
    color: #cbd5f5;
    max-height: 52px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Boş state */
.photo-empty {
    font-size: 13px;
    color: rgba(209, 213, 219, 0.95);
}

/* PHOTO submit teşekkür sayfası */
.photo-submit-body {
    background: radial-gradient(circle at top left, #7954ff, #3d2aff);
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-submit-message {
    background: rgba(0, 0, 0, 0.26);
    border-radius: 24px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 420px;
    text-align: center;
}

.photo-submit-message h1 {
    font-size: 22px;
    margin-bottom: 8px;
}

.photo-submit-back {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #ffd93b;
    color: #020617;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* PHOTO admin genel (login + liste) */
.photo-admin-body {
    background: radial-gradient(circle at top left, #7954ff, #3d2aff);
    color: #fff;
    min-height: 100vh;
    margin: 0;
}

.photo-admin-login-wrap {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-admin-card {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 24px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 100%;
    max-width: 360px;
}

.photo-admin-card h1 {
    font-size: 20px;
    margin-bottom: 12px;
}

.photo-admin-card form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.photo-admin-card input {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 7px 10px;
    font-size: 13px;
    background: rgba(15, 23, 42, 0.8);
    color: #fff;
}

.photo-admin-card button {
    margin-top: 8px;
    border-radius: 14px;
    border: none;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: #46eb8d;
    color: #020617;
}

.photo-admin-error {
    color: #fecaca;
    font-size: 12px;
    margin-bottom: 8px;
}

.photo-admin-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
}

.photo-admin-topbar h1 {
    font-size: 22px;
    margin-right: auto;
}

.photo-admin-link {
    font-size: 12px;
    color: #e5e7eb;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.6);
}

.photo-admin-empty {
    margin-top: 12px;
    font-size: 13px;
}

.photo-admin-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
}

.photo-admin-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(15, 23, 42, 0.9);
}

.photo-admin-item.is-pending {
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.5);
}
.photo-admin-item.is-approved {
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.5);
}

.photo-admin-thumb img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
}

.photo-admin-meta {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.photo-admin-row1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.photo-admin-user {
    font-weight: 600;
}

.photo-admin-status {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(31, 41, 55, 0.9);
}

.photo-admin-caption {
    color: #e5e7eb;
}

.photo-admin-date {
    font-size: 11px;
    color: rgba(148, 163, 184, 0.9);
}

.photo-admin-actions {
    display: flex;
    align-items: center;
}

.inline-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.btn-approve,
.btn-delete {
    border: none;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    cursor: pointer;
    font-weight: 600;
}

.btn-approve {
    background: #22c55e;
    color: #020617;
}
.btn-delete {
    background: #ef4444;
    color: #f9fafb;
}

/* Mobilde admin kartı tek kolon */
@media (max-width: 768px) {
    .photo-admin-item {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ============ PHOTO MODAL ============ */

body.photo-modal-open {
    overflow: hidden;
}

.photo-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.photo-modal.active {
    display: flex;
}

.photo-modal-inner {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
    background: rgba(4, 7, 22, 0.96);
    border-radius: 24px;
    padding: 14px 16px 16px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.photo-modal-image {
    max-width: 100%;
    max-height: 60vh;
    display: block;
    border-radius: 18px;
    object-fit: contain;
    background: #020617;
}
.btn-pin {
    border: none;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    cursor: pointer;
    font-weight: 600;
    background: #38bdf8;
    color: #0f172a;
}

.photo-modal-meta {
    margin-top: 8px;
    font-size: 13px;
}

.photo-modal-user {
    font-weight: 600;
    color: #e5e7eb;
}

.photo-modal-caption {
    margin-top: 2px;
    color: #cbd5f5;
}

.photo-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 768px) {
    .photo-modal-inner {
        width: 94vw;
        padding: 10px 10px 12px;
    }
}


/* ===================== */
/* DONATE SECTION        */
/* ===================== */

.donate-layout {
    align-items: stretch;
}

.donate-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.donate-right {
    align-items: stretch;
}

/* Sağdaki donate kartı */
.donate-card {
    width: 100%;
    border-radius: 28px;
    padding: 18px 18px 20px;
    background: rgba(9, 12, 28, 0.96);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(15, 23, 42, 0.9);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.donate-card-header h2 {
    font-size: 18px;
}

.donate-tagline {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: rgba(148, 163, 184, 0.9);
}

/* Coin tab butonları */
.donate-coin-tabs {
    margin-top: 6px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

@media (max-width: 600px) {
    .donate-coin-tabs {
        grid-template-columns: 1fr;
    }
}

.donate-coin-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 14px;
    border: 1px solid rgba(51, 65, 85, 0.9);
    background: radial-gradient(circle at top left, #4b2ccf, #4b2ccf);
    color: #e5e7eb;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease, transform 0.1s ease;
}

.donate-coin-btn:hover {
background: linear-gradient(135deg, #9278f9, #4b2ccf);
    transform: translateY(-1px);
}

.donate-coin-btn.active {
    border-color: #9278f9;
    background: linear-gradient(135deg, #9278f9, #4b2ccf);
    color: #020617;
}

.donate-coin-icon {
    font-size: 18px;
    font-weight: 700;
}

.donate-coin-name {
    flex: 1;
    margin-left: 4px;
}

.donate-coin-network {
    font-size: 11px;
    opacity: 0.85;
}

/* Aktif coin bilgisi */
.donate-active-coin {
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px dashed rgba(148, 163, 184, 0.6);
    font-size: 12px;
}

.donate-active-label {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
    font-weight: 600;
}

#donateActiveSymbol {
    color: #facc15;
}

#donateActiveNetwork {
    color: rgba(148, 163, 184, 0.9);
    font-weight: 400;
}

.donate-active-hint {
    color: rgba(209, 213, 219, 0.9);
}

/* Adres kutusu */
.donate-address-box {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.donate-address-label {
    font-size: 11px;
    color: rgba(148, 163, 184, 0.9);
}

.donate-address-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.donate-address-input {
    flex: 1;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 7px 10px;
    font-size: 12px;
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
}

.donate-copy-btn {
    border-radius: 12px;
    border: none;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    background: #ffd93b;
    color: #020617;
    transition: background 0.1s ease, transform 0.1s ease;
    white-space: nowrap;
}

.donate-copy-btn:hover {
    background: #ffe778;
    transform: translateY(-1px);
}

.donate-copy-status {
    font-size: 11px;
    color: #9278f9;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.donate-copy-status.show {
    opacity: 1;
    transform: translateY(0);
}

/* QR alanı */
.donate-qr-box {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(30, 41, 59, 0.9);
}

.donate-qr-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    background: radial-gradient(circle at top left, #22c55e, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 6px;
}

.donate-qr-text {
    font-size: 11px;
    color: rgba(148, 163, 184, 0.9);
}

/* Sol taraftaki küçük liste */
.donate-list {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(226, 232, 240, 0.95);
    list-style: disc;
    padding-left: 20px;
}

.donate-list li + li {
    margin-top: 3px;
}

.donate-note {
    margin-top: 6px;
    font-size: 11px;
    color: rgba(209, 213, 219, 0.9);
}

