/* Variables & Reset — elegant dark (obsidian + steel accent) */
:root {
    --primary-color: #6b9fe8;
    --primary-hover: #8cb4f0;
    --primary-dark: #4a7fd4;
    --secondary-color: #5a7ab8;
    --background-color: #080a0f;
    --bg-color: #080a0f;
    --surface-color: #10141d;
    --surface-elevated: #161b26;
    --card-bg: #161b26;
    --text-color: #e8eaef;
    --text-muted: #8b93a7;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --success-color: #34d399;
    --danger-color: #f87171;
    --warning-color: #fbbf24;
    --sidebar-width: 280px;
    --network-color: #c5cad6;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.35);
    --glow-accent: 0 0 0 1px rgba(107, 159, 232, 0.12), 0 8px 32px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background-color: var(--background-color);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -30%, rgba(107, 159, 232, 0.09), transparent 55%),
        radial-gradient(ellipse 70% 50% at 100% 50%, rgba(90, 122, 184, 0.05), transparent 50%);
    background-attachment: fixed;
    color: var(--text-color);
    margin: 0;
    min-height: 100vh;
    line-height: 1.55;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, rgba(22, 27, 38, 0.98) 0%, var(--surface-color) 45%, #0c1018 100%);
    border-right: 1px solid var(--border-color);
    box-shadow: 4px 0 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
    padding: 16px 16px 14px;
    z-index: 1000;
}

.sidebar-header {
    flex-shrink: 0;
    margin-bottom: 14px;
}
/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 { 
    margin: 0; 
    font-size: 1.5rem; 
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.logo-subtitle { 
    margin: 0; 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    letter-spacing: 0.5px;
}

.nav-menu { list-style: none; padding: 0; margin: 0; }
.nav-menu li { margin-bottom: 5px; }
.nav-link {
    display: block;
    padding: 10px 15px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.95rem;
}
.nav-link:hover, .nav-link.active {
    background-color: rgba(107, 159, 232, 0.12);
    color: var(--primary-color);
}

/* Menü: kaydırma yok; kalan yükseklik alt blokta, scroll + ince scrollbar orada */
.sidebar-nav {
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
    margin: 0 -4px;
    padding: 4px 6px 8px 0;
}

.sidebar-footer {
    flex: 1 1 0;
    min-height: 0;
    margin-top: 0;
    padding-top: 12px;
    padding-right: 2px;
    border-top: 1px solid var(--border-color);
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar-footer::-webkit-scrollbar {
    width: 5px;
}

.sidebar-footer::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-footer::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 99px;
}

/* Menüye daha çok yer: alt blok (oturum + cüzdan) daha kompakt */
.sidebar-footer .user-info-card {
    padding: 8px 10px;
    gap: 8px;
    margin-bottom: 6px;
}

.sidebar-footer .user-info-card .user-avatar {
    font-size: 1.25rem;
}

.sidebar-footer .user-info-card .user-name {
    font-size: 0.82rem;
}

.sidebar-footer .user-info-card .user-email {
    font-size: 0.68rem;
}

.sidebar-footer .notification-bell {
    font-size: 1.05rem;
    padding: 4px;
}

.sidebar-footer .enable-push-btn,
.sidebar-footer #userLoggedIn .btn-secondary {
    margin-top: 4px;
}

.sidebar-footer .sidebar-divider {
    margin: 10px 0;
}

.sidebar-footer .wallet-info {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-md);
    padding: 8px 10px;
    gap: 6px;
}

.sidebar-footer .wallet-balance-container {
    border-left: none;
    border-right: none;
    padding: 6px 0 0;
    margin: 0;
    min-width: 0;
    width: 100%;
    border-top: 1px solid var(--border-color);
}

.sidebar-footer .wallet-lock-status {
    border-left: none;
    padding: 6px 0 0;
    margin: 0;
    width: 100%;
    border-top: 1px solid var(--border-color);
    font-size: 0.78rem;
}

.sidebar-footer .wallet-address .wallet-addr {
    display: block;
    font-size: 0.72rem;
    line-height: 1.35;
    word-break: break-all;
}

.sidebar-footer .wallet-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.sidebar-footer .wallet-balance {
    font-size: 0.82rem;
}

.sidebar-footer .wallet-login-hint {
    margin-top: 8px;
    padding: 8px 10px;
}

.sidebar-footer .wallet-section .btn {
    margin-top: 4px;
}

.sidebar-nav .nav-link {
    padding: 7px 12px;
    font-size: 0.9rem;
}

.sidebar-nav .nav-menu li {
    margin-bottom: 2px;
}

