:root {
    --primary: #2c3e50;
    --secondary: #e74c3c;
    --accent: #3498db;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --success: #2ecc71;
    --warning: #f39c12;
    --danger: #e74c3c;
    --gray: #95a5a6;
    --purple: #9b59b6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 28px;
    color: var(--accent);
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav a:hover {
    color: var(--accent);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-purple {
    background: var(--purple);
    color: white;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://images.unsplash.com/photo-1560472355-536de3962603?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark);
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

/* P2P Auctions Section */
.p2p-auctions {
    padding: 80px 0;
    background: #f5f7fa;
}

.auction-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.auction-sidebar {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.auction-main {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.user-list {
    list-style: none;
    margin-top: 20px;
}

.user-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-item:last-child {
    border-bottom: none;
}

.bid-form {
    background: var(--light);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

/* Dashboard Section */
.dashboard {
    padding: 80px 0;
    background: white;
}

.dashboard-card {
    background: var(--light);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dashboard-card h3 {
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.balance {
    font-size: 32px;
    color: var(--success);
    font-weight: 700;
    margin: 10px 0 20px;
}

/* Admin Panel */
.admin-panel {
    padding: 80px 0;
    background: #f5f7fa;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.admin-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.admin-card h3 {
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
}

/* Tabs */
.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray);
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: var(--accent);
    border-bottom: 3px solid var(--accent);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    background: var(--success);
    color: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

/* P2P Auction Status */
.auction-status {
    background: var(--light);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.status-bar {
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
}

.status-progress {
    height: 100%;
    background: var(--success);
    width: 0%;
    transition: width 0.5s;
}

.timer {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    text-align: center;
    margin: 15px 0;
}

/* Bank Selection */
.bank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.bank-item {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.bank-item:hover, .bank-item.selected {
    border-color: var(--accent);
    background-color: rgba(52, 152, 219, 0.1);
}

.bank-logo {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--dark);
}

/* Recommitment Section */
.recommitment-panel {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--warning);
}

.recommitment-panel h3 {
    color: var(--warning);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.countdown {
    font-size: 20px;
    font-weight: 700;
    color: var(--danger);
    margin: 10px 0;
}

/* Transaction History */
.transaction-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-type {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.type-deposit {
    background: rgba(46, 204, 113, 0.2);
    color: var(--success);
}

.type-withdrawal {
    background: rgba(52, 152, 219, 0.2);
    color: var(--accent);
}

.type-bid {
    background: rgba(243, 156, 18, 0.2);
    color: var(--warning);
}

.type-recommit {
    background: rgba(231, 76, 60, 0.2);
    color: var(--danger);
}

.type-profit {
    background: rgba(46, 204, 113, 0.2);
    color: var(--success);
}

.type-merge {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
}

.type-referral {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
}

.type-registration {
    background: rgba(52, 152, 219, 0.2);
    color: var(--accent);
}

.type-guider {
    background: rgba(155, 89, 182, 0.2);
    color: var(--purple);
}

/* Admin Panel Styles */
.stat-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.stat-item:last-child {
    border-bottom: none;
}

.admin-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-controls .btn {
    width: 100%;
    justify-content: center;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--success);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.admin-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.admin-section:last-child {
    border-bottom: none;
}

.pending-actions {
    max-height: 300px;
    overflow-y: auto;
}

.action-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.action-item:last-child {
    border-bottom: none;
}

.action-buttons {
    display: flex;
    gap: 5px;
}

.user-status {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.status-active {
    background: rgba(46, 204, 113, 0.2);
    color: var(--success);
}

.status-blocked {
    background: rgba(231, 76, 60, 0.2);
    color: var(--danger);
}

.status-pending {
    background: rgba(243, 156, 18, 0.2);
    color: var(--warning);
}

.timer-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.timer-controls input {
    width: 80px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.timer-display {
    font-size: 14px;
    color: var(--dark);
    margin-top: 5px;
}

.auction-schedule {
    background: var(--light);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.schedule-item:last-child {
    border-bottom: none;
}

/* New styles for bid distribution */
.bid-distribution {
    background: var(--light);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid var(--accent);
}

.distribution-bar {
    height: 20px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
    position: relative;
}

.distribution-40 {
    height: 100%;
    background: var(--success);
    width: 40%;
    float: left;
}

.distribution-60 {
    height: 100%;
    background: var(--warning);
    width: 60%;
    float: left;
}

.distribution-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 12px;
    color: var(--gray);
}

.pending-withdrawals {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.withdrawal-queue {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 15px;
}

.queue-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.queue-item:last-child {
    border-bottom: none;
}

.queue-position {
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.merge-status {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 10px;
    background: rgba(52, 152, 219, 0.2);
    color: var(--accent);
}

.status-merged {
    background: rgba(46, 204, 113, 0.2);
    color: var(--success);
}

.status-pending {
    background: rgba(243, 156, 18, 0.2);
    color: var(--warning);
}

.balance-breakdown {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 15px;
    background: var(--light);
    border-radius: 10px;
}

.balance-item {
    text-align: center;
}

.balance-label {
    font-size: 14px;
    color: var(--gray);
}

.balance-value {
    font-size: 20px;
    font-weight: bold;
}

.available-balance {
    color: var(--success);
}

.pending-merges {
    color: var(--warning);
}

/* New styles for referral system */
.referral-system {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--purple);
}

.referral-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.referral-stat {
    text-align: center;
    padding: 15px;
    background: var(--light);
    border-radius: 10px;
}

.referral-stat-value {
    font-size: 24px;
    font-weight: bold;
    color: var(--purple);
    margin: 10px 0;
}

.referral-link {
    background: var(--light);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.referral-link input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
}

.referral-structure {
    margin-top: 20px;
}

.referral-level {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.referral-level:last-child {
    border-bottom: none;
}

/* New styles for communication */
.communication-panel {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.message-list {
    max-height: 300px;
    overflow-y: auto;
    margin: 15px 0;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
}

.message {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    max-width: 80%;
}

.message-sent {
    background: var(--accent);
    color: white;
    margin-left: auto;
}

.message-received {
    background: var(--light);
    color: var(--dark);
}

.message-input {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.message-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* New styles for payment timers */
.payment-timers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.timer-panel {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.timer-value {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent);
    margin: 10px 0;
}

/* New styles for support */
.support-panel {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.support-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    min-height: 150px;
    margin-bottom: 15px;
}

.support-tickets {
    margin-top: 20px;
}

.ticket-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-item:last-child {
    border-bottom: none;
}

.ticket-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-open {
    background: rgba(52, 152, 219, 0.2);
    color: var(--accent);
}

.status-closed {
    background: rgba(46, 204, 113, 0.2);
    color: var(--success);
}

.status-pending {
    background: rgba(243, 156, 18, 0.2);
    color: var(--warning);
}

/* New styles for user details binding */
.user-details-form {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--accent);
}

.user-details-form h3 {
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.details-locked {
    background: rgba(243, 156, 18, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    border-left: 4px solid var(--warning);
}

.details-locked p {
    margin-bottom: 10px;
}

/* User Timer Section Styles */
.user-timer-section {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--accent);
}

.user-timer-panel {
    background: var(--light);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--warning);
}

.user-timer-panel h4 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: var(--success);
    width: 0%;
    transition: width 1s ease;
}

.urgency-message {
    font-size: 14px;
    margin: 10px 0;
    padding: 8px 12px;
    border-radius: 5px;
    background: rgba(52, 152, 219, 0.1);
}

.merge-info {
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 3px solid var(--success);
}

.merge-info p {
    margin-bottom: 8px;
}

.investment-required-message {
    background: rgba(243, 156, 18, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 3px solid var(--warning);
}

/* Timer color states */
.timer-value.low-time {
    color: var(--danger);
}

.timer-value.medium-time {
    color: var(--warning);
}

.timer-value.high-time {
    color: var(--success);
}

/* Enhanced notification styles */
.notification.error {
    background: var(--danger);
}

.notification.warning {
    background: var(--warning);
}

.notification.info {
    background: var(--accent);
}

.notification.success {
    background: var(--success);
}

/* Responsive adjustments for user timers */
@media (max-width: 768px) {
    .user-timer-section {
        padding: 15px;
    }
    
    .user-timer-panel {
        padding: 15px;
    }
    
    .timer-value {
        font-size: 24px;
    }
    
    .payment-timers {
        grid-template-columns: 1fr;
    }
}

/* Admin panel enhancements */
.admin-management {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.admin-list {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 15px;
}

.admin-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-item:last-child {
    border-bottom: none;
}

.admin-role {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.role-super {
    background: rgba(231, 76, 60, 0.2);
    color: var(--danger);
}

.role-admin {
    background: rgba(52, 152, 219, 0.2);
    color: var(--accent);
}

.role-moderator {
    background: rgba(155, 89, 182, 0.2);
    color: var(--purple);
}

.admin-actions {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .auction-container {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        width: 70px;
    }
    
    .admin-main {
        margin-left: 70px;
        width: calc(100% - 70px);
        padding: 15px;
    }
    
    .nav-item span {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        flex-direction: column;
    }

    .balance-breakdown {
        flex-direction: column;
        gap: 15px;
    }

    .referral-stats {
        grid-template-columns: 1fr;
    }

    .referral-link {
        flex-direction: column;
    }
}
