/* X Token Platform Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 30px;
}

.loading-bar {
    width: 200px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #1DA1F2, #1a91da);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* Main Layout */
.container {
    display: flex;
    min-height: 100vh;
}

.left-panel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    padding: 40px;
}

.right-panel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    padding: 40px;
    border-left: 1px solid #2f3336;
}

.logo {
    width: 300px;
    height: auto;
}

.logo svg {
    width: 100%;
    height: auto;
    fill: #ffffff;
}

/* Forms */
.form-container {
    width: 100%;
    max-width: 400px;
}

.form-title {
    font-size: 31px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #ffffff;
}

.form-subtitle {
    color: #71767b;
    margin-bottom: 32px;
    font-size: 15px;
    line-height: 1.4;
}

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

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    background-color: #000000;
    border: 1px solid #333639;
    border-radius: 4px;
    color: #ffffff;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #1DA1F2;
    box-shadow: 0 0 0 2px rgba(29, 161, 242, 0.2);
}

.form-input::placeholder {
    color: #71767b;
}

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #71767b;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.password-toggle:hover {
    color: #ffffff;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.checkbox {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: #1DA1F2;
}

.checkbox-label {
    font-size: 14px;
    color: #71767b;
    line-height: 1.4;
}

.checkbox-label a {
    color: #1DA1F2;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #1DA1F2;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1a91da;
}

.btn-primary:disabled {
    background-color: #0f4e75;
    cursor: not-allowed;
}

.form-footer {
    text-align: center;
    margin-top: 40px;
}

.form-footer a {
    color: #1DA1F2;
    text-decoration: none;
    font-size: 15px;
}

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

.form-footer p {
    color: #71767b;
    font-size: 15px;
    margin-bottom: 8px;
}

/* Alert Messages */
.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 400;
}

.alert-success {
    background-color: rgba(0, 186, 124, 0.1);
    border: 1px solid rgba(0, 186, 124, 0.3);
    color: #00ba7c;
}

.alert-error {
    background-color: rgba(244, 33, 46, 0.1);
    border: 1px solid rgba(244, 33, 46, 0.3);
    color: #f4212e;
}

.alert-warning {
    background-color: rgba(255, 212, 0, 0.1);
    border: 1px solid rgba(255, 212, 0, 0.3);
    color: #ffd400;
}

:root {
    --bg: #000000;
    --background: #0f1419;
    --panel: #16181c;
    --text: #ffffff;
    --muted: #71767b;
    --border: #2f3336;
    --primary: #1DA1F2;
    --accentStart: #1DA1F2;
    --accentEnd: #1a91da;
    --success: #00ba7c;
    --warning: #ffd400;
}

/* Dashboard Styles */

/* Notifications dropdown styles */
.notifications-content {
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
}

.notifications-content::-webkit-scrollbar {
    width: 6px;
}

.notifications-content::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 3px;
}

.notifications-content::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

.notifications-content::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid #333;
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: #2a2a2a;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background-color: rgba(29, 161, 242, 0.1);
    border-left: 3px solid #1da1f2;
}

.notification-item.read {
    opacity: 0.7;
}

.notification-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

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

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.notification-message {
    font-size: 13px;
    color: #8899a6;
    margin: 0 0 8px 0;
    line-height: 1.4;
    word-wrap: break-word;
}

.notification-time {
    font-size: 12px;
    color: #657786;
    white-space: nowrap;
}

.notification-actions {
    margin-top: 8px;
}

.mark-read-btn {
    background: none;
    border: 1px solid #1da1f2;
    color: #1da1f2;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s;
}

.mark-read-btn:hover {
    background: #1da1f2;
    color: #fff;
}

.no-notifications {
    text-align: center;
    padding: 20px;
    color: #657786;
    font-size: 14px;
}

/* Notifications container smooth transitions */
.notifications-container {
    transition: opacity 0.3s ease-in-out;
}

/* Pagination smooth hover effects */
.pagination-btn {
    transition: all 0.2s ease-in-out;
}

.pagination-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(29, 161, 242, 0.3);
}

/* Notifications Page Styles */
.page-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.mark-all-read-btn {
    background: #1da1f2;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mark-all-read-btn:hover {
    background: #0d8bd9;
}

.notifications-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.notification-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 16px;
    transition: all 0.2s ease;
    position: relative;
}

.notification-card.unread {
    border-left: 4px solid #1da1f2;
    background: rgba(29, 161, 242, 0.05);
}