/* Main Content Area */
.main-wrapper {
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: calc(100% - var(--sidebar-width));
    min-width: 0;
}

/* Mobile WalletConnect deeplink styles */
.qr-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.qr-mobile-links .wallet-link {
    display: block;
    text-align: center;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 600;
}

.pwa-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(107, 159, 232, 0.1);
    border: 1px solid var(--border-strong);
    color: var(--text-color);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin: 0 0 24px;
    box-shadow: var(--shadow-soft);
}
.pwa-banner-text {
    font-size: 0.95rem;
}
.pwa-banner-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.content-area {
    padding: 40px 32px 56px;
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
    min-width: 0;
}

.top-header {
    height: 70px;
    background: rgba(12, 16, 24, 0.82);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 900;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-title h2,
.header-title h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.header-actions { display: flex; align-items: center; gap: 15px; }

/* Admin Link Styles */
.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.admin-link:hover {
    background-color: var(--surface-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.admin-link::before {
    content: "🔐";
    font-size: 1rem;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

.btn-secondary { background-color: rgba(255, 255, 255, 0.1); color: white; }
.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.15); }

.btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-muted); }
.btn-outline:hover { border-color: var(--text-color); color: var(--text-color); }

.btn-large { padding: 12px 24px; font-size: 1rem; width: 100%; }
.btn-small { padding: 6px 12px; font-size: 0.85rem; border-radius: 10px; }
.btn-warning { background-color: #ff9800; color: #111; }
.btn-warning:hover { background-color: #e38900; }
.btn-danger { background-color: #ef4444; color: white; }
.btn-danger:hover { background-color: #d53f3f; }
.btn:focus { outline: none; box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.25); }
.btn-success { background-color: var(--success-color); color: #fff; }
.btn-success:hover { background-color: #0ea772; }
.btn-success:active { transform: translateY(1px); }

/* Wallet Info */
.wallet-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.04);
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
}

.wallet-balance-container {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    min-width: 100px;
}

.wallet-balance {
    font-family: monospace;
    font-weight: bold;
    color: var(--success-color);
    font-size: 0.9rem;
}

.wallet-lock-status {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-left: 10px;
    font-size: 0.9rem;
    color: #ffc107;
    border-left: 1px solid var(--border-color);
}

.wallet-lock-status.unlocked {
    color: var(--success-color);
}

.network-badge {
    background-color: #2d2d2d;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.network-dot { width: 8px; height: 8px; border-radius: 50%; background-color: var(--success-color); }
.network-dot.wrong { background-color: var(--danger-color); }

.address-display { font-family: monospace; color: var(--text-muted); font-size: 0.9rem; }

/* Cards */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-soft);
}

/* Info Cards Grid */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    box-shadow: var(--shadow-soft);
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--glow-accent);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-card h3 {
    margin: 0 0 10px 0;
    color: var(--text-color);
}

.info-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    box-shadow: var(--shadow-soft);
}

