/* style.css - Extracted from index.php */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #4A90E2;
    --primary-dark: #3A7BC8;
    --primary-light: #6BA3E5;
    --secondary: #2C5282;
    --accent: #1A365D;
    --success: #48BB78;
    --warning: #F6AD55;
    --danger: #FC8181;
    --dark: #1A202C;
    --light: #F7FAFC;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] {
    --bg-primary: #1A202C;
    --bg-secondary: #2D3748;
    --bg-tertiary: #4A5568;
    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
    --text-tertiary: #718096;
    --border: #4A5568;
    --glass: rgba(26, 32, 44, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --protected-bg: rgba(26, 32, 44, 0.95);
    --redirect-bg: rgba(26, 32, 44, 0.95);
    --protected-card-bg: #2D3748;
    --redirect-card-bg: #2D3748;
    --protected-form-bg: #4A5568;
    --protected-input-bg: #1A202C;
    --protected-text: #FFFFFF;
    --protected-subtext: #A0AEC0;
    --protected-button-bg: linear-gradient(135deg, #4A90E2 0%, #3A7BC8 100%);
    --protected-button-text: #FFFFFF;
    --protected-error-bg: rgba(252, 129, 129, 0.1);
    --protected-error-border: rgba(252, 129, 129, 0.2);
    --protected-error-text: #FC8181;
    --protected-admin-ads-bg: rgba(26, 32, 44, 0.2);
    --redirect-button-bg: linear-gradient(135deg, #4A90E2 0%, #3A7BC8 100%);
    --redirect-button-text: #FFFFFF;
    --redirect-progress-bg: #4A5568;
    --redirect-progress-bar-bg: linear-gradient(90deg, #4A90E2, #3A7BC8);
    --redirect-admin-ads-bg: rgba(26, 32, 44, 0.2);
    --redirect-countdown-text: #FFFFFF;
    --redirect-icon-bg: linear-gradient(135deg, #4A90E2 0%, #3A7BC8 100%);
    --redirect-icon-text: #FFFFFF;
    --redirect-title-text: #FFFFFF;
    --redirect-subtitle-text: #A0AEC0;
}

[data-theme="light"] {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7FAFC;
    --bg-tertiary: #EDF2F7;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-tertiary: #718096;
    --border: #E2E8F0;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(74, 144, 226, 0.1);
    --protected-bg: rgba(255, 255, 255, 0.95);
    --redirect-bg: rgba(255, 255, 255, 0.95);
    --protected-card-bg: #FFFFFF;
    --redirect-card-bg: #FFFFFF;
    --protected-form-bg: #F7FAFC;
    --protected-input-bg: #FFFFFF;
    --protected-text: #1A202C;
    --protected-subtext: #4A5568;
    --protected-button-bg: linear-gradient(135deg, #4A90E2 0%, #3A7BC8 100%);
    --protected-button-text: #FFFFFF;
    --protected-error-bg: rgba(252, 129, 129, 0.1);
    --protected-error-border: rgba(252, 129, 129, 0.2);
    --protected-error-text: #FC8181;
    --protected-admin-ads-bg: rgba(255, 255, 255, 0.2);
    --redirect-button-bg: linear-gradient(135deg, #4A90E2 0%, #3A7BC8 100%);
    --redirect-button-text: #FFFFFF;
    --redirect-progress-bg: #EDF2F7;
    --redirect-progress-bar-bg: linear-gradient(90deg, #4A90E2, #3A7BC8);
    --redirect-admin-ads-bg: rgba(255, 255, 255, 0.2);
    --redirect-countdown-text: #1A202C;
    --redirect-icon-bg: linear-gradient(135deg, #4A90E2 0%, #3A7BC8 100%);
    --redirect-icon-text: #FFFFFF;
    --redirect-title-text: #1A202C;
    --redirect-subtitle-text: #4A5568;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: all 0.3s ease;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.05;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--bg-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 80%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--bg-tertiary);
}

.theme-toggle {
    background: var(--bg-tertiary);
    border: none;
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
    transform: rotate(180deg);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(252, 129, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(252, 129, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(252, 129, 129, 0);
    }
}

main {
    padding: 3rem 0;
    flex: 1;
}

.hero {
    text-align: center;
    padding: 2rem 0;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(74, 144, 226, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(74, 144, 226, 0.8)); }
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-control:disabled {
    background: var(--bg-tertiary);
    opacity: 0.6;
    cursor: not-allowed;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #F56565 100%);
}

.btn-full {
    width: 100%;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.alert-success {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1), rgba(72, 187, 120, 0.05));
    border: 1px solid rgba(72, 187, 120, 0.2);
    color: var(--success);
}

.alert-error {
    background: linear-gradient(135deg, rgba(252, 129, 129, 0.1), rgba(252, 129, 129, 0.05));
    border: 1px solid rgba(252, 129, 129, 0.2);
    color: var(--danger);
}

.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Responsive stats grid - 2 columns on mobile, 4 columns on desktop */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.2);
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.table-container {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

tr:hover td {
    background: var(--bg-tertiary);
}

.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 1rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.tab {
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tab.active {
    background: var(--primary);
    color: white;
}

.tab:hover {
    color: var(--primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.url-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.url-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.url-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.url-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.1);
}

.url-info {
    flex: 1;
    min-width: 0;
    margin-bottom: 1rem;
}

.url-short {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    word-break: break-all;
}

.url-original {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.url-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.url-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-password {
    background: rgba(246, 173, 85, 0.2);
    color: var(--warning);
}

.badge-ads {
    background: rgba(72, 187, 120, 0.2);
    color: var(--success);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-tertiary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.modal-body {
    margin-bottom: 1.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: notificationSlideIn 0.3s ease;
    z-index: 3000;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
}

@keyframes notificationSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pagination button {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.countdown {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 2rem 0;
    text-align: center;
}

.upload-area {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: var(--primary);
    background: var(--bg-tertiary);
}

/* Login and Registration Enhancements */
.auth-container {
    display: flex;
    min-height: 100vh;
}

.auth-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-right {
    flex: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: white;
}

.auth-right h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.auth-right p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 400px;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.success-modal-content {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: successModalSlideIn 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes successModalSlideIn {
    0% { transform: translateY(-100px) scale(0.8); opacity: 0; }
    50% { transform: translateY(0) scale(1.05); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--success), #38A169);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    animation: successIconPulse 1s infinite alternate;
}

@keyframes successIconPulse {
    from { transform: scale(1); box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.7); }
    to { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(72, 187, 120, 0); }
}

.success-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.success-url {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.success-url input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    outline: none;
}

.success-share {
    margin-top: 1.5rem;
}

.success-share h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.share-link {
    background: var(--primary);
    color: white;
}

.share-copy {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.success-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-tertiary);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.success-close:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg);
}

/* Search Section */
.search-section {
    margin: 3rem 0;
}

.search-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* How to Use Section */
.how-to-use {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.how-to-use h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--bg-tertiary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--bg-tertiary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.step-benefit {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

/* URL Search Results */
.search-results {
    margin-top: 2rem;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-secondary);
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-result-item:hover {
    background: var(--bg-tertiary);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-short {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
    flex: 1;
}

.search-result-original {
    font-size: 0.85rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 2;
}

.search-result-icons {
    display: flex;
    gap: 0.5rem;
}

.search-result-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.search-result-icon.password {
    background: rgba(246, 173, 85, 0.2);
    color: var(--warning);
}

.search-result-icon.ads {
    background: rgba(72, 187, 120, 0.2);
    color: var(--success);
}

/* Admin Settings Enhancements */
.settings-section {
    margin-bottom: 2rem;
}

.settings-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-col {
    flex: 1;
}

.form-col-2 {
    flex: 2;
}

.form-col-3 {
    flex: 3;
}

/* Dashboard Enhancements */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.dashboard-greeting {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.greeting-icon {
    font-size: 1.5rem;
    animation: greetingIconPulse 2s infinite alternate;
}

@keyframes greetingIconPulse {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.dashboard-time {
    font-size: 1rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
    font-weight: 500;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    display: inline-block;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.dashboard-stat-card {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.dashboard-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.1);
}

.dashboard-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.dashboard-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1rem;
}

.dashboard-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.dashboard-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.dashboard-stat-change {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.dashboard-stat-change.positive {
    background: rgba(72, 187, 120, 0.2);
    color: var(--success);
}

.dashboard-stat-change.negative {
    background: rgba(252, 129, 129, 0.2);
    color: var(--danger);
}

/* Sitemap Status */
.sitemap-status {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid var(--primary);
}

.sitemap-status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.sitemap-status-text {
    flex: 1;
}

.sitemap-status-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.sitemap-status-time {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Sitemap Countdown */
.sitemap-countdown {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid var(--primary);
}

.sitemap-countdown-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.sitemap-countdown-text {
    flex: 1;
}

.sitemap-countdown-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.sitemap-countdown-time {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Backup Countdown */
.backup-countdown {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid var(--primary);
}

.backup-countdown-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.backup-countdown-text {
    flex: 1;
}

.backup-countdown-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.backup-countdown-time {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Ads Management Modal */
.ads-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.ads-modal-content {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.ads-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ads-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.ads-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ads-status.active {
    background: rgba(72, 187, 120, 0.2);
    color: var(--success);
}

.ads-status.inactive {
    background: rgba(252, 129, 129, 0.2);
    color: var(--danger);
}

.ads-preview {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border: 1px dashed var(--border);
    overflow: hidden;
}

.ads-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* Referral Modal */
.referral-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.referral-modal-content {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.referral-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.referral-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.referral-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.referral-stat-card {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.referral-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.1);
}

.referral-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.referral-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.referral-link-display {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.referral-link-display h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.referral-link-value {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    word-break: break-all;
}

.withdrawal-form {
    margin-top: 1.5rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-method {
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.payment-method:hover {
    border-color: var(--primary);
}

.payment-method.selected {
    border-color: var(--primary);
    background: rgba(74, 144, 226, 0.1);
}

.payment-method-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.payment-method-name {
    font-weight: 600;
    color: var(--text-primary);
}

.payment-history {
    margin-top: 1.5rem;
}

.payment-history h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.payment-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-item {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-info {
    flex: 1;
}

.payment-id {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 0.25rem;
}

.payment-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.payment-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.payment-method-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: var(--bg-primary);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.payment-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.payment-status.pending {
    background: rgba(246, 173, 85, 0.2);
    color: var(--warning);
}

.payment-status.approved {
    background: rgba(72, 187, 120, 0.2);
    color: var(--success);
}

.payment-status.rejected {
    background: rgba(252, 129, 129, 0.2);
    color: var(--danger);
}

/* Notification Styles */
.notification-dropdown {
    position: relative;
}

.notification-list {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    max-height: 400px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow: hidden;
    display: none;
}

.notification-list.active {
    display: block;
}

.notification-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-title {
    font-weight: 600;
    color: var(--text-primary);
}

.notification-mark-all {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.8rem;
    cursor: pointer;
}

.notification-items {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
    cursor: pointer;
}

.notification-item:hover {
    background: var(--bg-tertiary);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-message {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.notification-time {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(74, 144, 226, 0.6);
}

.fab:active {
    transform: scale(0.95);
}

/* Backup Management Styles */
.backup-management {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.backup-management h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.backup-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.backup-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.backup-item {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.backup-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.backup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.backup-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.backup-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.backup-size {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.backup-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* Current Balance Display - Enhanced */
.current-balance {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.current-balance::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.2), transparent);
    transition: left 0.5s;
}

.current-balance:hover::before {
    left: 100%;
}

.current-balance:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

.current-balance-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.current-balance:hover .current-balance-amount {
    color: white;
}

.balance-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--success), #38A169);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.balance-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.current-balance:hover .balance-text {
    color: rgba(255, 255, 255, 0.8);
}

/* User Payment History - Simplified */
.user-payment-history {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.user-payment-history h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.user-payment-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-payment-item {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.user-payment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.user-payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.user-payment-id {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.user-payment-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.user-payment-date {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.user-payment-method {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: var(--bg-primary);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.user-payment-proof {
    background: var(--bg-primary);
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid var(--border);
}

.user-payment-proof-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.user-payment-status {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.user-payment-status.pending {
    background: rgba(246, 173, 85, 0.2);
    color: var(--warning);
}

.user-payment-status.approved {
    background: rgba(72, 187, 120, 0.2);
    color: var(--success);
}

.user-payment-status.rejected {
    background: rgba(252, 129, 129, 0.2);
    color: var(--danger);
}

/* Referral Code Validation */
.referral-validation {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.referral-valid {
    color: var(--success);
}

.referral-invalid {
    color: var(--danger);
}

/* Payment Proofs Popup */
.payment-proofs-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.payment-proofs-popup-content {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2rem;
    max-width: 900px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
}

.payment-proofs-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.payment-proofs-popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.payment-proofs-popup-body {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.payment-proofs-popup-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.payment-proofs-popup-close {
    background: var(--bg-tertiary);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.payment-proofs-popup-close:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg);
}

.payment-proofs-popup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

/* URL Earnings Styles */
.url-earnings {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--success);
    font-weight: 600;
    margin-top: 0.25rem;
}

.url-earnings-icon {
    width: 16px;
    height: 16px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
}

/* Enhanced Balance Display */
.enhanced-balance {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.enhanced-balance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.enhanced-balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.enhanced-balance-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.enhanced-balance-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.enhanced-balance-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.balance-detail-item {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.balance-detail-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.balance-detail-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-detail-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Payment Proofs Styles - Simplified */
.payment-proofs {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.payment-proofs h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .proof-grid {
        grid-template-columns: 1fr;
    }
}

.proof-card {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.proof-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.proof-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.proof-id {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.proof-date {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.proof-user {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.proof-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.proof-method {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: var(--bg-primary);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Protected URL Page Enhancements */
.protected-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--protected-bg);
    position: relative;
    overflow: hidden;
}

.protected-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.protected-card {
    background: var(--protected-card-bg);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: protectedCardSlideIn 0.8s ease;
}

@keyframes protectedCardSlideIn {
    0% { transform: translateY(50px) scale(0.9); opacity: 0; }
    50% { transform: translateY(0) scale(1.02); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.protected-icon {
    width: 80px;
    height: 80px;
    background: var(--redirect-icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    animation: protectedIconPulse 2s infinite alternate;
}

@keyframes protectedIconPulse {
    from { transform: scale(1); box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3); }
    to { transform: scale(1.05); box-shadow: 0 15px 40px rgba(74, 144, 226, 0.5); }
}

.protected-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--redirect-icon-text);
}

.protected-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.protected-subtitle {
    text-align: center;
    color: var(--protected-subtext);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.protected-url-info {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.protected-url-info p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.protected-url-info .url-display {
    font-weight: 600;
    color: var(--primary);
    word-break: break-all;
}

.protected-form {
    margin-top: 2rem;
}

.protected-input {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid var(--border);
    border-radius: 16px;
    background: var(--protected-input-bg);
    color: var(--protected-text);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.protected-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.protected-button {
    width: 100%;
    padding: 1.2rem;
    background: var(--protected-button-bg);
    color: var(--protected-button-text);
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.protected-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
}

.protected-button:active {
    transform: translateY(0);
}

.protected-error {
    background: var(--protected-error-bg);
    border: 1px solid var(--protected-error-border);
    color: var(--protected-error-text);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Redirecting Page Enhancements */
.redirect-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--redirect-bg);
    position: relative;
    overflow: hidden;
}

.redirect-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.redirect-card {
    background: var(--redirect-card-bg);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: redirectCardSlideIn 0.8s ease;
}

@keyframes redirectCardSlideIn {
    0% { transform: translateY(50px) scale(0.9); opacity: 0; }
    50% { transform: translateY(0) scale(1.02); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.redirect-icon {
    width: 80px;
    height: 80px;
    background: var(--redirect-icon-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    animation: redirectIconPulse 2s infinite alternate;
}

@keyframes redirectIconPulse {
    from { transform: scale(1) rotate(0deg); box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3); }
    to { transform: scale(1.05) rotate(5deg); box-shadow: 0 15px 40px rgba(74, 144, 226, 0.5); }
}

.redirect-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--redirect-icon-text);
}

.redirect-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.redirect-subtitle {
    text-align: center;
    color: var(--redirect-subtitle-text);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.redirect-url-info {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.redirect-url-info p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.redirect-url-info .url-display {
    font-weight: 600;
    color: var(--primary);
    word-break: break-all;
}

.redirect-share-btn {
    background: var(--bg-tertiary);
    border: none;
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.redirect-share-btn:hover {
    background: var(--primary);
    color: white;
}

.redirect-ads {
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
}

.redirect-admin-ads, .protected-admin-ads {
    margin: 1.5rem 0;
    text-align: center;
    padding: 1rem;
    background: var(--redirect-admin-ads-bg);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.redirect-countdown {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 2rem 0;
    text-align: center;
    animation: redirectCountdownPulse 1s infinite alternate;
}

@keyframes redirectCountdownPulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.redirect-button {
    width: 100%;
    padding: 1.2rem;
    background: var(--redirect-button-bg);
    color: var(--redirect-button-text);
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.redirect-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.redirect-button:hover::before {
    left: 100%;
}

.redirect-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
}

.redirect-button:active {
    transform: translateY(0);
}

.redirect-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.redirect-progress {
    height: 6px;
    background: var(--redirect-progress-bg);
    border-radius: 3px;
    margin: 1.5rem 0;
    overflow: hidden;
}

.redirect-progress-bar {
    height: 100%;
    background: var(--redirect-progress-bar-bg);
    border-radius: 3px;
    width: 0%;
    transition: width 1s linear;
}

.redirect-ready-notification {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.2), rgba(72, 187, 120, 0.1));
    border: 1px solid rgba(72, 187, 120, 0.3);
    color: var(--success);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease;
}

/* Share Modal */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.share-modal-content {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.share-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.share-modal-close {
    background: var(--bg-tertiary);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.share-modal-close:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg);
}

.share-url-display {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-url-input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    outline: none;
}

.share-copy-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-copy-btn:hover {
    background: var(--primary-dark);
}

.share-social {
    margin-top: 1.5rem;
}

.share-social h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Delete Confirmation Modal */
.delete-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.delete-modal-content {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.delete-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--danger), #F56565);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: deleteIconPulse 1s infinite alternate;
}

@keyframes deleteIconPulse {
    from { transform: scale(1); box-shadow: 0 0 0 0 rgba(252, 129, 129, 0.7); }
    to { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(252, 129, 129, 0); }
}

.delete-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.delete-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.delete-message {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.delete-url-info {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.delete-url-short {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.delete-url-original {
    color: var(--text-secondary);
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.delete-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Ads Preview Popup */
.ads-preview-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.ads-preview-popup-content {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.ads-preview-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ads-preview-popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.ads-preview-popup-body {
    margin-bottom: 1.5rem;
}

.ads-preview-container {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border: 1px dashed var(--border);
    overflow: hidden;
}

.ads-preview-container iframe {
    width: 100%;
    height: 100%;
    min-height: 200px;
    border: none;
}

.ads-preview-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* Info Icon */
.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    margin-left: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.info-icon:hover {
    transform: scale(1.2);
    background: var(--primary-dark);
}

/* SEO Section Styles */
.seo-section {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.seo-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.seo-preview {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px dashed var(--border);
}

.seo-preview h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.seo-preview-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.seo-preview-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.seo-preview-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.seo-preview-value {
    font-size: 1rem;
    color: var(--text-primary);
    word-break: break-all;
}

.seo-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.seo-status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.seo-status-indicator.good {
    background: var(--success);
}

.seo-status-indicator.warning {
    background: var(--warning);
}

.seo-status-indicator.error {
    background: var(--danger);
}

.seo-status-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Payment Management Styles */
.payment-management {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.payment-management h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.payment-item {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.payment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.payment-user {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.payment-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.payment-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-detail {
    display: flex;
    flex-direction: column;
}

.payment-detail-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 0.25rem;
}

.payment-detail-value {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.payment-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.payment-proof {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.payment-proof h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.payment-proof-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Payment Method Management Styles */
.payment-method-management {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.payment-method-management h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.payment-method-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.payment-method-card {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.payment-method-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.payment-method-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.payment-method-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-method-card-logo {
    font-size: 1.5rem;
}

.payment-method-card-status {
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.payment-method-card-status.enabled {
    background: rgba(72, 187, 120, 0.2);
    color: var(--success);
}

.payment-method-card-status.disabled {
    background: rgba(252, 129, 129, 0.2);
    color: var(--danger);
}

.payment-method-card-details {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    white-space: pre-line;
}

.payment-method-card-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* User Balance Modal */
.balance-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.balance-modal-content {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.balance-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.balance-info {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.balance-user {
    font-weight: 600;
    color: var(--text-primary);
}

.balance-current {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.balance-operation {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.balance-operation-btn {
    flex: 1;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.balance-operation-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.balance-form {
    margin-bottom: 1.5rem;
}

/* Earnings History Styles */
.earnings-history {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.earnings-history h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.earnings-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.earnings-stat-card {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.earnings-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.1);
}

.earnings-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.earnings-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.earnings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.earnings-item {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.earnings-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.earnings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.earnings-date {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.earnings-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.earnings-source {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: var(--bg-primary);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Profile Modal */
.profile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.profile-modal-content {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.profile-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.profile-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.profile-tab {
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
}

.profile-tab.active {
    background: var(--primary);
    color: white;
}

.profile-tab-content {
    display: none;
}

.profile-tab-content.active {
    display: block;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        color: var(--text-primary);
        padding: 1rem;
        border-radius: 8px;
    }
    
    .nav-links a:hover, .nav-links a.active {
        background: var(--bg-tertiary);
        color: var(--primary);
    }
    
    .theme-toggle {
        position: absolute;
        bottom: 2rem;
        left: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .url-list {
        grid-template-columns: 1fr;
    }
    
    .url-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .url-original {
        max-width: 100%;
    }
    
    .auth-container {
        flex-direction: column;
    }
    
    .auth-right {
        padding: 3rem 2rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .protected-card, .redirect-card {
        padding: 2rem;
    }
    
    .protected-title, .redirect-title {
        font-size: 1.5rem;
    }
    
    .redirect-countdown {
        font-size: 3rem;
    }
    
    .search-result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .search-result-icons {
        align-self: flex-end;
    }
    
    /* Fix responsive issues on login and register pages */
    .auth-container {
        min-height: 100vh;
        flex-direction: column;
    }
    
    .auth-left {
        order: 2;
        padding: 2rem;
    }
    
    .auth-right {
        order: 1;
        padding: 3rem 2rem;
        min-height: 40vh;
    }
    
    .delete-actions {
        flex-direction: column;
    }
    
    /* Fix responsive issues on admin tabs */
    .tabs {
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--primary) var(--bg-tertiary);
    }
    
    .tabs::-webkit-scrollbar {
        height: 6px;
    }
    
    .tabs::-webkit-scrollbar-track {
        background: var(--bg-tertiary);
    }
    
    .tabs::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 3px;
    }
    
    .tabs::-webkit-scrollbar-thumb:hover {
        background: var(--primary-dark);
    }
    
    /* Responsive referral tabs */
    .referral-tabs {
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--primary) var(--bg-tertiary);
    }
    
    .referral-tabs::-webkit-scrollbar {
        height: 6px;
    }
    
    .referral-tabs::-webkit-scrollbar-track {
        background: var(--bg-tertiary);
    }
    
    .referral-tabs::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 3px;
    }
    
    .referral-tabs::-webkit-scrollbar-thumb:hover {
        background: var(--primary-dark);
    }
    
    /* Responsive payment management */
    .payment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .payment-details {
        grid-template-columns: 1fr;
    }
    
    .payment-actions {
        justify-content: flex-start;
    }
    
    /* Responsive payment method management */
    .payment-method-list {
        grid-template-columns: 1fr;
    }
    
    /* Responsive floating action button */
    .fab {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    /* Responsive notification dropdown */
    .notification-list {
        width: 280px;
        right: -10px;
    }
    
    /* Responsive backup management */
    .backup-list {
        grid-template-columns: 1fr;
    }
    
    /* Responsive payment proofs */
    .proof-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive user payment history */
    .user-payment-list {
        grid-template-columns: 1fr;
    }
    
    /* Responsive enhanced balance */
    .enhanced-balance-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Footer Styles */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-section p, .footer-section li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.footer-section ul li:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Enhanced Notification Dropdown Styles */
.notification-dropdown .notification-list {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    max-height: 400px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow: hidden;
    display: none;
    animation: notificationDropdownSlideIn 0.3s ease;
}

@keyframes notificationDropdownSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.notification-dropdown .notification-list.active {
    display: block;
}

.notification-dropdown .notification-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
}

.notification-dropdown .notification-title {
    font-weight: 600;
    color: var(--text-primary);
}

.notification-dropdown .notification-mark-all, 
.notification-dropdown .notification-clear-all {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.notification-dropdown .notification-mark-all:hover, 
.notification-dropdown .notification-clear-all:hover {
    background: rgba(74, 144, 226, 0.1);
}

.notification-dropdown .notification-items {
    max-height: 300px;
    overflow-y: auto;
}

.notification-dropdown .notification-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
    cursor: pointer;
    position: relative;
}

.notification-dropdown .notification-item:hover {
    background: var(--bg-tertiary);
}

.notification-dropdown .notification-item:last-child {
    border-bottom: none;
}

.notification-dropdown .notification-message {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.notification-dropdown .notification-time {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.notification-dropdown .notification-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.notification-dropdown .notification-action-btn {
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.notification-dropdown .notification-action-btn:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
}

.notification-dropdown .notification-action-btn.delete:hover {
    background: rgba(252, 129, 129, 0.1);
    color: var(--danger);
}

/* Enhanced Payment Proofs Popup */
.payment-proofs-popup .proof-card {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.payment-proofs-popup .proof-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.payment-proofs-popup .proof-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.1);
}

.payment-proofs-popup .proof-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.payment-proofs-popup .proof-id {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.payment-proofs-popup .proof-date {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.payment-proofs-popup .proof-user {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.payment-proofs-popup .proof-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.payment-proofs-popup .proof-method {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: auto;
}

/* URL Info Styles */
.url-info {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.url-ads-status {
    color: var(--success);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.url-earnings {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--success);
    font-weight: 600;
    margin-top: 0.25rem;
}

.url-earnings-icon {
    width: 16px;
    height: 16px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
}

.url-limit-info {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

/* Daily Earnings History Chart */
.earnings-history-chart {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
}

.earnings-history-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 150px;
    gap: 0.5rem;
}

.earnings-history-bar-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.earnings-history-bar {
    width: 100%;
    background: linear-gradient(to top, var(--primary), var(--primary-light));
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.3s ease;
    min-height: 5px;
}

.earnings-history-bar:hover {
    opacity: 0.8;
}

.earnings-history-value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.earnings-history-date {
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-align: center;
}

/* Admin Payment Requests Dashboard */
.admin-payment-requests {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.admin-payment-requests h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.payment-requests-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-request-card {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.payment-request-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.payment-request-card.pending::before {
    background: var(--warning);
}

.payment-request-card.approved::before {
    background: var(--success);
}

.payment-request-card.rejected::before {
    background: var(--danger);
}

.payment-request-card.total::before {
    background: var(--primary);
}

.payment-request-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.payment-request-count {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.payment-request-card.pending .payment-request-count {
    color: var(--warning);
}

.payment-request-card.approved .payment-request-count {
    color: var(--success);
}

.payment-request-card.rejected .payment-request-count {
    color: var(--danger);
}

.payment-request-card.total .payment-request-count {
    color: var(--primary);
}

.payment-request-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-requests-actions {
    text-align: center;
}

/* Enhanced Form Styles */
.form-control:disabled + label {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-group.error .form-control {
    border-color: var(--danger);
}

.form-group.error .form-group {
    color: var(--danger);
}

.form-group.success .form-control {
    border-color: var(--success);
}

.form-group.success .form-group {
    color: var(--success);
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Enhanced Button States */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

/* Enhanced Modal Styles */
.modal.small {
    max-width: 400px;
}

.modal.large {
    max-width: 900px;
}

.modal.fullscreen {
    max-width: 95%;
    max-height: 95%;
}

/* Responsive Enhancements */
@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .payment-requests-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .earnings-history-bars {
        height: 120px;
    }
    
    .notification-dropdown .notification-list {
        width: calc(100vw - 40px);
        right: -10px;
    }
    
    .payment-proofs-popup .proof-card {
        padding: 1rem;
    }
    
    .payment-proofs-popup .proof-amount {
        font-size: 1.1rem;
    }
    
    .payment-proofs-popup .proof-user {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    header, footer, .btn, .modal, .notification, .fab {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }
    
    .table-container {
        overflow: visible !important;
    }
    
    table {
        page-break-inside: auto;
    }
    
    tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }
}

/* Accessibility Enhancements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.btn:focus, .form-control:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus:not(:focus-visible) {
    outline: none;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --border: #000000;
        --text-secondary: #000000;
        --text-tertiary: #333333;
    }
    
    .btn {
        border: 2px solid var(--text-primary);
    }
    
    .form-control {
        border: 2px solid var(--text-primary);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Daily Earnings History Styles */
.earnings-history-chart {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.earnings-history-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 200px;
  padding: var(--spacing-sm) var(--spacing-xs);
  gap: var(--spacing-xs);
}

.earnings-history-bar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 30px;
  max-width: 60px;
  position: relative;
}

.earnings-history-bar {
  width: 100%;
  background: linear-gradient(to top, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative;
  transition: all var(--transition);
  cursor: pointer;
  min-height: 5px;
}

.earnings-history-bar:hover {
  background: linear-gradient(to top, var(--primary-dark), var(--primary));
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.2);
}

.earnings-history-value {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition);
  background-color: var(--bg-primary);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.earnings-history-bar:hover .earnings-history-value {
  opacity: 1;
}

.earnings-history-date {
  margin-top: var(--spacing-sm);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-align: center;
  transform: rotate(-45deg);
  transform-origin: center;
  white-space: nowrap;
}

/* Empty state for earnings history */
.earnings-history-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
  color: var(--text-secondary);
}

.earnings-history-empty-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing);
  opacity: 0.5;
}

.earnings-history-empty-text {
  font-size: var(--text-base);
  text-align: center;
  max-width: 300px;
}

/* Responsive adjustments for earnings history */
@media (max-width: 768px) {
  .earnings-history-bars {
    height: 150px;
    gap: 2px;
  }
  
  .earnings-history-bar-container {
    min-width: 20px;
    max-width: 40px;
  }
  
  .earnings-history-date {
    font-size: 10px;
    transform: none;
  }
}

@media (max-width: 480px) {
  .earnings-history-bars {
    height: 120px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: var(--spacing-sm);
  }
  
  .earnings-history-bar-container {
    min-width: 25px;
    max-width: 35px;
  }
  
  .earnings-history-value {
    font-size: 10px;
    top: -20px;
  }
  
  .earnings-history-date {
    font-size: 9px;
  }
}


/* Missing Notification Popup Styles */
.notification-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.notification-popup-content {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.notification-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.notification-popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.notification-popup-close {
    background: var(--bg-tertiary);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.notification-popup-close:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg);
}

.notification-popup-body {
    max-height: 400px;
    overflow-y: auto;
}

.notification-popup-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
    cursor: pointer;
}

.notification-popup-item:hover {
    background: var(--bg-tertiary);
}

.notification-popup-item:last-child {
    border-bottom: none;
}

.notification-popup-message {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.notification-popup-time {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

.notification-popup-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.notification-popup-btn {
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.notification-popup-btn:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
}

.notification-popup-btn.delete:hover {
    background: rgba(252, 129, 129, 0.1);
    color: var(--danger);
}


/* Fade Out Animation */
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Form Validation Styles */
.form-group.error .form-control {
    border-color: var(--danger);
}

.form-group.success .form-control {
    border-color: var(--success);
}

.form-group .error-message {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* URL Info Display */
.url-info {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.url-ads-status {
    color: var(--success);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.url-earnings {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--success);
    font-weight: 600;
    margin-top: 0.25rem;
}

.url-earnings-icon {
    width: 16px;
    height: 16px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
}

.url-limit-info {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

/* Notification Button Container */
.notification-btn-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
}

.notification-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.notification-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(74, 144, 226, 0.6);
}

.notification-icon {
    font-size: 1.5rem;
}

/* Product Stats Enhancements */
.product-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-stat-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.product-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.1);
}

.product-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.product-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Admin Payment Requests Dashboard */
.admin-payment-requests {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.admin-payment-requests h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.payment-requests-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-request-card {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.payment-request-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.payment-request-card.pending::before {
    background: var(--warning);
}

.payment-request-card.approved::before {
    background: var(--success);
}

.payment-request-card.rejected::before {
    background: var(--danger);
}

.payment-request-card.total::before {
    background: var(--primary);
}

.payment-request-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.payment-request-count {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.payment-request-card.pending .payment-request-count {
    color: var(--warning);
}

.payment-request-card.approved .payment-request-count {
    color: var(--success);
}

.payment-request-card.rejected .payment-request-count {
    color: var(--danger);
}

.payment-request-card.total .payment-request-count {
    color: var(--primary);
}

.payment-request-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-requests-actions {
    text-align: center;
}

/* URL Search Results */
.search-results {
    margin-top: 2rem;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-secondary);
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-result-item:hover {
    background: var(--bg-tertiary);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-short {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
    flex: 1;
}

.search-result-original {
    font-size: 0.85rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 2;
}

.search-result-icons {
    display: flex;
    gap: 0.5rem;
}

.search-result-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.search-result-icon.password {
    background: rgba(246, 173, 85, 0.2);
    color: var(--warning);
}

.search-result-icon.ads {
    background: rgba(72, 187, 120, 0.2);
    color: var(--success);
}


        /* Smaller and more elegant earnings display */
        .enhanced-balance {
            padding: 0.75rem !important;
            margin-bottom: 1rem;
        }
        
        .enhanced-balance-header {
            margin-bottom: 0.5rem;
        }
        
        .enhanced-balance-title {
            font-size: 0.9rem !important;
        }
        
        .enhanced-balance-amount {
            font-size: 1.2rem !important;
        }
        
        .enhanced-balance-details {
            gap: 0.5rem;
        }
        
        .balance-detail-item {
            padding: 0.5rem;
            border-radius: 0.5rem;
        }
        
        .balance-detail-icon {
            font-size: 1rem;
        }
        
        .balance-detail-value {
            font-size: 0.9rem;
        }
        
        .balance-detail-label {
            font-size: 0.7rem;
        }
        
        /* Smaller daily earnings history */
        .earnings-history-chart {
            height: 120px !important;
            margin-top: 0.5rem;
        }
        
        .earnings-history-bars {
            height: 100px !important;
        }
        
        .earnings-history-bar-container {
            width: calc(100% / 7 - 5px) !important;
        }
        
        .earnings-history-bar {
            min-height: 10px !important;
        }
        
        .earnings-history-value {
            font-size: 0.7rem !important;
        }
        
        .earnings-history-date {
            font-size: 0.6rem !important;
        }
        
        /* Website notification styles - NEW DESIGN */
        .website-notification {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: <?php echo $settings['websiteNotification']['bgColor']; ?>;
            color: <?php echo $settings['websiteNotification']['textColor']; ?>;
            padding: 12px 0;
            text-align: center;
            z-index: 1000;
            overflow: hidden;
            white-space: nowrap;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
            font-weight: 500;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        
        .website-notification-container {
            display: flex;
            align-items: center;
            justify-content: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .website-notification-icon {
            margin-right: 10px;
            font-size: 18px;
        }
        
        .website-notification-text {
            display: inline-block;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { opacity: 0.8; }
            50% { opacity: 1; }
            100% { opacity: 0.8; }
        }
        
        .website-notification-close {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: <?php echo $settings['websiteNotification']['textColor']; ?>;
            font-size: 16px;
            cursor: pointer;
            opacity: 0.7;
            transition: opacity 0.3s ease;
        }
        
        .website-notification-close:hover {
            opacity: 1;
        }
        
        /* Adjust header position when notification is shown */
        .website-notification-active header {
            margin-top: 50px;
        }
        
        /* 3 feature grid layout for desktop, 2 for mobile */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-top: 2rem;
        }
        
        @media (max-width: 768px) {
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 576px) {
            .features-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .feature-card {
            background: var(--bg-secondary);
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        }
        
        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            display: block;
        }
        
        .feature-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }
        
        .feature-description {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
        }
        
        .feature-benefit {
            font-size: 0.8rem;
            color: var(--primary);
            font-weight: 500;
        }
        
        /* Improved notification popup */
        .notification-popup {
            position: fixed;
            top: 70px;
            right: 20px;
            width: 350px;
            max-height: 400px;
            background: var(--bg-primary);
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            z-index: 1000;
            overflow: hidden;
            transform: translateY(-20px);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .notification-popup.active {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }
        
        .notification-popup-header {
            padding: 1rem;
            border-bottom: 1px solid var(--bg-tertiary);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .notification-popup-title {
            font-weight: 600;
            color: var(--text-primary);
        }
        
        .notification-popup-actions {
            display: flex;
            gap: 0.5rem;
        }
        
        .notification-popup-action {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 0.8rem;
            cursor: pointer;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            transition: background 0.2s ease;
        }
        
        .notification-popup-action:hover {
            background: var(--bg-secondary);
        }
        
        .notification-popup-content {
            max-height: 300px;
            overflow-y: auto;
        }
        
        .notification-popup-item {
            padding: 1rem;
            border-bottom: 1px solid var(--bg-tertiary);
            transition: background 0.2s ease;
            cursor: pointer;
        }
        
        .notification-popup-item:hover {
            background: var(--bg-secondary);
        }
        
        .notification-popup-item:last-child {
            border-bottom: none;
        }
        
        .notification-popup-message {
            font-size: 0.9rem;
            color: var(--text-primary);
            margin-bottom: 0.25rem;
        }
        
        .notification-popup-time {
            font-size: 0.8rem;
            color: var(--text-secondary);
        }
        
        .notification-popup-empty {
            padding: 2rem;
            text-align: center;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        
        /* Ads preview popup */
        .ads-preview-popup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .ads-preview-popup.active {
            opacity: 1;
            visibility: visible;
        }
        
        .ads-preview-content {
            background: var(--bg-primary);
            border-radius: 12px;
            width: 90%;
            max-width: 800px;
            max-height: 80vh;
            overflow: auto;
            position: relative;
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }
        
        .ads-preview-popup.active .ads-preview-content {
            transform: scale(1);
        }
        
        .ads-preview-header {
            padding: 1rem;
            border-bottom: 1px solid var(--bg-tertiary);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .ads-preview-title {
            font-weight: 600;
            color: var(--text-primary);
        }
        
        .ads-preview-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-secondary);
            cursor: pointer;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            transition: background 0.2s ease;
        }
        
        .ads-preview-close:hover {
            background: var(--bg-secondary);
        }
        
        .ads-preview-body {
            padding: 1rem;
        }
        
        .ads-preview-container {
            border: 1px solid var(--bg-tertiary);
            border-radius: 8px;
            padding: 1rem;
            min-height: 200px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        /* 标签页样式 */
        .dashboard-tabs {
            display: flex;
            border-bottom: 1px solid var(--bg-tertiary);
            margin-bottom: 1.5rem;
        }
        
        .dashboard-tab {
            padding: 0.75rem 1.5rem;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            transition: all 0.3s ease;
            font-weight: 500;
        }
        
        .dashboard-tab:hover {
            color: var(--primary);
        }
        
        .dashboard-tab.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
        }
        
        .dashboard-tab-content {
            display: none;
        }
        
        .dashboard-tab-content.active {
            display: block;
        }
        
        /* 推荐用户列表样式 */
        .referred-users-container {
            margin-top: 1.5rem;
        }
        
        .referred-users-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .referred-users-title {
            font-size: 1.2rem;
            font-weight: 600;
        }
        
        .referred-users-count {
            background: var(--bg-tertiary);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        
        .referred-users-list {
            display: grid;
            gap: 1rem;
        }
        
        .referred-user-card {
            background: var(--bg-secondary);
            border-radius: 8px;
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: transform 0.2s ease;
        }
        
        .referred-user-card:hover {
            transform: translateY(-2px);
        }
        
        .referred-user-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .referred-user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: 600;
        }
        
        .referred-user-details h4 {
            margin: 0;
            font-size: 1rem;
        }
        
        .referred-user-details p {
            margin: 0.25rem 0 0;
            font-size: 0.8rem;
            color: var(--text-secondary);
        }
        
        .referred-user-stats {
            text-align: right;
        }
        
        .referred-user-earnings {
            font-weight: 600;
            color: var(--primary);
        }
        
        .referred-user-urls {
            font-size: 0.8rem;
            color: var(--text-secondary);
        }
        
           .website-notification-container {
            display: flex;
            align-items: center;
            justify-content: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
        }
        
        .website-notification-icon {
            margin-right: 10px;
            font-size: 18px;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }
        
        
        .website-notification-text {
            display: inline-block;
            animation: fadeIn 1.5s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .website-notification-close {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.2);
            border: none;
            color: <?php echo $settings['websiteNotification']['textColor']; ?>;
            font-size: 16px;
            cursor: pointer;
            opacity: 0.7;
            transition: all 0.3s ease;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .website-notification-close:hover {
            opacity: 1;
            background: rgba(255,255,255,0.3);
            transform: translateY(-50%) scale(1.1);
        }
        
        /* Adjust header position when notification is shown */
        .website-notification-active header {
            margin-top: 50px;
        }
        
        /* Mobile responsive adjustments */
        @media (max-width: 768px) {
            .website-notification {
                padding: 10px 0;
                font-size: 14px;
            }
            
            .website-notification-container {
                padding: 0 15px;
            }
            
            .website-notification-icon {
                font-size: 16px;
                margin-right: 8px;
            }
            
            .website-notification-close {
                right: 15px;
                width: 24px;
                height: 24px;
                font-size: 14px;
            }
        }
        
        @media (max-width: 480px) {
            .website-notification {
                padding: 8px 0;
                font-size: 13px;
            }
            
            .website-notification-container {
                padding: 0 10px;
            }
            
            .website-notification-icon {
                font-size: 14px;
                margin-right: 6px;
            }
            
            .website-notification-close {
                right: 10px;
                width: 22px;
                height: 22px;
                font-size: 12px;
            }
        }
        
        /* 3 feature grid layout for desktop, 2 for mobile */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-top: 2rem;
        }
        
        @media (max-width: 768px) {
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }
        }
        
        @media (max-width: 576px) {
            .features-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
        }
        
        .feature-card {
            background: var(--bg-secondary);
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        }
        
        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            display: block;
        }
        
        .feature-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }
        
        .feature-description {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-bottom: 0.5rem;
        }
        
        .feature-benefit {
            font-size: 0.8rem;
            color: var(--primary);
            font-weight: 500;
        }
        
        /* Ads preview popup */
        .ads-preview-popup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .ads-preview-popup.active {
            opacity: 1;
            visibility: visible;
        }
        
        .ads-preview-content {
            background: var(--bg-primary);
            border-radius: 12px;
            width: 90%;
            max-width: 800px;
            max-height: 80vh;
            overflow: auto;
            position: relative;
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }
        
        .ads-preview-popup.active .ads-preview-content {
            transform: scale(1);
        }
        
        .ads-preview-header {
            padding: 1rem;
            border-bottom: 1px solid var(--bg-tertiary);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .ads-preview-title {
            font-weight: 600;
            color: var(--text-primary);
        }
        
        .ads-preview-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-secondary);
            cursor: pointer;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50%;
            transition: background 0.2s ease;
        }
        
        .ads-preview-close:hover {
            background: var(--bg-secondary);
        }
        
        .ads-preview-body {
            padding: 1rem;
        }
        
        .ads-preview-container {
            border: 1px solid var(--bg-tertiary);
            border-radius: 8px;
            padding: 1rem;
            min-height: 200px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        /* 标签页样式 */
        .dashboard-tabs {
            display: flex;
            border-bottom: 1px solid var(--bg-tertiary);
            margin-bottom: 1.5rem;
        }
        
        .dashboard-tab {
            padding: 0.75rem 1.5rem;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            transition: all 0.3s ease;
            font-weight: 500;
        }
        
        .dashboard-tab:hover {
            color: var(--primary);
        }
        
        .dashboard-tab.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
        }
        
        .dashboard-tab-content {
            display: none;
        }
        
        .dashboard-tab-content.active {
            display: block;
        }
        
        /* 推荐用户列表样式 */
        .referred-users-container {
            margin-top: 1.5rem;
        }
        
        .referred-users-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .referred-users-title {
            font-size: 1.2rem;
            font-weight: 600;
        }
        
        .referred-users-count {
            background: var(--bg-tertiary);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        
        .referred-users-list {
            display: grid;
            gap: 1rem;
        }
        
        .referred-user-card {
            background: var(--bg-secondary);
            border-radius: 8px;
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: transform 0.2s ease;
        }
        
        .referred-user-card:hover {
            transform: translateY(-2px);
        }
        
        .referred-user-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .referred-user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: 600;
        }
        
        .referred-user-details h4 {
            margin: 0;
            font-size: 1rem;
        }
        
        .referred-user-details p {
            margin: 0.25rem 0 0;
            font-size: 0.8rem;
            color: var(--text-secondary);
        }
        
        .referred-user-stats {
            text-align: right;
        }
        
        .referred-user-earnings {
            font-weight: 600;
            color: var(--primary);
        }
        
        .referred-user-urls {
            font-size: 0.8rem;
            color: var(--text-secondary);
        }
        
        /* 每日余额历史样式 */
        .daily-balance-history {
            margin-top: 1.5rem;
        }
        
        .daily-balance-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .daily-balance-title {
            font-size: 1.2rem;
            font-weight: 600;
        }
        
        .daily-balance-list {
            display: grid;
            gap: 1rem;
        }
        
        .daily-balance-item {
            background: var(--bg-secondary);
            border-radius: 8px;
            padding: 1rem;
        }
        
        .daily-balance-date {
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .daily-balance-details {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }
        
        .daily-balance-start {
            color: var(--text-secondary);
        }
        
        .daily-balance-end {
            font-weight: 600;
        }
        
        .daily-balance-changes {
            margin-top: 0.5rem;
            padding-top: 0.5rem;
            border-top: 1px solid var(--bg-tertiary);
        }
        
        .daily-balance-change {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.25rem;
            font-size: 0.9rem;
        }
        
        .daily-balance-change:last-child {
            margin-bottom: 0;
        }
        
        .daily-balance-change-type {
            color: var(--text-secondary);
        }
        
        .daily-balance-change-amount {
            font-weight: 500;
        }
        
        .daily-balance-change-amount.positive {
            color: var(--success);
        }
        
        .daily-balance-change-amount.negative {
            color: var(--danger);
        }
        
        /* Mobile responsive adjustments for dashboard */
        @media (max-width: 768px) {
            .dashboard-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .dashboard-actions {
                margin-top: 1rem;
                width: 100%;
                display: flex;
                flex-wrap: wrap;
                gap: 0.5rem;
            }
            
            .dashboard-actions button {
                flex: 1;
                min-width: 100px;
            }
            
            .current-balance {
                width: 100%;
            }
        }
        
        @media (max-width: 480px) {
            .dashboard-actions {
                flex-direction: column;
            }
            
            .dashboard-actions button {
                width: 100%;
            }
        }
        
        /* 简化的付款证明样式 */
        .payment-proofs {
            margin: 2rem 0;
        }
        
        .payment-proofs h2 {
            margin-bottom: 1rem;
        }
        
        .payment-proofs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
        }
        
        .payment-proof-card {
            background: var(--bg-secondary);
            border-radius: 8px;
            padding: 1rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: transform 0.2s ease;
        }
        
        .payment-proof-card:hover {
            transform: translateY(-2px);
        }
        
        .payment-proof-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }
        
        .payment-proof-id {
            font-weight: 600;
        }
        
        .payment-proof-date {
            font-size: 0.8rem;
            color: var(--text-secondary);
        }
        
        .payment-proof-user {
            margin-bottom: 0.5rem;
        }
        
        .payment-proof-amount {
            font-weight: 600;
            color: var(--primary);
        }
        
        .payment-proof-method {
            font-size: 0.9rem;
            color: var(--text-secondary);
        }
        
        .payment-proofs-pagination {
            display: flex;
            justify-content: center;
            margin-top: 1rem;
            gap: 0.5rem;
        }
        
        .payment-proofs-pagination button {
            padding: 0.5rem 1rem;
            border: none;
            background: var(--bg-tertiary);
            color: var(--text-primary);
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.2s ease;
        }
        
        .payment-proofs-pagination button:hover:not(:disabled) {
            background: var(--primary);
            color: white;
        }
        
        .payment-proofs-pagination button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .payment-proofs-pagination span {
            padding: 0.5rem 1rem;
            color: var(--text-secondary);
        }

           @keyframes slideDown {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        /* Daily Reward Modal Styles */
        .daily-reward-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .daily-reward-content {
            background-color: var(--bg-primary);
            border-radius: 12px;
            padding: 2rem;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            position: relative;
            animation: modalFadeIn 0.3s ease-out;
        }
        
        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        .daily-reward-header {
            text-align: center;
            margin-bottom: 1.5rem;
        }
        
        .daily-reward-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }
        
        .daily-reward-subtitle {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        
        .daily-reward-calendar {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }
        
        .daily-reward-day {
            aspect-ratio: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-radius: 8px;
            font-weight: 600;
            position: relative;
            transition: all 0.2s ease;
        }
        
        .daily-reward-day.completed {
            background-color: var(--success);
            color: white;
        }
        
        .daily-reward-day.current {
            background-color: var(--primary);
            color: white;
            box-shadow: 0 0 15px rgba(74, 108, 247, 0.5);
        }
        
        .daily-reward-day.future {
            background-color: var(--bg-tertiary);
            color: var(--text-secondary);
        }
        
        .daily-reward-day-number {
            font-size: 1.2rem;
            margin-bottom: 0.2rem;
        }
        
        .daily-reward-day-amount {
            font-size: 0.8rem;
        }
        
        .daily-reward-day.checkmark {
            position: absolute;
            top: 5px;
            right: 5px;
            font-size: 0.8rem;
        }
        
        .daily-reward-info {
            text-align: center;
            margin-bottom: 1.5rem;
        }
        
        .daily-reward-amount {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        
        .daily-reward-description {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        
        .daily-reward-actions {
            display: flex;
            gap: 1rem;
        }
        
        .daily-reward-claim-btn {
            flex: 1;
            padding: 0.8rem;
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .daily-reward-claim-btn:hover {
            background-color: var(--primary-dark);
        }
        
        .daily-reward-claim-btn:disabled {
            background-color: var(--bg-tertiary);
            color: var(--text-secondary);
            cursor: not-allowed;
        }
        
        .daily-reward-close-btn {
            padding: 0.8rem;
            background-color: transparent;
            color: var(--text-secondary);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .daily-reward-close-btn:hover {
            background-color: var(--bg-tertiary);
        }
        
        /* Daily Reward Button in Dashboard */
        .daily-reward-btn {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.8rem 1.2rem;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
        }
        
        .daily-reward-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(74, 108, 247, 0.4);
        }
        
        .daily-reward-btn.claimed {
            background: var(--bg-tertiary);
            color: var(--text-secondary);
            box-shadow: none;
        }
        
        .daily-reward-btn-icon {
            font-size: 1.2rem;
        }
        
        .daily-reward-btn-text {
            font-size: 0.9rem;
        }
        
        /* Daily Reward Card in Dashboard */
        .daily-reward-card {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
        }
        
        .daily-reward-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .daily-reward-card-title {
            font-size: 1.2rem;
            font-weight: 600;
        }
        
        .daily-reward-card-streak {
            background-color: rgba(255, 255, 255, 0.2);
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        
        .daily-reward-card-progress {
            margin-bottom: 1rem;
        }
        
        .daily-reward-card-progress-bar {
            height: 8px;
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
            overflow: hidden;
        }
        
        .daily-reward-card-progress-fill {
            height: 100%;
            background-color: white;
            border-radius: 4px;
            transition: width 0.3s ease;
        }
        
        .daily-reward-card-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .daily-reward-card-next {
            font-size: 0.9rem;
            opacity: 0.9;
        }
        
        .daily-reward-card-claim {
            padding: 0.5rem 1rem;
            background-color: white;
            color: var(--primary);
            border: none;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .daily-reward-card-claim:hover {
            transform: translateY(-1px);
        }
        
        .daily-reward-card-claim:disabled {
            background-color: rgba(255, 255, 255, 0.2);
            color: white;
            cursor: not-allowed;
        }
        
        /* Adjust header margin when notification is active */
        body.website-notification-active header {
            margin-top: 50px;
        }
        
         /* Enhanced Dashboard Rewards Tab Styles */
        .rewards-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .rewards-summary-card {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 12px;
            padding: 1.5rem;
            color: white;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .rewards-summary-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .rewards-summary-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(0,0,0,0.15);
        }
        
        .rewards-summary-card:hover::before {
            opacity: 1;
        }
        
        .rewards-summary-title {
            font-size: 0.9rem;
            opacity: 0.9;
            margin-bottom: 0.5rem;
        }
        
        .rewards-summary-value {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .rewards-summary-info {
            font-size: 0.8rem;
            opacity: 0.8;
        }
        
        .rewards-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }
        
        .rewards-details-card {
            background: var(--bg-secondary);
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .rewards-details-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }
        
        .rewards-details-card h3 {
            margin-top: 0;
            margin-bottom: 1rem;
            color: var(--primary);
            font-size: 1.2rem;
        }
        
        .rewards-details-info {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }
        
        .rewards-details-info p {
            margin: 0;
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid var(--bg-tertiary);
        }
        
        .rewards-details-info p:last-child {
            border-bottom: none;
        }
        
        .rewards-details-info strong {
            color: var(--text-primary);
        }
        
        /* Enhanced Daily Reward Card */
        .daily-reward-card {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: 12px;
            padding: 1.5rem;
            color: white;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            margin-bottom: 1.5rem;
            position: relative;
            overflow: hidden;
        }
        
        .daily-reward-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .daily-reward-card:hover::before {
            opacity: 1;
        }
        
        .daily-reward-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .daily-reward-card-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin: 0;
        }
        
        .daily-reward-card-streak {
            background: rgba(255,255,255,0.2);
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
        }
        
        .daily-reward-card-progress {
            margin-bottom: 1rem;
        }
        
        .daily-reward-card-progress-bar {
            height: 8px;
            background: rgba(255,255,255,0.2);
            border-radius: 4px;
            overflow: hidden;
        }
        
        .daily-reward-card-progress-fill {
            height: 100%;
            background: rgba(255,255,255,0.8);
            border-radius: 4px;
            transition: width 0.5s ease;
        }
        
        .daily-reward-card-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .daily-reward-card-next {
            font-size: 0.9rem;
            opacity: 0.9;
        }
        
        .daily-reward-card-claim {
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        
        .daily-reward-card-claim:hover:not(:disabled) {
            background: rgba(255,255,255,0.3);
        }
        
        .daily-reward-card-claim:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }
        
        /* Enhanced Daily Reward Modal */
        .daily-reward-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .daily-reward-content {
            background: var(--bg-primary);
            border-radius: 12px;
            padding: 2rem;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            position: relative;
        }
        
        .daily-reward-header {
            text-align: center;
            margin-bottom: 1.5rem;
        }
        
        .daily-reward-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin: 0 0 0.5rem;
            color: var(--primary);
        }
        
        .daily-reward-subtitle {
            color: var(--text-secondary);
            margin: 0;
        }
        
        .daily-reward-calendar {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }
        
        .daily-reward-day {
            background: var(--bg-secondary);
            border-radius: 8px;
            padding: 0.8rem 0.5rem;
            text-align: center;
            position: relative;
            transition: transform 0.3s ease;
        }
        
        .daily-reward-day:hover {
            transform: translateY(-3px);
        }
        
        .daily-reward-day.completed {
            background: var(--success);
            color: white;
        }
        
        .daily-reward-day.current {
            background: var(--primary);
            color: white;
        }
        
        .daily-reward-day.future {
            background: var(--bg-tertiary);
            color: var(--text-secondary);
        }
        
        .daily-reward-day-number {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.3rem;
        }
        
        .daily-reward-day-amount {
            font-size: 0.8rem;
        }
        
        .daily-reward-day.checkmark {
            position: absolute;
            top: 5px;
            right: 5px;
            font-size: 0.8rem;
        }
        
        .daily-reward-info {
            text-align: center;
            margin-bottom: 1.5rem;
        }
        
        .daily-reward-amount {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        
        .daily-reward-description {
            color: var(--text-secondary);
        }
        
        .daily-reward-actions {
            display: flex;
            justify-content: center;
            gap: 1rem;
        }
        
        .daily-reward-claim-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        
        .daily-reward-claim-btn:hover {
            background: var(--accent);
        }
        
        .daily-reward-close-btn {
            background: var(--bg-tertiary);
            color: var(--text-primary);
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        
        .daily-reward-close-btn:hover {
            background: var(--bg-secondary);
        }
        
        /* Enhanced Yearly Rewards Settings */
        .yearly-rewards-settings {
            display: grid;
            gap: 1.5rem;
        }
        
        .yearly-rewards-card {
            background: var(--bg-secondary);
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        
        .yearly-rewards-card h3 {
            margin-top: 0;
            margin-bottom: 1rem;
            color: var(--primary);
            font-size: 1.2rem;
        }
        
        .yearly-rewards-status {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .yearly-rewards-status-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--success);
        }
        
        .yearly-rewards-status-indicator.disabled {
            background: var(--danger);
        }
        
        .yearly-rewards-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .yearly-rewards-info-item {
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
        }
        
        .yearly-rewards-info-label {
            font-size: 0.8rem;
            color: var(--text-secondary);
        }
        
        .yearly-rewards-info-value {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-primary);
        }
        
        .yearly-rewards-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
        }
        
        .yearly-rewards-process-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        
        .yearly-rewards-process-btn:hover {
            background: var(--accent);
        }
        
        .yearly-rewards-cancel-btn {
            background: var(--bg-tertiary);
            color: var(--text-primary);
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        
        .yearly-rewards-cancel-btn:hover {
            background: var(--bg-secondary);
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .rewards-summary {
                grid-template-columns: 1fr;
            }
            
            .rewards-details {
                grid-template-columns: 1fr;
            }
            
            .daily-reward-calendar {
                grid-template-columns: repeat(4, 1fr);
            }
            
            .yearly-rewards-info {
                grid-template-columns: 1fr;
            }
        }
        
        .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 20px;
    
            @keyframes slideDown {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
          /* MODIFIED: Dashboard tabs with horizontal scrolling */
        .dashboard-tabs {
            display: flex;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
            scrollbar-color: var(--primary) var(--bg-secondary);
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 1.5rem;
            position: relative;
        }
        
        .dashboard-tabs::-webkit-scrollbar {
            height: 6px;
        }
        
        .dashboard-tabs::-webkit-scrollbar-track {
            background: var(--bg-secondary);
        }
        
        .dashboard-tabs::-webkit-scrollbar-thumb {
            background-color: var(--primary);
            border-radius: 3px;
        }
        
        .dashboard-tab {
            padding: 1rem 1.5rem;
            cursor: pointer;
            border-bottom: 3px solid transparent;
            white-space: nowrap;
            transition: all 0.3s ease;
            font-weight: 500;
            color: var(--text-secondary);
        }
        
        .dashboard-tab:hover {
            color: var(--primary);
            background-color: var(--bg-secondary);
        }
        
        .dashboard-tab.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
            background-color: var(--bg-secondary);
        }
        
        /* Add scroll indicators for dashboard tabs */
        .dashboard-tabs::before,
        .dashboard-tabs::after {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            width: 20px;
            pointer-events: none;
            z-index: 1;
        }
        
        .dashboard-tabs::before {
            left: 0;
            background: linear-gradient(to right, var(--bg-primary), transparent);
        }
        
        .dashboard-tabs::after {
            right: 0;
            background: linear-gradient(to left, var(--bg-primary), transparent);
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .dashboard-tabs {
                padding: 0 10px;
            }
            
            .dashboard-tab {
                padding: 0.75rem 1rem;
                font-size: 0.9rem;
            }
        }
}

        /* Dashboard Tabs - MODIFIED: Added horizontal scrolling */
        .dashboard-tabs {
            display: flex;
            overflow-x: auto;
            scrollbar-width: thin;
            scrollbar-color: var(--primary) var(--bg-secondary);
            -webkit-overflow-scrolling: touch;
            position: relative;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid var(--border-color);
        }
        
        .dashboard-tabs::-webkit-scrollbar {
            height: 6px;
        }
        
        .dashboard-tabs::-webkit-scrollbar-track {
            background: var(--bg-secondary);
        }
        
        .dashboard-tabs::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 3px;
        }
        
        .dashboard-tabs::before,
        .dashboard-tabs::after {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            width: 20px;
            pointer-events: none;
            z-index: 1;
            transition: opacity 0.3s ease;
        }
        
        .dashboard-tabs::before {
            left: 0;
            background: linear-gradient(to right, var(--bg-primary), transparent);
            opacity: var(--has-left-scroll, 0);
        }
        
        .dashboard-tabs::after {
            right: 0;
            background: linear-gradient(to left, var(--bg-primary), transparent);
            opacity: var(--has-right-scroll, 0);
        }
        
        .dashboard-tab {
            padding: 0.75rem 1.5rem;
            cursor: pointer;
            white-space: nowrap;
            font-weight: 500;
            color: var(--text-secondary);
            border-bottom: 2px solid transparent;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }
        
        .dashboard-tab:hover {
            color: var(--primary);
        }
        
        .dashboard-tab.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
        }
        
        /* Daily Balance Pagination - NEW */
        .balance-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 1.5rem;
            gap: 0.5rem;
        }
        
        .balance-pagination button {
            padding: 0.5rem 1rem;
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: 4px;
            color: var(--text-primary);
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .balance-pagination button:hover:not(:disabled) {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        .balance-pagination button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .balance-pagination span {
            padding: 0.5rem 1rem;
            color: var(--text-secondary);
        }
        
         .faucet-card {
            background: var(--card-bg);
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            text-align: center;
        }
        
        .faucet-title {
            font-size: 2rem;
            margin-bottom: 20px;
            color: var(--primary);
        }
        
        .faucet-description {
            margin-bottom: 30px;
            color: var(--text-secondary);
        }
        
        .faucet-reward {
            font-size: 3rem;
            font-weight: bold;
            color: var(--success);
            margin-bottom: 20px;
        }
        
        .faucet-ads {
            margin: 30px 0;
            padding: 20px;
            background: var(--bg-tertiary);
            border-radius: 8px;
        }
        
        .faucet-countdown {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: var(--text-primary);
        }
        
        .faucet-claim-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 15px 30px;
            font-size: 1.2rem;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .faucet-claim-btn:hover:not(:disabled) {
            background: var(--primary-dark);
        }
        
        .faucet-claim-btn:disabled {
            background: var(--bg-tertiary);
            color: var(--text-secondary);
            cursor: not-allowed;
        }
        
        .faucet-status {
            margin-top: 20px;
            padding: 15px;
            border-radius: 8px;
            background: var(--bg-tertiary);
        }
        
        .faucet-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }
        
        .faucet-stat-card {
            background: var(--bg-tertiary);
            padding: 20px;
            border-radius: 8px;
            text-align: center;
        }
        
        .faucet-stat-value {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary);
            margin-bottom: 5px;
        }
        
        .faucet-stat-label {
            color: var(--text-secondary);
        }
        
        /* Adjust header margin when notification is active */
        body.website-notification-active header {
            margin-top: 60px;
        }
        
        /* Features grid updated */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .feature-card {
            background: var(--card-bg);
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }
        
        .feature-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            display: block;
        }
        
        .feature-title {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--text-primary);
        }
        
        .feature-description {
            color: var(--text-secondary);
            margin-bottom: 15px;
        }
        
        .feature-benefit {
            color: var(--success);
            font-weight: 500;
        }
                
        /* Improved Daily Balance History Styles */
        .daily-balance-container {
            background: var(--bg-primary);
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            overflow: hidden;
            margin-top: 1.5rem;
        }
        
        .daily-balance-header {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            padding: 1rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .daily-balance-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin: 0;
        }
        
        .daily-balance-summary {
            display: flex;
            gap: 1.5rem;
        }
        
        .daily-balance-stat {
            text-align: center;
        }
        
        .daily-balance-stat-value {
            font-size: 1.2rem;
            font-weight: 700;
        }
        
        .daily-balance-stat-label {
            font-size: 0.8rem;
            opacity: 0.9;
        }
        
        .daily-balance-list {
            padding: 1rem;
        }
        
        .daily-balance-item {
            background: var(--bg-secondary);
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 0.75rem;
            border-left: 4px solid var(--primary);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        
        .daily-balance-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .daily-balance-date {
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        
        .daily-balance-details {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.75rem;
        }
        
        .daily-balance-start, .daily-balance-end {
            font-size: 0.9rem;
        }
        
        .daily-balance-start {
            color: var(--text-secondary);
        }
        
        .daily-balance-end {
            font-weight: 600;
        }
        
        .daily-balance-changes {
            border-top: 1px solid var(--bg-tertiary);
            padding-top: 0.75rem;
        }
        
        .daily-balance-change {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }
        
        .daily-balance-change:last-child {
            margin-bottom: 0;
        }
        
        .daily-balance-change-type {
            font-size: 0.85rem;
            color: var(--text-secondary);
        }
        
        .daily-balance-change-amount {
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        .daily-balance-change-amount.positive {
            color: var(--success);
        }
        
        .daily-balance-change-amount.negative {
            color: var(--danger);
        }
        
        .balance-pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            border-top: 1px solid var(--bg-tertiary);
        }
        
        .balance-pagination button {
            background: var(--bg-secondary);
            border: 1px solid var(--bg-tertiary);
            border-radius: 6px;
            padding: 0.5rem 1rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .balance-pagination button:hover:not(:disabled) {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        .balance-pagination button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        /* Improved Faucet Styles */
        .faucet-container {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 80vh;
            padding: 2rem;
        }
        
        .faucet-card {
            background: var(--bg-primary);
            border-radius: 16px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.12);
            padding: 2rem;
            width: 100%;
            max-width: 500px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .faucet-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
        }
        
        .faucet-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }
        
        .faucet-description {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            line-height: 1.5;
        }
        
        .faucet-reward {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            margin: 1.5rem 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        
        .faucet-reward::before {
            content: '💰';
            font-size: 2rem;
        }
        
        .faucet-countdown {
            background: var(--bg-secondary);
            border-radius: 8px;
            padding: 1rem;
            margin: 1.5rem 0;
            font-weight: 500;
            color: var(--text-primary);
            min-height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .faucet-claim-btn {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            border: none;
            border-radius: 50px;
            padding: 1rem 2rem;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            margin: 1.5rem 0;
            position: relative;
            overflow: hidden;
        }
        
        .faucet-claim-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }
        
        .faucet-claim-btn:hover::before {
            left: 100%;
        }
        
        .faucet-claim-btn:hover:not(:disabled) {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.25);
        }
        
        .faucet-claim-btn:disabled {
            background: var(--bg-tertiary);
            color: var(--text-secondary);
            cursor: not-allowed;
            box-shadow: none;
        }
        
        .faucet-status {
            color: var(--text-secondary);
            margin: 1rem 0;
            font-size: 0.9rem;
        }
        
        .faucet-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin-top: 2rem;
        }
        
        .faucet-stat-card {
            background: var(--bg-secondary);
            border-radius: 8px;
            padding: 1rem;
            text-align: center;
        }
        
        .faucet-stat-value {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.25rem;
        }
        
        .faucet-stat-label {
            font-size: 0.8rem;
            color: var(--text-secondary);
        }
        
        .faucet-ads {
            margin: 1.5rem 0;
        }
        
        /* Strategic faucet button placement */
        .floating-faucet-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            border: none;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 100;
            transition: all 0.3s ease;
        }
        
        .floating-faucet-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 16px rgba(0,0,0,0.2);
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .faucet-stats {
                grid-template-columns: 1fr;
            }
            
            .daily-balance-summary {
                flex-direction: column;
                gap: 0.75rem;
            }
        }
        
         /* Move faucet button to left bottom */
        .floating-faucet-btn {
            position: fixed;
            bottom: 20px;
            left: 20px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #4A90E2 0%, #4A90E2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
            z-index: 999;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .floating-faucet-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 16px rgba(102, 126, 234, 0.6);
        }
        
        .floating-faucet-btn:active {
            transform: scale(0.95);
        }
        
        
        /* Enhanced features section */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        
        .feature-card {
            background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
            border: 1px solid rgba(255,255,255,0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .feature-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #4A90E2, #4A90E2);
            border-radius: 16px 16px 0 0;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.15);
        }
        
        .feature-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            display: block;
        }
        
        .feature-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }
        
        .feature-description {
            color: var(--text-secondary);
            margin-bottom: 1rem;
            line-height: 1.6;
        }
        
        .feature-benefit {
            color: var(--success);
            font-weight: 600;
            display: inline-block;
            padding: 0.25rem 0.75rem;
            background: rgba(76, 175, 80, 0.1);
            border-radius: 20px;
            font-size: 0.875rem;
        }
        
        /* Join CTA section */
        .join-cta {
            text-align: center;
            margin-top: 3rem;
            padding: 2rem;
            background: linear-gradient(135deg, #4A90E2 0%, #4A90E2 100%);
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
        }
        
        .join-cta h2 {
            color: white;
            font-size: 2rem;
            margin-bottom: 1rem;
        }
        
        .join-cta p {
            color: rgba(255,255,255,0.9);
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .join-cta .btn {
            background: white;
            color: #4A90E2;
            font-weight: 700;
            padding: 0.75rem 2rem;
            border-radius: 30px;
            font-size: 1.1rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .join-cta .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        }
        
        /* Dark mode adjustments */
        body[data-theme="dark"] .feature-card {
            background: linear-gradient(135deg, rgba(30,30,30,0.8), rgba(30,30,30,0.6));
            border: 1px solid rgba(255,255,255,0.05);
        }
        
        body[data-theme="dark"] .feature-title {
            color: var(--text-primary);
        }
        
        body[data-theme="dark"] .feature-description {
            color: var(--text-secondary);
        }
        
        body[data-theme="dark"] .feature-benefit {
            background: rgba(76, 175, 80, 0.2);
        }
        
        /* Animation for notification */
        @keyframes slideDown {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
         .website-notification-container {
            display: flex;
            align-items: center;
            padding: 0 15px;
            flex-grow: 1;
            overflow: hidden;
        }
        
        .website-notification-icon {
            margin-right: 10px;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        
        .website-notification-text {
            overflow: hidden;
            text-overflow: ellipsis;
            flex-grow: 1;
        }
        
        .website-notification-close {
            background: none;
            border: none;
            color: inherit;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0 10px;
            line-height: 1;
            opacity: 0.7;
            transition: opacity 0.3s;
            flex-shrink: 0;
        }
        
        .website-notification-close:hover {
            opacity: 1;
        }
        
        @media (max-width: 768px) {
            .website-notification {
                padding: 10px 0;
                font-size: 0.9rem;
            }
            
            .website-notification-container {
                padding: 0 10px;
            }
            
            .website-notification-icon {
                font-size: 1rem;
                margin-right: 8px;
            }
            
            .website-notification-close {
                font-size: 1.2rem;
                padding: 0 8px;
            }
        }
        
        /* Faucet notification styles */
        .faucet-notification {
            position: fixed;
            top: 20px;
            right: 20px;
            background: linear-gradient(135deg, #4CAF50, #45a049);
            color: white;
            padding: 15px 20px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1001;
            display: flex;
            align-items: center;
            max-width: 300px;
            animation: slideInRight 0.5s ease-out;
            transform-origin: top right;
        }
        
        .faucet-notification-icon {
            font-size: 1.5rem;
            margin-right: 10px;
        }
        
        .faucet-notification-content {
            flex-grow: 1;
        }
        
        .faucet-notification-title {
            font-weight: bold;
            margin-bottom: 5px;
        }
        
        .faucet-notification-message {
            font-size: 0.9rem;
        }
        
        .faucet-notification-close {
            background: none;
            border: none;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            margin-left: 10px;
            opacity: 0.7;
            transition: opacity 0.3s;
        }
        
        .faucet-notification-close:hover {
            opacity: 1;
        }
        
        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        @keyframes slideDown {
            from {
                transform: translateY(-100%);
            }
            to {
                transform: translateY(0);
            }
        }
        
        /* Daily reward styles */
        .daily-reward-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 80vh;
            padding: 20px;
        }
        
        .daily-reward-card {
            background: var(--card-bg);
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.12);
            padding: 30px;
            width: 100%;
            max-width: 500px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .daily-reward-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
        }
        
        .daily-reward-title {
            font-size: 2rem;
            margin-bottom: 10px;
            color: var(--text-primary);
        }
        
        .daily-reward-subtitle {
            color: var(--text-secondary);
            margin-bottom: 30px;
            font-size: 1rem;
        }
        
        .daily-reward-amount {
            font-size: 3rem;
            font-weight: bold;
            color: var(--primary);
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .daily-reward-amount::before {
            content: '$';
            font-size: 2rem;
            margin-right: 5px;
        }
        
        .daily-reward-timer {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 30px;
            font-size: 1.2rem;
            color: var(--text-secondary);
        }
        
        .daily-reward-timer-icon {
            margin-right: 10px;
            font-size: 1.5rem;
        }
        
        .daily-reward-button {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            border: none;
            border-radius: 50px;
            padding: 15px 30px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        
        .daily-reward-button:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        }
        
        .daily-reward-button:disabled {
            background: var(--bg-tertiary);
            color: var(--text-secondary);
            cursor: not-allowed;
        }
        
        .daily-reward-status {
            margin-top: 20px;
            padding: 15px;
            border-radius: 8px;
            background: var(--bg-secondary);
            color: var(--text-secondary);
        }
        
        .daily-reward-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 15px;
            margin-top: 30px;
        }
        
        .daily-reward-stat {
            background: var(--bg-secondary);
            border-radius: 8px;
            padding: 15px;
            text-align: center;
        }
        
        .daily-reward-stat-value {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary);
            margin-bottom: 5px;
        }
        
        .daily-reward-stat-label {
            font-size: 0.9rem;
            color: var(--text-secondary);
        }
        
        /* Referral toggle styles */
        .referral-toggle {
            margin-bottom: 15px;
        }
        
        .referral-toggle-label {
            display: flex;
            align-items: center;
            cursor: pointer;
            color: var(--text-primary);
            margin-bottom: 10px;
        }
        
        .referral-toggle-checkbox {
            margin-right: 10px;
        }
        
        .referral-input-group {
            display: none;
            margin-top: 10px;
        }
        
        .referral-input-group.active {
            display: block;
            animation: fadeIn 0.3s ease-out;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Improved hero text */
        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .hero p {
            font-size: 1.2rem;
            color: var(--text-secondary);
            margin-bottom: 30px;
            max-width: 600px;
        }
        
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .daily-reward-card {
                padding: 20px;
            }
            
            .daily-reward-title {
                font-size: 1.5rem;
            }
            
            .daily-reward-amount {
                font-size: 2.5rem;
            }
        }
        
        
                /* Professional icon replacements */
        .icon-link { color: #4a6cf7; }
        .icon-user { color: #6c757d; }
        .icon-settings { color: #6c757d; }
        .icon-earnings { color: #28a745; }
        .icon-faucet { color: #17a2b8; }
        .icon-reward { color: #ffc107; }
        .icon-transfer { color: #6610f2; }
        .icon-withdrawal { color: #dc3545; }
        .icon-referral { color: #fd7e14; }
        .icon-stats { color: #20c997; }
        .icon-backup { color: #6f42c1; }
        .icon-index { color: #0d6efd; }
        .icon-reset { color: #dc3545; }
        
        /* Admin notification badge */
        .admin-notification-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: #dc3545;
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: bold;
            z-index: 10;
        }
        
        /* Professional button styles */
        .btn-professional {
            background: linear-gradient(135deg, #4A90E2 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 10px 20px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }
        
        .btn-professional:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        }
        
        /* Referral program enhanced styles */
        .referral-program-card {
            background: linear-gradient(135deg, #008000 0%, #008000 100%);
            border-radius: 12px;
            padding: 20px;
            color: white;
            box-shadow: 0 10px 20px rgba(240, 147, 251, 0.3);
        }
        
        .referral-program-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .referral-program-title i {
            margin-right: 10px;
            font-size: 28px;
        }
        
        .referral-program-stats {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }
        
        .referral-program-stat {
            text-align: center;
            flex: 1;
        }
        
        .referral-program-stat-value {
            font-size: 24px;
            font-weight: bold;
        }
        
        .referral-program-stat-label {
            font-size: 14px;
            opacity: 0.9;
        }
        
        /* Transfer balance modal styles */
        .transfer-balance-form {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .transfer-balance-input-group {
            position: relative;
            margin-bottom: 15px;
        }
        
        .transfer-balance-input {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            font-size: 16px;
            transition: border-color 0.3s;
        }
        
        .transfer-balance-input:focus {
            border-color: #4A90E2;
            outline: none;
        }
        
        .transfer-balance-button {
            background: linear-gradient(135deg, #4A90E2 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 12px 20px;
            font-weight: 600;
            width: 100%;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .transfer-balance-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        }
        
        /* Registration bonus styles */
        .registration-bonus-card1 {
            background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
            border-radius: 12px;
            padding: 20px;
            color: white;
            box-shadow: 0 10px 20px rgba(246, 211, 101, 0.3);
            margin-bottom: 20px;
        }
        
        .registration-bonus-title {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        
        .registration-bonus-title i {
            margin-right: 10px;
        }
        
        .registration-bonus-amount {
            font-size: 28px;
            font-weight: bold;
        }
        
        /* Website indexing status */
        .indexing-status {
            display: flex;
            align-items: center;
            padding: 10px 15px;
            background: #f8f9fa;
            border-radius: 8px;
            margin-bottom: 15px;
        }
        
        .indexing-status i {
            margin-right: 10px;
            color: #28a745;
        }
        
        .indexing-status-text {
            font-weight: 500;
        }
        
        .indexing-countdown {
            margin-left: auto;
            font-weight: 600;
            color: #6c757d;
        }
        
        /* Reset website section */
        .reset-website-section {
            background: #fff;
            border: 2px solid #dc3545;
            border-radius: 12px;
            padding: 20px;
            margin-top: 20px;
        }
        
        .reset-website-title {
            color: #dc3545;
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .reset-website-title i {
            margin-right: 10px;
        }
        
        .reset-website-warning {
            background: #f8d7da;
            color: #721c24;
            padding: 10px 15px;
            border-radius: 8px;
            margin-bottom: 15px;
        }
        
        .reset-website-form {
            display: flex;
            align-items: center;
        }
        
        .reset-website-input {
            flex: 1;
            padding: 10px 15px;
            border: 1px solid #ced4da;
            border-radius: 8px;
            margin-right: 10px;
        }
        
        .reset-website-button {
            background: #dc3545;
            color: white;
            border: none;
            border-radius: 8px;
            padding: 10px 20px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .reset-website-button:hover {
            background: #c82333;
        }
        
        /* Transfer Container Styles */
.transfer-container {
    width: 100%;
}

.transfer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.transfer-header-content h2 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.transfer-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Transfer Statistics */
.transfer-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.transfer-stat-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    background: var(--bg-secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transfer-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.transfer-stat-card.sent {
    border-left: 4px solid var(--danger);
}

.transfer-stat-card.received {
    border-left: 4px solid var(--success);
}

.transfer-stat-card.net {
    border-left: 4px solid var(--primary);
}

.transfer-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.transfer-stat-card.sent .transfer-stat-icon {
    background: rgba(244, 67, 54, 0.1);
    color: var(--danger);
}

.transfer-stat-card.received .transfer-stat-icon {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success);
}

.transfer-stat-card.net .transfer-stat-icon {
    background: rgba(33, 150, 243, 0.1);
    color: var(--primary);
}

.transfer-stat-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.transfer-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Empty Transfer State */
.empty-transfer-state {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin: 2rem 0;
}

.empty-transfer-icon {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-transfer-state h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.empty-transfer-state p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Transfer List */
.transfer-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.transfer-item {
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid transparent;
}

.transfer-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.transfer-item.sent {
    border-left-color: var(--danger);
}

.transfer-item.received {
    border-left-color: var(--success);
}

.transfer-item-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.transfer-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1rem;
}

.transfer-icon.sent {
    background: rgba(244, 67, 54, 0.1);
    color: var(--danger);
}

.transfer-icon.received {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success);
}

.transfer-type {
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.transfer-amount {
    font-weight: 600;
    font-size: 1.1rem;
}

.transfer-amount.sent {
    color: var(--danger);
}

.transfer-amount.received {
    color: var(--success);
}

.transfer-item-body {
    padding: 1rem;
}

.transfer-description {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.transfer-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.transfer-item-footer {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    font-size: 0.8rem;
}

.transfer-id {
    color: var(--text-secondary);
}

.transfer-status {
    display: flex;
    align-items: center;
    color: var(--success);
}

.transfer-status i {
    margin-right: 0.25rem;
}

/* Transfer Pagination */
.transfer-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1rem 0;
}

.pagination-btn {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn i {
    margin: 0 0.25rem;
}

.pagination-info {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.pagination-info strong {
    margin: 0 0.25rem;
    color: var(--text-primary);
}


/* Withdrawal Modal Styles */
.withdrawal-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.withdrawal-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 80px;
}

.withdrawal-progress-step .step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.withdrawal-progress-step.active .step-number {
    background: var(--primary);
    color: white;
}

.withdrawal-progress-step.completed .step-number {
    background: var(--success);
    color: white;
}

.withdrawal-progress-step .step-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
}

.withdrawal-progress-step.active .step-title {
    color: var(--primary);
    font-weight: 600;
}

.withdrawal-progress-line {
    flex: 1;
    height: 2px;
    background: var(--bg-tertiary);
    margin: 0 0.5rem;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.withdrawal-progress-line.completed {
    background: var(--success);
}

.withdrawal-title {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.withdrawal-step {
    display: none;
}

.withdrawal-step.active {
    display: block;
}

.withdrawal-step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.withdrawal-step-header h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.withdrawal-step-description {
    color: var(--text-secondary);
}

.current-balance-display {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.balance-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.balance-amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.withdrawal-amount-input {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.withdrawal-input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid var(--bg-tertiary);
    border-radius: 10px;
    font-size: 1.2rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.withdrawal-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.input-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

.withdrawal-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-item i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.withdrawal-amount-summary {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
}

.summary-value {
    font-weight: 600;
    color: var(--primary);
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method-card {
    border: 2px solid var(--bg-tertiary);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: var(--bg-secondary);
}

.payment-method-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.payment-method-card.selected {
    border-color: var(--primary);
    background: rgba(74, 108, 247, 0.05);
}

.payment-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--primary);
}

.payment-method-card.selected .payment-method-icon {
    background: var(--primary);
    color: white;
}

.payment-method-info {
    margin-bottom: 0.5rem;
}

.payment-method-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.payment-method-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.payment-method-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.payment-method-card.selected .payment-method-check {
    background: var(--success);
    opacity: 1;
    transform: scale(1);
}

.withdrawal-summary-card {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bg-tertiary);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    color: var(--text-secondary);
}

.summary-value {
    font-weight: 600;
    color: var(--text-primary);
}

.payment-details-input {
    margin-bottom: 1.5rem;
}

.payment-details-input label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.withdrawal-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--bg-tertiary);
    border-radius: 10px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    resize: vertical;
    transition: all 0.3s ease;
}

.withdrawal-textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
}

.withdrawal-notice {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid var(--warning);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
}

.withdrawal-notice i {
    color: var(--warning);
    margin-right: 0.75rem;
    margin-top: 0.2rem;
}

.withdrawal-step-actions {
    display: flex;
    justify-content: space-between;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Transfer Balance Modal Styles */
.transfer-modal-content {
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    border: 1px solid var(--border-color);
}

.transfer-header {
    text-align: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border-color);
}

.transfer-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 24px;
}

.transfer-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text-primary);
}

.transfer-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.transfer-balance-display {
    padding: 20px 24px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.balance-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.balance-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.transfer-form-container {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.transfer-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.transfer-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.user-search-container {
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-toggle-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.search-toggle-btn:hover {
    background-color: var(--bg-tertiary);
    color: var(--primary);
}

.user-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.user-search-results.active {
    display: block;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.refresh-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.refresh-btn:hover {
    background-color: var(--bg-tertiary);
    color: var(--primary);
}

.search-results-list {
    max-height: 240px;
    overflow-y: auto;
}

.user-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-bottom: 1px solid var(--border-color);
}

.user-item:last-child {
    border-bottom: none;
}

.user-item:hover {
    background-color: var(--bg-tertiary);
}

.user-item.selected {
    background-color: rgba(74, 108, 247, 0.1);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 12px;
}

.user-details {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.user-status {
    font-size: 12px;
    color: var(--text-secondary);
}

.user-role {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 8px;
}

.user-role.admin {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.validation-message {
    margin-top: 8px;
    font-size: 14px;
    color: var(--danger);
    display: none;
}

.validation-message.active {
    display: block;
}

.amount-input-container {
    position: relative;
}

.amount-buttons {
    display: flex;
    margin-top: 8px;
    gap: 8px;
}

.amount-preset-btn {
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.amount-preset-btn:hover {
    background-color: var(--bg-secondary);
    border-color: var(--primary);
}

.password-input-container {
    position: relative;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.password-toggle-btn:hover {
    background-color: var(--bg-tertiary);
    color: var(--primary);
}

.selected-user-display {
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.selected-user-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.selected-user-info {
    display: flex;
    align-items: center;
}

.selected-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 12px;
}

.selected-user-details {
    flex: 1;
}

.selected-user-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.selected-user-status {
    font-size: 12px;
    color: var(--text-secondary);
}

.transfer-button {
    width: 100%;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 24px;
}

.transfer-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(74, 108, 247, 0.3);
}

.transfer-button:active {
    transform: translateY(0);
}

.recent-transfers {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
}

.recent-transfers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.recent-transfers-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.view-all-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.view-all-btn:hover {
    background-color: rgba(74, 108, 247, 0.1);
}

.recent-transfers-list {
    max-height: 200px;
    overflow-y: auto;
}

.transfer-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.transfer-item:last-child {
    border-bottom: none;
}

.transfer-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.transfer-icon.sent {
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.transfer-icon.received {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.transfer-details {
    flex: 1;
}

.transfer-amount {
    font-weight: 600;
    margin-bottom: 4px;
}

.transfer-amount.sent {
    color: #f44336;
}

.transfer-amount.received {
    color: #4caf50;
}

.transfer-description {
    font-size: 14px;
    color: var(--text-secondary);
}

.transfer-date {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .transfer-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .transfer-header {
        padding: 20px 20px 12px;
    }
    
    .transfer-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .transfer-title {
        font-size: 20px;
    }
    
    .transfer-form-container {
        padding: 20px;
    }
    
    .recent-transfers {
        padding: 16px 20px;
    }
    
    .amount-buttons {
        flex-wrap: wrap;
    }
    
    .amount-preset-btn {
        flex: 1;
        min-width: calc(50% - 4px);
    }
}

.input-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.input-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.transfer-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.amount-input-container {
    position: relative;
}

.amount-preset-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amount-preset-btn:hover {
    background: var(--primary);
    color: white;
}

.amount-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}


/* Auth Container Styles */
.auth-container {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.auth-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.auth-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.auth-card {
    width: 100%;
    max-width: 450px;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Form Step Styles */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.step-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bg-tertiary);
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    margin-right: 1rem;
}

.step-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* Form Styles */
.auth-form {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--bg-tertiary);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
    outline: none;
}

.input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.btn-next {
    margin-left: auto;
}

/* Registration Bonus Card */
.registration-bonus-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.bonus-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.bonus-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.bonus-amount {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.25rem 0;
}

/* Auth Illustration */
.auth-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
}

.illustration-content {
    text-align: center;
    color: white;
    max-width: 400px;
}

.illustration-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.illustration-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.illustration-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.feature-list {
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.feature-item i {
    margin-right: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background-color: var(--bg-tertiary);
    border-radius: 2px;
    margin-bottom: 0.25rem;
    overflow: hidden;
}

.strength-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0;
    background-color: var(--danger);
    transition: width 0.3s, background-color 0.3s;
}

.strength-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Referral Validation */
.referral-validation {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.referral-valid {
    color: var(--success);
}

.referral-invalid {
    color: var(--danger);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
    }
    
    .auth-right {
        display: none;
    }
    
    .auth-card {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-next {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* Add these styles to your CSS section */
.validation-message {
    margin-top: 5px;
    font-size: 0.8rem;
}

.validation-error {
    color: var(--danger);
}

.validation-success {
    color: var(--success);
}

.referral-valid, .referral-invalid {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
}

.referral-valid {
    color: var(--success);
}

.referral-invalid {
    color: var(--danger);
}

/* Enhanced Join CTA Section Styles */
.join-cta-enhanced {
    position: relative;
    margin: 4rem 0;
    padding: 4rem 2rem;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 50%, #91d5ff 100%);
    box-shadow: 0 10px 30px rgba(24, 144, 255, 0.15);
}

.join-cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.join-cta-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #1890ff, #36cfc9);
    top: -50px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #36cfc9, #1890ff);
    bottom: -30px;
    left: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #1890ff, #40a9ff);
    top: 50%;
    right: 15%;
    animation: float 7s ease-in-out infinite 2s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.join-cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.join-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    color: #1890ff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.1);
}

.join-cta-badge i {
    color: #faad14;
}

.join-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0050b3;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.join-cta-description {
    font-size: 1.125rem;
    color: #595959;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.join-cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #262626;
    font-weight: 500;
}

.feature-item i {
    color: #52c41a;
    font-size: 1.125rem;
}

.join-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.join-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.join-cta-btn.primary {
    background: linear-gradient(45deg, #1890ff, #40a9ff);
    color: white;
}

.join-cta-btn.primary:hover {
    background: linear-gradient(45deg, #096dd9, #1890ff);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(24, 144, 255, 0.3);
}

.join-cta-btn.secondary {
    background: white;
    color: #1890ff;
    border: 1px solid #d9f7be;
}

.join-cta-btn.secondary:hover {
    background: #f0f9ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(24, 144, 255, 0.15);
}

.join-cta-testimonial {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .join-cta-enhanced {
        padding: 3rem 1.5rem;
        margin: 3rem 0;
    }
    
    .join-cta-title {
        font-size: 2rem;
    }
    
    .join-cta-features {
        gap: 1rem;
    }
    
    .join-cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .join-cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .join-cta-testimonial {
        flex-direction: column;
        text-align: center;
    }
} 


/* Dashboard notification badge */
.dashboard-notification-badge {
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 5px;
    position: relative;
    top: -8px;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 5px rgba(255, 71, 87, 0.3);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Adjust dashboard tab positioning */
.dashboard-tab {
    position: relative;
    display: flex;
    align-items: center;
}




/* Enhanced Login & Register Styles */
.auth-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.auth-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.auth-right {
    flex: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: 20px 20px;
    opacity: 0.3;
}

.auth-card {
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
    border: 1px solid var(--border-color);
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.auth-form {
    position: relative;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.form-step.active {
    display: block;
}

.step-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.3;
    z-index: -1;
    animation: pulse 2s infinite;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--bg-input);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 108, 247, 0.3);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-hover);
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
}

.auth-links a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: var(--accent);
}

.auth-illustration {
    color: white;
    text-align: center;
    max-width: 400px;
}

.illustration-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.illustration-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.illustration-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.feature-list {
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.feature-item i {
    margin-right: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Registration Bonus Card */
.registration-bonus-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.registration-bonus-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 20s linear infinite;
}

.bonus-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.bonus-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bonus-amount {
    font-size: 2rem;
    font-weight: 700;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.strength-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--danger);
    border-radius: 3px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    color: var(--text-secondary);
}

/* Referral Validation */
.referral-validation {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.referral-valid {
    color: var(--success);
}

.referral-invalid {
    color: var(--danger);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Dark Mode Adjustments */
body[data-theme="dark"] .auth-card {
    background: var(--bg-card);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .form-control {
    background: var(--bg-input);
    border-color: var(--border-color);
    color: var(--text-primary);
}

body[data-theme="dark"] .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

body[data-theme="dark"] .btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

body[data-theme="dark"] .btn-secondary:hover {
    background: var(--bg-hover);
}

/* Responsive Design */
@media (max-width: 992px) {
    .auth-right {
        display: none;
    }
    
    .auth-left {
        flex: 1;
    }
}

@media (max-width: 576px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .auth-header h2 {
        font-size: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
}

/* Total Earnings Card */
.total-earnings-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.total-earnings-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.total-earnings-icon i {
    font-size: 1.5rem;
}

.total-earnings-content {
    flex: 1;
}

.total-earnings-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.total-earnings-amount {
    font-size: 2rem;
    font-weight: 700;
}