.notification-card.read {
    opacity: 0.8;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.notification-icon.info {
    background: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
}

.notification-icon.success {
    background: rgba(23, 191, 99, 0.1);
    color: #17bf63;
}

.notification-icon.error {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.notification-content {
    flex: 1;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.notification-title {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.notification-time {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.notification-message {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 12px 0;
}

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

.mark-read-btn {
    background: rgba(29, 161, 242, 0.1);
    color: #1da1f2;
    border: 1px solid rgba(29, 161, 242, 0.2);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mark-read-btn:hover {
    background: rgba(29, 161, 242, 0.2);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.pagination-btn {
    background: var(--panel);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 40px;
}

.pagination-btn:hover {
    background: var(--background);
}

.pagination-btn.active {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

/* Dashboard Styles */
.dashboard {
    background-color: var(--bg);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
}

/* My Tokens Page Styles */
.tokens-page-content {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.tokens-page-header {
    margin-bottom: 24px;
}

.tokens-page-header h2 {
    color: var(--text);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.tokens-balance-card {
    background-color: var(--panel);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.balance-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.balance-amount {
    color: var(--text);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.balance-usd {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.token-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn--full {
    width: 100%;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--muted);
    color: var(--text);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn--outline:hover {
    border-color: var(--text);
    background-color: rgba(255, 255, 255, 0.05);
}

.token-details-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

.token-card {
    background-color: var(--panel);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.card-value {
    color: var(--text);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.token-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(113, 118, 123, 0.15);
}

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

.breakdown-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
}

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

/* Responsive adjustments for tokens page */
@media (max-width: 768px) {
    .dashboard-page-content {
        width: 90%;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dashboard-info-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .dashboard-right {
        position: static;
    }
    
    .nav-left {
        gap: 16px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-user span:first-child {
        display: none;
    }
    
    .dropdown,
    .notifications-dropdown {
        width: 280px;
        right: -20px;
    }
    
    .tokens-balance-card {
        padding: 20px;
    }
    
    .balance-amount {
        font-size: 22px;
    }
    
    .token-card {
        padding: 20px;
    }
    
    .card-value {
        font-size: 18px;
    }
    
    .breakdown-label,
    .breakdown-value {
        font-size: 12px;
    }
}

/* Transactions Page Styles */
.transactions-page-content {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.transactions-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding: 32px;
    background-color: var(--panel);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.transactions-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transactions-icon svg {
    width: 32px;
    height: 32px;
}

.transactions-info {
    flex: 1;
}

.transactions-title {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.transactions-count {
    color: var(--text);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.transactions-table-container {
    background-color: var(--panel);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.transactions-table {
    width: 100%;
    border-collapse: collapse;
}

.transactions-table th {
    background-color: rgba(113, 118, 123, 0.1);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(113, 118, 123, 0.2);
}

.transactions-table td {
    color: var(--text);
    font-size: 14px;
    padding: 20px;
    border-bottom: 1px solid rgba(113, 118, 123, 0.1);
    vertical-align: middle;
}

.transactions-table tbody tr:last-child td {
    border-bottom: none;
}

.transactions-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.transaction-id {
    color: var(--accentStart);
    font-weight: 600;
    cursor: pointer;
}

.transaction-id:hover {
    text-decoration: underline;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: lowercase;
}

.status-completed {
    background-color: rgba(0, 186, 124, 0.2);
    color: var(--success);
}

.status-pending {
    background-color: rgba(255, 212, 0, 0.2);
    color: var(--warning);
}

.status-cancelled {
    background-color: rgba(113, 118, 123, 0.2);
    color: var(--muted);
}

.status-expired {
    background-color: rgba(244, 33, 46, 0.2);
    color: #f4212e;
}

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

.pagination-btn {
    background: transparent;
    border: 1px solid var(--muted);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--text);
    background-color: rgba(255, 255, 255, 0.05);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

/* Responsive adjustments for transactions page */
@media (max-width: 1024px) {
    .transactions-table-container {
        overflow-x: auto;
    }
    
    .transactions-table {
        min-width: 800px;
    }
}

@media (max-width: 768px) {
    .transactions-page-content {
        width: 90%;
    }
    
    .transactions-header {
        padding: 24px;
    }
    
    .transactions-count {
        font-size: 28px;
    }
    
    .transactions-table th,
    .transactions-table td {
        padding: 12px 16px;
    }
    
    .transactions-table th {
        font-size: 11px;
    }
    
    .transactions-table td {
        font-size: 13px;
    }
}

/* Dashboard Page Styles */
.dashboard-page-content {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.dashboard-page-header {
    margin-bottom: 24px;
}

.dashboard-page-header h2 {
    color: var(--text);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 24px;
    align-items: start;
}

.dashboard-bottom-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: start;
}

.dashboard-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.info-card {
    background-color: var(--panel);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-card__label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.info-card__value {
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.info-card__subtext {
    color: var(--muted);
    font-size: 12px;
}

.info-card__badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    width: fit-content;
}

.status-verified {
    background-color: rgba(0, 186, 124, 0.2);
    color: var(--success);
}

.status-member {
    background-color: rgba(29, 161, 242, 0.2);
    color: var(--accentStart);
}

.message-card {
    background-color: var(--panel);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.message-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accentStart), var(--accentEnd));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

.message-info {
    flex: 1;
}

.message-name {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.message-handle {
    color: var(--muted);
    font-size: 12px;
}

.message-content {
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

.message-content p {
    margin: 0 0 12px 0;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.dashboard-right {
    position: sticky;
    top: 80px;
}

.progress-panel {
    background-color: var(--panel);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-title {
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.progress-stats {
    margin-bottom: 12px;
}

.progress-stat {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 4px;
}

.progress-percentage {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.progress-bar-container {
    background-color: rgba(113, 118, 123, 0.2);
    border-radius: 8px;
    height: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accentStart), var(--accentEnd));
    height: 100%;
    border-radius: 8px;
    transition: width 0.3s ease;
}

.btn-buy-tokens {
    background: linear-gradient(135deg, var(--accentStart), var(--accentEnd));
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-buy-tokens:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

.dashboard-header {
    background-color: var(--bg);
    border-bottom: 1px solid #2f3336;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.dashboard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 53px;
    width: 100%;
    padding: 0 16px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-user a {
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
}

.nav-user a:hover {
    color: var(--text);
    text-decoration: none;
}

.nav-user span {
    color: var(--text);
    font-size: 14px;
}

.user-menu {
    position: relative;
}

.user-menu-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.user-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--panel);
    border: 1px solid #2f3336;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid rgba(47, 51, 54, 0.5);
    transition: background-color 0.2s ease;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.dropdown-item:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.dropdown-item:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.notification-icon {
    position: relative;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

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

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--accentStart);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.nav-item {
    position: relative;
}

.nav-item.has-dropdown .nav-link::after {
    content: '▼';
    margin-left: 6px;
    font-size: 10px;
    transition: transform 0.2s ease;
}

.nav-item.has-dropdown:hover .nav-link::after {
    transform: rotate(180deg);
}

.nav-item .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--panel);
    border: 1px solid #2f3336;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.nav-item .dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.username-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    transition: background-color 0.2s ease;
    margin-right: 12px;
}

.username-menu:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.username-menu .dropdown-arrow {
    font-size: 10px;
    color: var(--muted);
}

.profile-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    transition: background-color 0.2s ease;
}

.profile-menu:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.profile-menu .dropdown-arrow {
    font-size: 10px;
    color: var(--muted);
}

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

.dropdown-arrow {
    font-size: 10px;
    color: var(--muted);
}

.username-menu .dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--panel);
    border: 1px solid #2f3336;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 280px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.username-menu .dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-menu .dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--panel);
    border: 1px solid #2f3336;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.profile-menu .dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    display: block;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid rgba(47, 51, 54, 0.5);
    transition: background-color 0.2s ease;
}

.dropdown-header:hover {
    background-color: rgba(29, 155, 240, 0.1);
}

.dropdown-section {
    padding: 16px;
}

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

.dropdown-links {
    margin-bottom: 12px;
    line-height: 1.6;
}

.dropdown-link {
    color: var(--accentStart);
    text-decoration: none;
    font-size: 13px;
}

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

.dropdown-description {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
    margin-top: 12px;
}

/* Status Page Styles */
.status-content {
    background-color: var(--panel);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.current-status-section {
    margin-bottom: 32px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

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

.status-icon {
    font-size: 20px;
}

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

.status-label {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 4px;
}

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

.progress-section {
    margin-bottom: 32px;
}

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

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

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

.progress-bar-wrapper {
    margin-bottom: 8px;
}

.progress-bar-bg {
    background-color: #2f3336;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    background: linear-gradient(90deg, var(--accentStart), var(--accentEnd));
    height: 100%;
    transition: width 0.3s ease;
}

.progress-markers {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 12px;
}

.progress-requirement {
    background-color: rgba(29, 155, 240, 0.1);
    border: 1px solid rgba(29, 155, 240, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
}

.requirement-text {
    color: var(--accentStart);
    font-size: 13px;
}

.status-tiers-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.tier-card {
    background-color: #2f3336;
    border: 1px solid #3e4347;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 4px;
}

.tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.tier-header:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.tier-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tier-icon {
    font-size: 24px;
}

.tier-icon.bronze { color: #cd7f32; }
.tier-icon.silver { color: #c0c0c0; }
.tier-icon.gold { color: #ffd700; }
.tier-icon.platinum { color: #e5e4e2; }
.tier-icon.diamond { color: #b9f2ff; }
.tier-icon.legendary { color: #ffd700; }

.tier-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tier-name {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
}

.tier-range {
    color: var(--muted);
    font-size: 14px;
}

.tier-badge {
    background-color: #2f3336;
    color: var(--muted);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.tier-arrow {
    color: var(--muted);
    font-size: 14px;
    transition: transform 0.2s ease;
}

.tier-content {
    display: none;
    background: rgb(42, 46, 48);
    padding: 10px;
    border-top: 1px solid #2f3336;
}

.tier-benefit {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.tier-benefit:last-child {
    margin-bottom: 0;
}

.status-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    padding: 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* How to Buy Page Styles */
.how-to-buy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.page-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.feature-card {
    background-color: var(--panel);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid #2f3336;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.guide-section {
    background-color: var(--panel);
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #2f3336;
}

.guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
}

.guide-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.guide-toggle {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.guide-content {
    padding: 0 24px 24px 24px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #2f3336;
}

.step-item:last-child {
    border-bottom: none;
}

.step-number {
    background-color: #1d9bf0;
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.step-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.step-description {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .status-content {
        padding: 16px;
    }
    
    .how-to-buy-content {
        padding: 0 16px;
    }
    
    .page-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .guide-header {
        padding: 16px 20px;
    }
    
    .guide-content {
        padding: 0 20px 20px 20px;
    }
    
    .step-item {
        gap: 12px;
        padding: 16px 0;
    }
}

/* Leaderboard Page Styles */
.leaderboard-content {
    max-width: 1200px;
    margin: 0 auto;
}

.leaderboard-description {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.leaderboard-table-container {
    background-color: var(--panel);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #2f3336;
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    padding: 16px 12px;
    border-bottom: 1px solid #2f3336;
}

.leaderboard-table td {
    padding: 20px 12px;
    border-bottom: 1px solid #2f3336;
}

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

.rank-column {
    width: 80px;
}

.investor-column {
    width: 150px;
}

.date-column {
    width: 180px;
}

.txhash-column {
    width: 150px;
}

.tokens-column {
    width: 150px;
    text-align: right;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
}

.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #B8860B);
}

.investor-name {
    color: #ffffff;
    font-size: 14px;
    font-family: monospace;
}

.date-cell {
    color: var(--muted);
    font-size: 14px;
}

.txhash-link {
    color: #1d9bf0;
    text-decoration: none;
    font-family: monospace;
    font-size: 14px;
}

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

.token-amount {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.pagination-btn {
    background: none;
    border: 1px solid #2f3336;
    color: var(--muted);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #2f3336;
    color: #ffffff;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

@media (max-width: 768px) {
    .leaderboard-content {
        padding: 0 16px;
    }
    
    .leaderboard-description {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    .leaderboard-table-container {
        padding: 16px;
    }
    
    .leaderboard-table th,
    .leaderboard-table td {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .rank-badge {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .investor-name,
    .txhash-link,
    .token-amount {
        font-size: 12px;
    }
    
    .date-cell {
        font-size: 11px;
    }
}

/* Referral Program Page Styles */
.referral-content {
    max-width: 1000px;
    margin: 0 auto;
}

.referral-description {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 40px;
}

/* Tokens Page Styles */
.tokens-content {
    max-width: 1000px;
    margin: 0 auto;
}

.tokens-description {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 40px;
}

/* Status Page Styles */
.status-page-content {
    max-width: 1000px;
    margin: 0 auto;
}

.status-description {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 40px;
}

/* How to Buy Page Styles */
.how-to-buy-description {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 40px;
}

/* Transactions Page Styles */
.transactions-content {
    max-width: 1000px;
    margin: 0 auto;
}

.transactions-description {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 40px;
}

/* Buy Token Page Styles */
.buy-token-content {
    max-width: 1200px;
    margin: 0 auto;
}

.buy-token-description {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 16px;
}

.buy-token-subtitle {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 40px;
}

.buy-token-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.buy-token-left {
    background: var(--panel);
    border-radius: 12px;
    padding: 32px;
}

.buy-token-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.token-selection-section {
    margin-bottom: 32px;
}

.currency-selector {
    position: relative;
    margin-bottom: 16px;
}

.selected-currency {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #0d0e10;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.selected-currency:hover {
    border-color: var(--primary);
}

.currency-icon {
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.currency-name {
    flex: 1;
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
}

.dropdown-arrow {
    color: var(--muted);
    font-size: 12px;
    transition: transform 0.2s ease;
}

.currency-selector.open .dropdown-arrow {
    transform: rotate(180deg);
}

.currency-dropdown-menu {
    background: #0d0e10;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 4px;
}

.currency-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.currency-dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
}

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

.currency-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}

.search-container {
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 14px;
}

.search-input::placeholder {
    color: var(--muted);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.currency-list {
    padding: 8px;
    max-height: 240px;
    overflow-y: auto;
}

.currency-list::-webkit-scrollbar {
    width: 8px;
}

.currency-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.currency-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.currency-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.currency-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.currency-item:hover {
    background: var(--panel);
}


.currency-item.selected .currency-name,
.currency-item.selected .currency-rate {
    color: white;
}

.currency-info {
    display: flex;
    align-items: center;
}

.currency-info .currency-icon {
    margin-right: 12px;
    font-size: 16px;
}

.currency-info .currency-name {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.currency-rate {
    color: var(--muted);
    font-size: 14px;
}

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

.section-description {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.loyalty-program {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.status-tiers {
    margin-bottom: 32px;
}

.tiers-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
    background: #0d0e10;
    border-radius: 10px;
    padding: 5px;
}

.status-tier {
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.status-tier.bronze { border-color: #cd7f32; }
.status-tier.silver { border-color: #c0c0c0; }
.status-tier.gold { border-color: #ffd700; }
.status-tier.platinum { border-color: #e5e4e2; }
.status-tier.diamond { border-color: #b9f2ff; }
.status-tier.legendary { border-color: #ffd700; }

.tier-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

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

.tier-requirement {
    font-size: 12px;
    color: var(--muted);
}

.bonus-details {
    text-align: center;
}

.bonus-link {
    color: #d3d3d3;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    background: none;
    border: 1px solid #828282;
    border-radius: 10px;
    cursor: pointer;
    padding: 9px 10px;
}

.bonus-link:hover {
    opacity: 0.9;
}

.purchase-input-section {
    margin-top: 32px;
}

.amount-input-container {
    position: relative;
    margin-bottom: 10px;
}

.amount-input-main {
    width: 100%;
    padding: 16px 20px;
    background: #0d0e10;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
}

.input-close-main {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    cursor: pointer;
    font-size: 30px;
}

.conversion-rate {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--muted);
}

.rate-left, .rate-right {
    color: var(--muted);
}

.progress-bars-section {
    margin-bottom: 32px;
}

.progress-percentages {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.progress-percentage {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    flex: 1;
}

.progress-percentage:nth-child(2) {
    text-align: right;
}

.progress-percentage:nth-child(3) {
    text-align: right;
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background: #2a2d31;
    border-radius: 6px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #1DA1F2, #4A9EFF);
    transition: width 0.3s ease;
}

.progress-bar-fill:nth-child(1) {
    width: 23.42%;
}

.progress-amounts {
    display: flex;
    justify-content: space-between;
}

.progress-amount {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.progress-amount:nth-child(2) {
    text-align: center;
}

.progress-amount:nth-child(3) {
    text-align: right;
}

.bonus-calculations {
    margin-bottom: 24px;
}

.bonus-calculations .bonus-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.bonus-calculations .bonus-label {
    color: var(--muted);
    font-weight: 500;
}

.bonus-calculations .bonus-value {
    color: var(--text);
    font-weight: 600;
}

.bonus-calculations .bonus-row.total-tokens {
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 12px;
}

.bonus-calculations .bonus-row.total-tokens .bonus-value {
    color: #22c55e;
    font-weight: 600;
}

.bonus-calculations .total-tokens .bonus-label {
    color: #00ba7c;
    font-weight: 600;
}

.bonus-calculations .total-tokens .bonus-value {
    color: #00ba7c;
    font-weight: 700;
}

.make-payment-btn {
    width: 100%;
    padding: 16px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 24px;
}

.make-payment-btn:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.make-payment-btn:disabled {
    background: var(--muted);
    color: #666;
    cursor: not-allowed;
    opacity: 0.5;
}

.error-message {
    display: flex;
    align-items: center;
    background: #dc2626;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 14px;
}

.error-icon {
    margin-right: 8px;
    font-size: 16px;
}

.error-text {
    flex: 1;
}

.error-close {
    margin-left: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

.error-close:hover {
    opacity: 0.8;
}

.amount-input-main:disabled {
    color: var(--muted);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Payment Modal Styles */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.payment-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--panel);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.payment-modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

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

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--panel);
    color: var(--text);
}

.modal-body {
    padding: 24px;
}

.payment-summary {
    margin-bottom: 32px;
}

.payment-text {
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.payment-amount {
    color: var(--primary);
    font-weight: 600;
}

.token-amount {
    color: var(--primary);
    font-weight: 600;
}

.bonus-amount {
    color: #22c55e;
    font-weight: 600;
}

.payment-note {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.payment-method-section {
    margin-bottom: 32px;
}

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

.payment-method {
    margin-bottom: 12px;
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-method-label {
    display: flex;
    align-items: center;
    padding: 16px;
    background: var(--panel);
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-method input[type="radio"]:checked + .payment-method-label {
    border-color: var(--primary);
    background: rgba(0, 123, 255, 0.1);
}

.payment-method-icon {
    margin-right: 12px;
    font-size: 20px;
}

.payment-method-text {
    color: var(--text);
    font-weight: 500;
}

.payment-method-note {
    color: var(--muted);
    font-size: 12px;
    margin-top: 8px;
}

.agreement-section {
    margin-bottom: 32px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 16px;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: var(--panel);
    border: 2px solid #282b30;
    border-radius: 4px;
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.agreement-text {
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

.info-notice {
    display: flex;
    align-items: flex-start;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 8px;
    padding: 12px;
}

.info-icon {
    color: var(--primary);
    margin-right: 8px;
    font-size: 16px;
    margin-top: 2px;
}

.info-text {
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

.buy-token-now-btn {
    width: 100%;
    padding: 16px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.buy-token-now-btn:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.buy-token-now-btn:disabled {
    background: var(--muted);
    color: #666;
    cursor: not-allowed;
    opacity: 0.5;
}

.token-balance-card {
    background: var(--panel);
    border-radius: 12px;
    padding: 24px;
}

.balance-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.balance-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.balance-icon svg {
    width: 20px;
    height: 20px;
}

.balance-label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}

.balance-amount {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.contribution-section, .token-sales-section, .sales-progress-section {
    background: var(--panel);
    border-radius: 12px;
    padding: 24px;
}

.contribution-title, .sales-title, .progress-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.contribution-amounts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contribution-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.contribution-currency {
    font-size: 12px;
    color: var(--muted);
}

.sales-rate {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.exchange-rates {
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.exchange-title {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.exchange-item {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
}

.progress-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.progress-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-label {
    font-size: 12px;
    color: var(--muted);
}

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

.sales-progress-bar {
    width: 100%;
    height: 8px;
    background: #2a2d31;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.sales-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1DA1F2, #4A9EFF);
    border-radius: 4px;
    transition: width 0.3s ease;
}


.btn-buy-tokens {
    width: 100%;
    background: linear-gradient(135deg, #1DA1F2, #4A9EFF);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    margin-top: 16px;
    transition: all 0.3s ease;
}

.btn-buy-tokens:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 161, 242, 0.3);
}

@media (max-width: 1024px) {
    .buy-token-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .status-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .input-row {
        grid-template-columns: 1fr;
    }
    
    .quick-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Page Styles */
.blog-content {
    max-width: 1000px;
    margin: 0 auto;
}

.blog-description {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 40px;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--text);
}

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

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.blog-card {
    background: var(--panel);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-placeholder.large {
    height: 300px;
}

.blog-placeholder.small {
    height: 120px;
}

.placeholder-content {
    text-align: center;
    color: white;
}

.x-logo {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    opacity: 0.9;
}

.placeholder-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
}

.blog-content-area {
    padding: 20px;
}

.blog-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--text);
    text-decoration: none;
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--muted);
    flex-wrap: wrap;
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn svg {
    width: 16px;
    height: 16px;
}

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

/* Blog Post Page Styles */
.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.back-to-blog {
    margin-bottom: 24px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.8;
}

.back-link svg {
    width: 16px;
    height: 16px;
}

.blog-post {
    background: var(--panel);
    border-radius: 12px;
    overflow: hidden;
}

.post-header {
    padding: 32px 32px 0;
}

.post-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 16px 0;
    color: var(--text);
}

.post-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.post-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.post-featured-image {
    margin: 0 32px 32px;
}

.post-content {
    padding: 0 32px 32px;
    line-height: 1.7;
}

.post-intro {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 24px;
    font-style: italic;
}

.post-content h2 {
    font-size: 24px;
    margin: 32px 0 16px 0;
    color: var(--text);
}

.post-content p {
    margin-bottom: 16px;
    color: var(--text);
}

.feature-list {
    margin: 16px 0;
    padding-left: 20px;
}

.feature-list li {
    margin-bottom: 8px;
    color: var(--text);
}

.post-quote {
    background: var(--background);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 24px 0;
    font-style: italic;
    color: var(--muted);
    border-radius: 0 8px 8px 0;
}

.related-articles {
    border-top: 1px solid var(--border);
    padding: 32px;
}

.related-articles h3 {
    margin: 0 0 24px 0;
    font-size: 20px;
    color: var(--text);
}

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

.related-card {
    background: var(--background);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.related-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.related-content {
    padding: 16px;
}

.related-content h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}

.related-content h4 a {
    color: var(--text);
    text-decoration: none;
}

.related-content h4 a:hover {
    color: var(--primary);
}

.related-date {
    font-size: 14px;
    color: var(--muted);
}

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

.referral-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    background-color: var(--panel);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid #2f3336;
}

.stat-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    color: #1d9bf0;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-description {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.referral-link-section,
.how-it-works-section,
.referrals-section,
.faq-section {
    background-color: var(--panel);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid #2f3336;
}

.section-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-description {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.referral-link-container {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.referral-link-input {
    flex: 1;
    background-color: #1a1d21;
    border: 1px solid #2f3336;
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    font-family: monospace;
}

.copy-button {
    background-color: #1d9bf0;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.copy-button:hover {
    background-color: #1a8cd8;
}

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

.copy-code {
    color: var(--muted);
    font-size: 14px;
}

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

.step-card {
    text-align: center;
}

.step-number {
    background-color: #1d9bf0;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    margin: 0 auto 16px auto;
}

.step-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-description {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.empty-referrals {
    text-align: center;
    padding: 40px 20px;
}

.empty-message {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
}

.faq-item {
    border-bottom: 1px solid #2f3336;
    margin-bottom: 16px;
    padding-bottom: 16px;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 16px 0;
    user-select: none;
}

.faq-question span:first-child {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

.faq-toggle {
    color: var(--muted);
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.2s ease;
}

.faq-answer {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    padding: 0 0 16px 0;
}

@media (max-width: 768px) {
    .referral-content {
        padding: 0 16px;
    }
    
    .referral-stats {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .referral-link-section,
    .how-it-works-section,
    .referrals-section,
    .faq-section {
        padding: 24px 20px;
    }
    
    .referral-link-container {
        flex-direction: column;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .faq-question span:first-child {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .status-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .tier-header {
        padding: 16px;
    }
    
    .tier-left {
        gap: 12px;
    }
    
    .tier-content {
        padding: 0 16px 16px 16px;
    }
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid rgba(47, 51, 54, 0.5);
    transition: background-color 0.2s ease;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: rgba(29, 155, 240, 0.1);
}

.notifications-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--panel);
    border: 1px solid #2f3336;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    width: 320px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.notifications-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notifications-header {
    padding: 16px;
    border-bottom: 1px solid rgba(47, 51, 54, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notifications-title {
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.mark-all-read {
    color: var(--accentStart);
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
}

.mark-all-read:hover {
    text-decoration: underline;
}

.notifications-content {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    padding: 16px;
    border-bottom: 1px solid rgba(47, 51, 54, 0.3);
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

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

.notification-item:last-child {
    border-bottom: none;
}

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

.notification-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.notification-content {
    color: var(--text);
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.notification-time {
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}

.notification-actions {
    margin: 0;
}

.mark-read-btn {
    background: none;
    border: 1px solid var(--muted);
    color: var(--muted);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mark-read-btn:hover {
    border-color: var(--text);
    color: var(--text);
}

.view-all-notifications {
    padding: 12px 16px;
    text-align: center;
    border-top: 1px solid rgba(47, 51, 54, 0.5);
}

.view-all-link {
    color: var(--accentStart);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* 2FA Verification Page Styles */
.method-selection {
    margin-bottom: 32px;
}

.method-selection h3 {
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.method-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.method-btn {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--panel);
    border: 2px solid #2f3336;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

.method-btn:hover {
    border-color: var(--accentStart);
    background: rgba(29, 155, 240, 0.05);
}

.method-icon {
    font-size: 24px;
    margin-right: 16px;
    flex-shrink: 0;
}

.method-info h4 {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.method-info p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.link-btn {
    background: none;
    border: none;
    color: var(--accentStart);
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
}

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

.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 14px;
}

.message.success {
    background: rgba(0, 186, 124, 0.1);
    border: 1px solid rgba(0, 186, 124, 0.3);
    color: var(--success);
}

.message.error {
    background: rgba(244, 33, 46, 0.1);
    border: 1px solid rgba(244, 33, 46, 0.3);
    color: #ff453a;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.nav-brand svg {
    width: 30px;
    height: 30px;
    margin-right: 12px;
    fill: var(--text);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 16px;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    padding: 16px 0;
    display: block;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-user {
    display: flex;
    align-items: center;
    color: var(--text);
    font-size: 15px;
}

.user-menu {
    position: relative;
    margin-left: 16px;
}

.user-menu-toggle {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 15px;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.user-menu-toggle:hover {
    background-color: var(--panel);
    color: var(--text);
}

.dashboard-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
}

/* Banner */
.banner {
    display: flex;
    align-items: center;
    background-color: rgba(255, 182, 193, 0.1);
    border: 1px solid rgba(255, 182, 193, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 32px;
    color: #ffb6c1;
}

.banner__icon {
    margin-right: 12px;
    font-size: 16px;
}

.banner__text {
    flex: 1;
    font-size: 15px;
}

.banner {
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    max-height: 60px;
    overflow: hidden;
}

.banner.hidden {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
    margin: 0;
    padding: 0;
}

.banner__close {
    background: none;
    border: none;
    color: #ffb6c1;
    cursor: pointer;
    transition: color 0.2s ease;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    margin-left: 12px;
}

/* Profile Page Styles */
.profile-page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
}

.profile-header {
    text-align: center;
    margin-bottom: 32px;
}

.profile-header .page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.profile-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
    justify-content: center;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 24px;
    color: var(--muted);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: var(--text);
}

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

.tab-content {
    min-height: 400px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.profile-section {
    background: var(--panel);
    border-radius: 12px;
    padding: 32px;
}

.profile-avatar-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    overflow: hidden;
    position: relative;
}

.profile-avatar svg {
    width: 40px;
    height: 40px;
}

.profile-avatar img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.avatar-info {
    flex: 1;
}

.change-photo-btn {
    background: var(--primary);
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 8px;
    transition: background 0.2s ease;
}

.change-photo-btn:hover {
    background: #0056b3;
}

.avatar-specs {
    font-size: 12px;
    color: var(--muted);
}

.avatar-specs div {
    margin-bottom: 4px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-input[readonly] {
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
}

.password-container {
    position: relative;
}

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

.password-requirements {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

.save-btn {
    background: var(--primary);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.save-btn:hover {
    background: #0056b3;
}

.save-btn.loading {
    background: var(--primary);
    color: white;
    opacity: 0.6;
    cursor: not-allowed;
}

.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* 2FA Styles */
.auth-method {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    background: var(--background);
}

.auth-method-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.auth-method-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.auth-method-info {
    flex: 1;
}

.auth-method-info h5 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
}

.auth-method-info p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.auth-method-status {
    margin-left: auto;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.enabled {
    background: #d4edda;
    color: #155724;
}

.status-badge.disabled {
    background: #f8d7da;
    color: #721c24;
}

.auth-method-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.setup-btn, .disable-btn, .test-btn, .backup-codes-btn, .primary-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

#sendEmailCodeBtn {
    margin-top: 12px;
}

.setup-btn:hover, .primary-btn:hover {
    background: #0056b3;
}

.disable-btn {
    background: #dc3545;
    color: white;
}

.disable-btn:hover {
    background: #c82333;
}

.test-btn, .backup-codes-btn {
    background: var(--border);
    color: var(--text);
}

.test-btn:hover, .backup-codes-btn:hover {
    background: #e9ecef;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: var(--background);
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

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

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.close {
    color: var(--muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

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

.modal-body {
    padding: 24px;
}

.qr-code-container {
    text-align: center;
    background: white;
    border-radius: 8px;
    display: inline-block;
}

.manual-key {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.manual-key code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    word-break: break-all;
}

.backup-codes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    margin: 12px 0;
}

.backup-codes code {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    text-align: center;
    display: block;
}

.setup-steps h4 {
    color: var(--primary);
    margin: 20px 0 8px 0;
    font-size: 16px;
}

.setup-steps h4:first-child {
    margin-top: 0;
}


.save-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.profile-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 14px;
    display: none;
}

.profile-message.success {
    background: rgba(0, 186, 124, 0.1);
    border: 1px solid rgba(0, 186, 124, 0.3);
    color: var(--success);
}

.profile-message.error {
    background: rgba(255, 69, 58, 0.1);
    border: 1px solid rgba(255, 69, 58, 0.3);
    color: #ff453a;
}

.requirement {
    font-size: 12px;
    margin: 4px 0;
    transition: color 0.2s ease;
}

.requirement.valid {
    color: var(--success);
}

.requirement.invalid {
    color: #ff453a;
}

.section-description {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.profile-notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 6px;
    border-bottom: 1px solid var(--border);
}

.profile-notification-item:nth-of-type(2) {
    margin-bottom: 24px;
}

.profile-notification-item:last-child {
    border-bottom: none;
}

.notification-info h4 {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.notification-info p {
    color: var(--muted);
    font-size: 12px;
    margin: 0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2a2d31;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary);
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.security-option {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

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

.auth-methods {
    margin-top: 24px;
}

.auth-methods h4 {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.auth-method {
    margin-bottom: 16px;
}

.auth-method input[type="radio"] {
    display: none;
}

.auth-method-label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-method-label:hover {
    border-color: var(--primary);
}

.auth-method input[type="radio"]:checked + .auth-method-label {
    border-color: var(--primary);
    background: rgba(29, 161, 242, 0.1);
}

.auth-method-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.auth-method-info h5 {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.auth-method-info p {
    color: var(--muted);
    font-size: 12px;
    margin: 0;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.page-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

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

/* Badges */
.badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge--verified {
    background-color: var(--accentStart);
    color: var(--text);
}

.badge--member {
    background-color: var(--warning);
    color: var(--bg);
}

.badge--success {
    background-color: var(--success);
    color: var(--text);
}

.badge--primary {
    background-color: var(--accentStart);
    color: var(--text);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.card {
    background-color: var(--panel);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card__label {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 400;
}

.card__value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.2;
}

.card__subtext {
    font-size: 13px;
    color: var(--muted);
    font-weight: 400;
}

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

.card__badges .badge {
    align-self: flex-start;
    font-size: 12px;
    padding: 4px 12px;
}

/* Main Grid */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

/* Tweet Card */
.tweet-card {
    background-color: var(--panel);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tweet-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.tweet-card__avatar {
    width: 40px;
    height: 40px;
    background-color: var(--accentStart);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.tweet-card__avatar span {
    font-weight: bold;
    color: var(--text);
    font-size: 14px;
}

.tweet-card__info {
    display: flex;
    flex-direction: column;
}

.tweet-card__name {
    font-weight: bold;
    color: var(--text);
    font-size: 15px;
    margin-bottom: 2px;
}

.tweet-card__handle {
    color: var(--muted);
    font-size: 13px;
}

.tweet-card__content {
    color: var(--text);
    line-height: 1.6;
}

.tweet-card__content p {
    margin-bottom: 16px;
    font-size: 15px;
}

.tweet-card__content p:last-child {
    margin-bottom: 0;
}

/* Progress Card */
.progress-card {
    background-color: var(--panel);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    height: fit-content;
}

.progress-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 16px 0;
}

.progress-card__meta {
    margin-bottom: 16px;
}

.progress-card__meta-item {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}

.progress-card__percentage {
    font-size: 14px;
    color: var(--muted);
    text-align: right;
    margin-bottom: 12px;
}

/* Progress Bar */
.progress {
    width: 100%;
    height: 8px;
    background-color: #2f3336;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px;
}

.progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accentStart), var(--accentEnd));
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Button */
.btn {
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 12px 24px;
}

.btn--primary {
    background: linear-gradient(90deg, var(--accentStart), var(--accentEnd));
    color: var(--text);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

.btn--primary:hover {
    box-shadow: 0 6px 16px rgba(29, 161, 242, 0.4);
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-content {
        padding: 20px;
    }
    
    .main-grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .left-panel {
        padding: 20px;
        min-height: 200px;
    }
    
    .right-panel {
        border-left: none;
        border-top: 1px solid #2f3336;
        padding: 20px;
    }
    
    .logo {
        width: 200px;
    }
    
    .form-container {
        max-width: 100%;
    }
    
    .dashboard-nav {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
    }
    
    .nav-menu {
        margin: 16px 0;
    }
    
    .nav-item {
        margin: 0 8px;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .dashboard-page-content {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .left-panel,
    .right-panel {
        padding: 16px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .dashboard-content {
        padding: 16px;
    }
    
    .card,
    .tweet-card,
    .progress-card {
        padding: 16px;
    }
    
    .banner {
        padding: 12px 16px;
    }
}