.stat-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--glow-accent);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Content Section SPA Logic */
.content-section {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.content-section.active {
    display: block;
}

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

/* Section Headers (Card Style) */
.section-header {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: var(--shadow-soft);
}

.section-header h2 {
    margin: 0;
    border: none;
    padding: 0;
    font-size: 1.5rem;
    color: var(--text-color);
}

.section-description {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Footer Styles */
.site-footer {
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    padding: 3rem 1.5rem 1.5rem;
    color: var(--text-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-logo-img {
    width: 36px;
    height: 36px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 300px;
    margin: 0 auto;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links-group h4,
.footer-social-group h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.footer-links-group a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-links-group a:hover {
    color: var(--primary-color);
}

.footer-link-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.footer-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background-color: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.social-btn:hover {
    transform: translateY(-3px);
    color: white;
    border-color: transparent;
}

.social-btn.twitter:hover { background-color: #1DA1F2; }
.social-btn.telegram:hover { background-color: #0088cc; }
.social-btn.instagram:hover { background-color: #C13584; }
.social-btn.email:hover { background-color: var(--primary-color); }

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.legal-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-link:hover {
    color: var(--primary-color);
}

/* Desktop Footer Layout */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }

    .footer-brand-section {
        align-items: flex-start;
        max-width: 300px;
    }

    .footer-desc {
        margin: 0;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

section { margin-bottom: 60px; scroll-margin-top: 20px; }
h2 { color: var(--text-color); margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
p { line-height: 1.6; color: var(--text-muted); }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--text-muted); font-size: 0.9rem; }
.input {
    width: 100%;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.input:focus { outline: none; border-color: var(--primary-color); }
.form-hint { display: block; margin-top: 5px; color: var(--text-muted); font-size: 0.8rem; }

.input-small { padding: 8px 10px; font-size: 0.9rem; }
select.input, select.input-small {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(0, 0, 0, 0.25);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}
select.input:focus, select.input-small:focus {
    outline: none;
    border-color: var(--primary-color);
}
/* Dropdown option colors (dark theme) */
select.input option, select.input-small option {
    background-color: #1f2937;
    color: var(--text-color);
}
/* Specific styling for claim status filter */
#claimStatusFilter {
    background-color: rgba(0,0,0,0.25);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}
#claimStatusFilter option {
    background-color: #1f2937;
    color: var(--text-color);
}

/* User Profile in Sidebar */
.user-profile-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.user-avatar { font-size: 1.5rem; }
.user-details { display: flex; flex-direction: column; overflow: hidden; }
.user-name { font-weight: 600; font-size: 0.9rem; }
.user-email { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Language Selector */
.language-selector { display: flex; gap: 10px; margin-top: 10px; }
.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}
.lang-btn.active { border-color: var(--primary-color); color: var(--primary-color); }

/* QR Code Styles */
.qr-container-center {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.qr-address-wrapper {
    text-align: center;
    margin-top: 10px;
    word-break: break-all;
}

.qr-address-code {
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-muted);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    border: 1px solid var(--border-color);
    font-family: ui-monospace, monospace;
}

/* Modal Styles */
.modal {
    display: none; /* Varsayılan olarak gizli */
    position: fixed;
    z-index: 2000; /* En üstte */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Karartma */
    overflow: auto;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex; /* .show sınıfı eklenince görünür */
}

.modal-content {
    background-color: var(--card-bg);
    margin: auto;
    padding: 30px;
    border: 1px solid var(--border-strong);
    width: 90%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--glow-accent);
}

.shake { animation: shake 0.4s ease; }
@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

.close {
    color: #9ca3af;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
    transition: color 0.2s;
}

.close:hover,
.close:focus {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

/* Utility Classes */
.hidden { display: none !important; }
.d-flex { display: flex !important; }
.mb-2 { margin-bottom: 0.5rem; }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* Warning Box Styles */
.wallet-required-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.warning-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.wallet-required-warning h3 {
    color: var(--warning-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.wallet-required-warning p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* User Info Card (Sidebar) */
.user-info-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Notification Bell */
.notification-bell {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* Push to right */
}

.notification-bell:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Notification Center */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification-overlay.open {
    display: block;
    opacity: 1;
}

.notification-center {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100vh;
    background-color: var(--surface-color);
    border-left: 1px solid var(--border-color);
    z-index: 2002;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.confirm-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
    max-width: 420px;
    width: 90%;
    z-index: 2100;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4),
                0 10px 10px -5px rgba(0, 0, 0, 0.3);
}

.confirm-dialog.show {
    animation: fadeInUp 0.2s ease-out;
}

.confirm-dialog-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.confirm-dialog-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.confirm-dialog-message {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.confirm-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2200;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loading-overlay.active {
    display: flex;
}

.loading-overlay .spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    animation: spin 1s linear infinite;
}

.loading-overlay .loading-text {
    margin-top: 12px;
    color: #ffffff;
    font-size: 0.95rem;
}

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

.notification-center.open {
    right: 0;
}


/* Mobile responsive */
@media (max-width: 480px) {
    .notification-center {
        width: 100%;
        right: -100%;
    }
}

.notification-center-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
}

.notification-center-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.notification-center-actions {
    display: flex;
    gap: 10px;
}

.nc-clear-all {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.nc-clear-all:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--danger-color);
}

.notification-center-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.notification-center-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.notification-center-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.notification-center-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    gap: 15px;
}

.notification-center-empty-icon {
    font-size: 3rem;
    opacity: 0.5;
}

/* Notification Items */
.notification-item {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.notification-item:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.notification-item.unread {
    background-color: rgba(107, 159, 232, 0.08);
    border-left-color: var(--primary-color);
}

.notification-item-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.notification-item-content {
    flex: 1;
    min-width: 0;
}

.notification-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.notification-item-message {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 8px;
    display: block !important;
    word-break: break-word;
}

.notification-item-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.notification-item-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.2s;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-item:hover .notification-item-delete {
    opacity: 1;
}

.notification-item-delete:hover {
    color: var(--danger-color);
}

/* Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    border: 2px solid var(--surface-color);
}

/* Bell Animation */
@keyframes ring {
    0% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
    50% { transform: rotate(5deg); }
    60% { transform: rotate(-5deg); }
    70% { transform: rotate(0); }
}

.notification-bell.has-unread {
    animation: ring 2s infinite ease-in-out;
    color: var(--primary-color);
}

/* Tokenomics Section */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.tokenomics-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    box-shadow: var(--shadow-soft);
}

.tokenomics-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--glow-accent);
}

.tokenomics-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.tokenomics-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.tokenomics-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.4;
}

.tokenomics-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 15px;
}

.tokenomics-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-out;
}

/* Utility classes for Tokenomics */
.w-100 { width: 100%; }
.w-80 { width: 80%; }
.w-20 { width: 20%; }

.mt-1 { margin-top: 0.25rem; }
.mt-3 { margin-top: 15px; }
.mb-4 { margin-bottom: 1.5rem; }

.bg-primary { background-color: var(--primary-color); }
.bg-success { background-color: #4CAF50; }
.bg-warning { background-color: #FFC107; }

/* Subgrid for detailed distribution */
.tokenomics-subgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.tokenomics-subitem {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: background 0.2s;
}

.tokenomics-subitem:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tokenomics-value-lg {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 10px 0;
}

.text-success { color: #4CAF50; }
.text-primary { color: var(--primary-color); }
.text-warning { color: #FFC107; }
.text-secondary { color: var(--text-muted); }

.tokenomics-details {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.tokenomics-details h4 {
    margin-bottom: 25px;
    color: var(--text-color);
    font-size: 1.2rem;
}

/* Mobile Toggle Button */
.sidebar-toggle {
    display: none; /* Hidden on desktop */
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin-right: 15px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Layout Adjustments */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0,0,0,0.5);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-wrapper {
        margin-left: 0;
        width: 100%;
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    .top-header {
        padding: 0 15px;
    }
    
    .content-area {
        padding: 20px;
    }
    
    .header-content {
        gap: 10px;
    }

    .page-title h2,
    .header-title h2 {
        font-size: 1rem;
    }
    
    /* Adjust cards for mobile */
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    /* Adjust notification center for mobile */
    .notification-center {
        width: 100%;
        right: -100%;
    }
    
    .notification-center.open {
        right: 0;
    }
}

/* Auth Modal Styles */
.auth-form h2 {
    text-align: center;
    border-bottom: none;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--text-color);
}

.btn-block {
    display: block;
    width: 100%;
}

.forgot-password-link {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 20px;
}

.forgot-password-link a,
.auth-switch a,
.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.forgot-password-link a:hover,
.auth-switch a:hover,
.btn-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-muted);
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
}

/* Email Verification Styles */
.email-display {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.email-icon {
    font-size: 1.5rem;
}

#verifyEmailAddress, #resetEmailAddress {
    font-weight: 500;
    color: var(--text-color);
    word-break: break-all;
}

.verification-code-input {
    letter-spacing: 5px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.resend-code {
    text-align: center;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 5px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.resend-code p {
    margin: 0;
    color: var(--text-muted);
}

/* Whitepaper Section Styles */
.whitepaper-section {
    margin-bottom: 30px;
}

.whitepaper-section h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.whitepaper-section p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.feature-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.feature-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.tokenomics-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.tokenomics-box p {
    margin-bottom: 10px;
}

.tokenomics-box p:last-child {
    margin-bottom: 0;
}

.tokenomics-box strong {
    color: var(--primary-color);
}

/* Roadmap Section Styles */
.roadmap-container {
    position: relative;
    padding-left: 20px;
    margin-top: 30px;
}

/* Timeline vertical line (optional, purely visual) */
.roadmap-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    opacity: 0.3;
}

/* Roadmap Animations (distinct name — avoids clashing with confirm-dialog fadeInUp) */
@keyframes roadmapReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.roadmap-item {
    margin-bottom: 50px;
    position: relative;
    opacity: 0;
    animation: roadmapReveal 0.5s ease forwards;
}

.roadmap-container .roadmap-item:nth-child(1) { animation-delay: 0.1s; }
.roadmap-container .roadmap-item:nth-child(2) { animation-delay: 0.3s; }
.roadmap-container .roadmap-item:nth-child(3) { animation-delay: 0.5s; }
.roadmap-container .roadmap-item:nth-child(4) { animation-delay: 0.7s; }

.roadmap-phase {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.roadmap-icon {
    font-size: 2rem;
    line-height: 1;
    background: var(--surface-color);
    width: fit-content;
    padding: 5px;
    border-radius: 50%;
    margin-left: -32px; /* Pull icon to the timeline */
    z-index: 1;
    border: 2px solid var(--background-color);
}

.roadmap-content h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.roadmap-content ul {
    list-style-type: disc;
    padding-left: 20px;
    color: var(--text-muted);
}

.roadmap-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Token Info Section */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    box-shadow: var(--shadow-soft);
}

.info-box:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--glow-accent);
}

.info-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

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

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background-color: var(--surface-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.toast.show {
    transform: translateX(0);
}

.toast.hide {
    transform: translateX(120%);
}

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 8px;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
}

.toast-close:hover {
    color: var(--text-color);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: var(--primary-color);
    width: 100%;
}

/* Toast Variants */
.toast-success { border-left: 4px solid var(--success-color); }
.toast-success .toast-icon { color: var(--success-color); }
.toast-success .toast-progress { background-color: var(--success-color); }

.toast-error { border-left: 4px solid var(--danger-color); }
.toast-error .toast-icon { color: var(--danger-color); }
.toast-error .toast-progress { background-color: var(--danger-color); }

.toast-warning { border-left: 4px solid var(--warning-color); }
.toast-warning .toast-icon { color: var(--warning-color); }
.toast-warning .toast-progress { background-color: var(--warning-color); }

.toast-info { border-left: 4px solid var(--primary-color); }
.toast-info .toast-icon { color: var(--primary-color); }

/* Wallet Options Modal */
.wallet-modal {
    text-align: center;
}

.wallet-modal h2 {
    border-bottom: none;
    margin-bottom: 10px;
}

.modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Wallet Modal Styles */
.wallet-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.wallet-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wallet-option:hover {
    border-color: var(--primary-color);
    background: rgba(107, 159, 232, 0.1);
    transform: translateY(-2px);
}

.wallet-option img {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    object-fit: contain;
}

.wallet-option span {
    font-weight: 600;
    color: var(--text-color);
}

.wallet-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary-color);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

.wallet-modal-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9em;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.wallet-modal-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Mobile Responsive Adjustments for Wallet Modal */
@media (max-width: 480px) {
    .wallet-options {
        grid-template-columns: 1fr;
    }
    
    .wallet-option {
        flex-direction: row;
        justify-content: flex-start;
        padding: 15px;
        text-align: left;
    }
    
    .wallet-option img {
        margin-bottom: 0;
        margin-right: 15px;
        width: 32px;
        height: 32px;
    }
    
    .wallet-tag {
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Admin Panel Styles */
#adminLogin {
    max-width: 400px;
    margin: 40px auto;
    padding: 30px;
    text-align: center;
}

.admin-main-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    overflow-x: auto;
}

.admin-main-tabs::-webkit-scrollbar,
.top-holders-table::-webkit-scrollbar {
    height: 5px;
}

.admin-main-tabs::-webkit-scrollbar-track,
.top-holders-table::-webkit-scrollbar-track {
    background: transparent;
}

.admin-main-tabs::-webkit-scrollbar-thumb,
.top-holders-table::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 99px;
}

.admin-main-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-main-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.admin-main-tab.active {
    background: var(--primary-color);
    color: white;
}

.tab-badge {
    background: #ff4d4d;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 24px;
    background: rgba(107, 159, 232, 0.12);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
}

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

.claim-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.claim-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.claim-highlight {
    box-shadow: 0 0 0 2px rgba(3,125,214,0.7), 0 0 12px rgba(3,125,214,0.35);
    animation: highlightPulse 1.2s ease;
}

@keyframes highlightPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

.recent-claims-list .claim-item.compact {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 12px 14px;
}
.recent-claims-list .claim-user { font-weight: 600; }
.recent-claims-list .claim-amount { color: var(--primary-color); }
.recent-claims-list .claim-wallet { color: var(--text-muted); font-family: monospace; }
.recent-claims-list .claim-reason { color: var(--text-muted); }
.recent-claims-list .claim-actions-inline { text-align: right; }

@media (max-width: 900px) {
    .recent-claims-list .claim-item.compact {
        grid-template-columns: 1.2fr 0.8fr 1fr auto;
    }
    .recent-claims-list .claim-wallet { display: none; }
}

@media (max-width: 600px) {
    .recent-claims-list .claim-item.compact {
        grid-template-columns: 1fr;
        grid-row-gap: 6px;
    }
    .recent-claims-list .claim-actions-inline { text-align: left; }
}

.claim-status-pending { border-left: 4px solid #f6851b; }
.claim-status-approved { border-left: 4px solid #4caf50; }
.claim-status-rejected { border-left: 4px solid #ff4d4d; }
.claim-status-completed { border-left: 4px solid #2196f3; }

.claim-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.claim-type-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.claim-type-gift {
    background: rgba(255, 193, 7, 0.18);
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.25);
}

.claim-amount {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
}

.claim-actions-inline {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.claim-details-collapsible {
    display: none;
    margin-top: 8px;
}
.claim-details-collapsible.open {
    display: block;
    animation: fadeIn 0.2s ease-in;
}

.claim-tools {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.claim-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-pending { background: rgba(246, 133, 27, 0.2); color: #f6851b; }
.status-approved { background: rgba(76, 175, 80, 0.2); color: #4caf50; }
.status-rejected { background: rgba(255, 77, 77, 0.2); color: #ff4d4d; }
.status-completed { background: rgba(33, 150, 243, 0.2); color: #2196f3; }

.claim-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.user-details-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.claim-username {
    font-weight: 600;
    color: var(--text-color);
}

.claim-user-email {
    color: var(--text-muted);
    font-size: 0.9em;
}

.claim-user-id {
    color: var(--primary-color);
    font-size: 0.85em;
}

.claim-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 8px;
}

.claim-details strong {
    color: var(--text-color);
}

.claim-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.wallet-address {
    font-family: monospace;
    background: rgba(255,255,255,0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.tx-link {
    color: var(--primary-color);
    text-decoration: none;
}

/* Additional Admin Panel Styles */
.claims-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.token-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-item .label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

/* Contract address input + save button */
.address-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.address-input-group .input {
    flex: 1;
}
.address-input-group .btn {
    height: 42px;
    padding: 0 16px;
}

.info-item span:not(.label) {
    font-weight: bold;
    font-size: 16px;
    color: var(--text-color);
}

.deploy-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 20px;
    gap: 4px;
}

.deploy-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px;
    color: var(--text-muted);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.deploy-tab:not(.disabled):hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.deploy-tab.active {
    background: var(--primary-color);
    color: white;
}

.deploy-tab.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.deploy-status {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-label {
    color: var(--text-muted);
    font-weight: 500;
}

.status-value {
    color: var(--text-color);
    font-weight: bold;
}

.system-status {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.system-status .status-item {
    justify-content: space-between;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.system-status .label {
    color: var(--text-muted);
    font-weight: 600;
}

.system-status .value {
    color: var(--text-color);
    font-weight: 600;
}

.system-status .value.status-ok {
    color: var(--success-color);
}

.system-status .value.status-warn {
    color: var(--warning-color);
}

.system-status .value.status-error {
    color: var(--danger-color);
}

.deploy-info-box {
    background: rgba(33, 150, 243, 0.1);
    border-left: 4px solid #2196f3;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.admin-section {
    margin-bottom: 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.admin-section h4 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: var(--text-color);
}

.section-header-with-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.section-header-with-actions h4 {
    margin: 0;
    border: none;
    padding: 0;
}

.section-header-with-actions .input-group {
    width: 100%;
}

#verificationFilter {
    min-width: 220px;
}

#verificationPageSize {
    min-width: 140px;
    max-width: 180px;
}

.section-header-with-actions .button-group {
    grid-column: 1 / -1;
    justify-content: flex-start;
    margin-top: 5px;
}

.admin-tab-content,
.deploy-tab-content,
.source-content {
    display: none;
}

.admin-tab-content.active,
.deploy-tab-content.active,
.source-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.admin-tab-content:not(.active),
.deploy-tab-content:not(.active),
.source-content:not(.active) {
    display: none !important;
}

.source-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 12px;
}

.source-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px;
    color: var(--text-muted);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.source-tab:not(.disabled):hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.source-tab.active {
    background: var(--primary-color);
    color: #fff;
}

.source-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    margin-top: 12px;
}

.code-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 15px;
}

.preset-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
}

.file-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.upload-icon {
    font-size: 28px;
}

.file-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    transition: all 0.2s ease;
}

.file-upload-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.file-upload-btn:active {
    transform: translateY(0);
}

.file-upload-btn input[type="file"] {
    display: none;
}

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

/* Security Audit Styles */
.security-score-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255,255,255,0.05), transparent);
    border: 6px solid rgba(33, 150, 243, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

.score-value {
    font-size: 28px;
    font-weight: 800;
}

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

.score-details h4 {
    margin: 0 0 8px 0;
}

.audit-checklist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.audit-item {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.audit-icon {
    font-size: 18px;
}

.audit-info .audit-name {
    font-weight: 700;
    color: var(--text-color);
}

.audit-info .audit-desc {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.audit-status {
    font-weight: 700;
    color: var(--text-muted);
}

.audit-status.success {
    color: #4caf50;
}
.audit-status.warning {
    color: #ff9800;
}
.audit-status.error {
    color: #f44336;
}

.audit-report pre {
    background: rgba(0,0,0,0.3);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    white-space: pre-wrap;
}

.audit-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.recommendations-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.recommendation-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
}

.rec-icon {
    font-size: 16px;
}

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

/* Analytics Dashboard Styles */
.filter-ml {
    margin-left: 10px;
}

.filter-group-ml {
    margin-left: 15px;
    border-left: 1px solid #4b5563;
    padding-left: 15px;
}

.analytics-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.time-range-selector {
    display: flex;
    gap: 8px;
}

.time-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.time-btn:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-color);
}

.time-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.analytics-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.metric-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.metric-icon {
    font-size: 22px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 159, 232, 0.12);
    margin-bottom: 8px;
}

.metric-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-color);
}

.metric-label {
    color: var(--text-muted);
    font-weight: 600;
}

.metric-unit {
    font-size: 12px;
    color: var(--text-muted);
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
}

.chart-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
}

.top-holders-table {
    margin-top: 10px;
    overflow-x: auto;
}
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}
.data-table thead th {
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    text-align: left;
    font-weight: 700;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
}
.data-table tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}
.data-table tbody tr:last-child td {
    border-bottom: none;
}
.data-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
}
.data-table th:nth-child(1),
.data-table td:nth-child(1) {
    width: 48px;
    text-align: center;
}
.data-table th:nth-child(3),
.data-table td:nth-child(3),
.data-table th:nth-child(4),
.data-table td:nth-child(4) {
    width: 140px;
    text-align: center;
}

/* Test Page Styles */
.test-section {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.test-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.test-functions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.test-function-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s;
}

.test-function-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.func-name {
    font-family: monospace;
    font-weight: 600;
    color: var(--text-muted);
    flex: 1;
}

.func-result {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--success-color);
    background-color: rgba(0, 0, 0, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 60px;
    text-align: center;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.input-group .input {
    flex: 1;
}

.result-text {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 15px;
    margin: 0;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-text span:last-child {
    font-family: monospace;
    font-weight: bold;
    color: var(--success-color);
}

/* Interact Section Styles */
.interact-section {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.interact-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.interact-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning-color);
    color: var(--warning-color);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Recent Transactions List Styles */
.recent-tx-list {
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 5px;
}

.recent-tx-list::-webkit-scrollbar {
    width: 6px;
}

.recent-tx-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.recent-tx-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.tx-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.tx-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.tx-icon {
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.tx-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tx-amount {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.tx-address {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
}

.tx-status {
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
}

.tx-status.success {
    color: var(--success-color);
    background-color: rgba(76, 175, 80, 0.1);
}

.tx-status.pending {
    color: var(--warning-color);
    background-color: rgba(255, 193, 7, 0.1);
}

.no-data {
    text-align: center;
    color: var(--text-muted);
    padding: 30px;
    font-style: italic;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px dashed var(--border-color);
}
.data-table td:nth-child(5) {
    min-width: 180px;
}
.data-table .no-data {
    text-align: center;
    color: var(--text-muted);
    padding: 12px;
}
/* Users List */
.users-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.user-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
}

.user-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-info .user-name {
    font-weight: 700;
    color: var(--text-color);
}
.user-info .user-username {
    color: var(--text-muted);
    font-size: 13px;
}
.user-info .user-email {
    color: var(--text-color);
    font-size: 13px;
}

.user-meta {
    display: grid;
    grid-template-columns: 220px 1fr auto auto;
    gap: 12px;
    align-items: center;
}

.user-wallet {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
    color: var(--text-muted);
}

.user-dates {
    display: flex;
    gap: 12px;
    color: var(--text-muted);
    font-size: 12px;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}
.badge.success { background: rgba(76,175,80,0.15); color: #4caf50; }
.badge.warning { background: rgba(255,152,0,0.15); color: #ff9800; }
.user-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}
.user-actions .btn {
    border: 1px solid var(--border-color);
    background-color: rgba(255,255,255,0.06);
    color: var(--text-color);
}
.user-actions .btn:hover {
    background-color: rgba(255,255,255,0.12);
}
/* Tab Content Management */
.admin-tab-content,
.deploy-tab-content,
.source-content {
    display: none;
}

.admin-tab-content.active,
.deploy-tab-content.active,
.source-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Button Group */
.button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Disconnect Button Style */
#disconnectWalletBtn {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    width: 100%;
    margin-top: 10px;
    transition: all 0.2s;
}

#disconnectWalletBtn:hover {
    background-color: #ef4444;
    color: white;
    border-color: #ef4444;
}

.text-warning {
    color: #f39c12;
}

/* Token Logo Settings */
.token-logo-section {
    margin-top: 15px;
}

.token-logo-actions {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
}

.token-logo-preview {
    margin-top: 8px;
}

.token-logo-preview img {
    max-width: 100px;
    max-height: 100px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    padding: 6px;
    background: var(--surface-elevated);
}

.btn-use-site-logo {
    font-size: 0.85rem;
    padding: 5px 10px;
}

/* Profit Distribution Card */
.profit-dist-container {
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.profit-distribution-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: left;
    color: var(--text-color);
}

.profit-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.profit-distribution-card h4 {
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.profit-distribution-card p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.profit-distribution-card ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.profit-distribution-card li {
    margin-bottom: 0.3rem;
    color: var(--text-muted);
}

/* Admin Lock Status Box */
.admin-lock-status-box {
    display: none;
    background-color: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.35);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
}

.admin-lock-status-box .label {
    color: var(--warning-color);
}

.admin-lock-status-box .status-value {
    font-weight: bold;
    color: #fcd34d;
}

/* Danger Zone (Transfer Ownership) */
.interact-section.danger-zone {
    border: 1px solid rgba(248, 113, 113, 0.45) !important;
    background-color: rgba(248, 113, 113, 0.06) !important;
    padding: 18px;
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.danger-zone h4.text-danger {
    color: var(--danger-color) !important;
    margin-top: 0;
}

.danger-zone .interact-warning.danger {
    background-color: rgba(248, 113, 113, 0.1) !important;
    color: #fecaca !important;
    border: 1px solid rgba(248, 113, 113, 0.35) !important;
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
}

.btn-danger {
    background-color: #dc3545 !important;
    color: white !important;
    border: none;
}
.btn-danger:hover {
    background-color: #c82333 !important;
}

/* Claim Process Info Styles */
.claim-process-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.claim-process-info h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.claim-process-info div {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.important-note {
    color: #dc3545;
    font-weight: bold;
}

.faq-answer p {
    white-space: pre-line;
}

/* —— Layout helpers & home hero (previously missing from stylesheet) —— */
.container {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.hero-section {
    text-align: center;
    padding: 2.5rem 1rem 2rem;
    margin-bottom: 2rem;
}

.hero-title {
    margin: 0 0 1rem;
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #eef2f8;
    text-shadow: 0 2px 24px rgba(107, 159, 232, 0.12);
}

.hero-description {
    margin: 0 auto;
    max-width: 36rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.sidebar-divider {
    border: none;
    height: 1px;
    margin: 16px 0;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.wallet-login-hint {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--border-color);
}

.wallet-login-hint .hint-text {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.content-text {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.content-text h3,
.content-text h4 {
    color: var(--text-color);
}

.wallet-section .btn {
    margin-top: 6px;
}

#userNotLoggedIn .btn + .btn {
    margin-top: 8px;
}

/* Satış Paketleri (admin > Ayarlar) */
.sale-packages-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.sale-packages-meta #salePackagesOwner {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    overflow-wrap: anywhere;
}
.badge.danger { background: rgba(244,67,54,0.15); color: #f44336; }
.badge.muted { background: rgba(158,158,158,0.15); color: var(--text-muted); }
.sale-packages-table td { vertical-align: middle; }
.sale-packages-table .pkg-name { display: grid; gap: 2px; }
.sale-packages-table .pkg-name small { color: var(--text-muted); }
.sale-packages-table .pkg-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sale-packages-table .btn { white-space: nowrap; }
/* Genel .data-table sütun genişlikleri bu tabloya uymuyor: içeriğe göre bırak */
.sale-packages-table th,
.sale-packages-table td,
.sale-packages-table th:nth-child(3),
.sale-packages-table td:nth-child(3),
.sale-packages-table th:nth-child(4),
.sale-packages-table td:nth-child(4) {
    width: auto;
}
.sale-packages-table th:nth-child(1),
.sale-packages-table td:nth-child(1) { width: 40px; }
.sale-packages-table .pkg-name { min-width: 170px; }
.sale-packages-table .pkg-name small { font-size: 0.8rem; line-height: 1.35; }
.sale-packages-table .btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.6);
}
/* Satış paketleri: fiyat hücresi ve satır içi düzenleme */
.sale-packages-table .pkg-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.sale-packages-table .pkg-price-input {
    width: 7.5em;
    min-width: 0;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
