/* styles.css */
:root {
    --primary: #ff6b00;
    --secondary: #00ff88;
    --dark: #0a0a0a;
    --darker: #050505;
    --light: #ffffff;
    --gray: #1a1a1a;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background: var(--darker);
    color: var(--light);
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Навбар */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-menu a:hover {
    background: var(--gradient);
    transform: scale(1.05);
}

/* Мундариҷаи асосӣ */
.main-content {
    margin-top: 80px;
    padding: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Ҷустуҷӯ */
.search-container {
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-out;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: var(--gray);
    border-radius: 50px;
    padding: 0.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--light);
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    outline: none;
}

.search-btn {
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark);
    font-size: 1.2rem;
}

.search-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Гриди ҳисобҳо */
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.account-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid #333;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.account-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.2);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 2px solid #333;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.old-price {
    text-decoration: line-through;
    color: #666;
    font-size: 0.9rem;
}

.new-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--secondary);
}

.discount-badge {
    background: var(--gradient);
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.cta-button {
    display: block;
    width: 100%;
    background: var(--gradient);
    color: var(--dark);
    text-decoration: none;
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

/* Формаҳо */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--gray);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #333;
    animation: fadeIn 0.8s ease-out;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.1rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 1rem;
    background: var(--darker);
    border: 1px solid #333;
    border-radius: 10px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Ҷадвалҳо */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--gray);
    border-radius: 15px;
    overflow: hidden;
    animation: fadeIn 0.8s ease-out;
}

.data-table th, .data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

.data-table th {
    background: var(--gradient);
    color: var(--dark);
    font-weight: bold;
}

.data-table tr:hover {
    background: rgba(255, 107, 0, 0.1);
}

/* Омори админ */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--gray);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #333;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

/* Тугмаҳои амал */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.view-btn { background: #10b981; }
.edit-btn { background: #3b82f6; }
.pause-btn { background: #f59e0b; }
.play-btn { background: #10b981; }
.vip-btn { background: #f59e0b; }
.vip-active { background: gold; color: black; }
.top-btn { background: #94a3b8; }
.top-active { background: silver; color: black; }
.delete-btn { background: #ef4444; }
.approve-btn { background: #10b981; }
.reject-btn { background: #ef4444; }

.action-btn:hover {
    transform: scale(1.1);
}

/* Паёмҳо */
.flash-messages {
    list-style: none;
    margin-bottom: 2rem;
    animation: fadeIn 0.5s ease-out;
}

.flash-messages li {
    background: var(--gradient);
    color: var(--dark);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-align: center;
}

/* Галереяи аксҳо */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.gallery-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

/* Фонҳои шиновар */
.floating-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-element {
    position: absolute;
    background: var(--gradient);
    opacity: 0.1;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.element-1 { width: 200px; height: 200px; top: 10%; left: 5%; animation-delay: 0s; }
.element-2 { width: 150px; height: 150px; top: 60%; right: 10%; animation-delay: 2s; }
.element-3 { width: 100px; height: 100px; bottom: 20%; left: 15%; animation-delay: 4s; }

/* Стилҳои панели админ */
.admin-sidebar {
    width: 250px;
    background: var(--darker);
    height: calc(100vh - 80px);
    position: fixed;
    top: 80px;
    left: 0;
    padding: 1rem;
    border-right: 2px solid var(--primary);
    transition: transform 0.3s ease;
    z-index: 900;
    overflow-y: auto;
}

.admin-sidebar ul {
    list-style: none;
    padding: 0;
}

.admin-sidebar li {
    margin: 0.5rem 0;
}

.admin-sidebar a {
    color: var(--light);
    text-decoration: none;
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.admin-sidebar a:hover {
    background: var(--gradient);
    transform: translateX(5px);
}

.admin-content {
    margin-left: 250px;
    padding: 2rem;
    min-height: calc(100vh - 80px);
    transition: margin-left 0.3s ease;
}

.admin-panel {
    background: var(--gray);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #333;
    animation: fadeIn 0.8s ease-out;
}

.admin-graph {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #333;
}

.admin-form-group {
    margin-bottom: 1.5rem;
}

.admin-form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.1rem;
}

.admin-form-input {
    width: 100%;
    padding: 0.8rem;
    background: var(--darker);
    border: 1px solid #333;
    border-radius: 10px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.admin-form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
    outline: none;
}

.admin-submit-btn {
    background: var(--gradient);
    color: var(--dark);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.admin-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
}

/* Системаи пардохт */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.payment-method {
    background: var(--gray);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-method:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.payment-method.selected {
    border-color: var(--secondary);
    background: rgba(0, 255, 136, 0.1);
}

.payment-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Барои мобил */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 0.3rem 0.8rem;
    }

    .main-content {
        padding: 1rem;
        margin-top: 70px;
    }

    .accounts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .search-box {
        margin: 0 1rem;
    }

    .data-table {
        font-size: 0.9rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    /* Адаптатсияи админ барои мобил */
    .admin-sidebar {
        transform: translateX(-100%);
        top: 70px;
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .admin-content {
        margin-left: 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        padding: 10px;
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 1001;
    }

    .hamburger div {
        width: 25px;
        height: 3px;
        background-color: var(--light);
        margin: 5px 0;
        transition: 0.4s;
    }

    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (max-width: 480px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        font-size: 1.5rem;
    }

    .form-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .data-table th, .data-table td {
        padding: 0.5rem;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-form-input {
        padding: 0.6rem;
    }

    .admin-submit-btn {
        padding: 0.6rem 1rem;
    }
}

/* Стилҳои иловагӣ барои системаи пардохт */
.wallet-balance {
    background: var(--gradient);
    color: var(--dark);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.payment-history {
    margin-top: 2rem;
}

.payment-item {
    background: var(--gray);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

.payment-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-pending { background: #f59e0b; color: black; }
.status-approved { background: #10b981; color: white; }
-status-rejected { background: #ef4444; color: white; }

/* Стилҳои VIP/TOP */
.vip-badge {
    background: gold;
    color: black;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-left: 0.5rem;
}

.top-badge {
    background: silver;
    color: black;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-left: 0.5rem;
}

.verified-badge {
    background: var(--secondary);
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 0.5rem;
}

/* Стилҳои саҳифаи Эълонҳои ман */
.my-ads-container {
    animation: fadeIn 0.8s ease-out;
}

.wallet-info-banner {
    background: var(--gradient);
    color: var(--dark);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.wallet-balance {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.my-ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.my-ad-card {
    background: var(--gray);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.my-ad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
}

.ad-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--darker);
    border-bottom: 1px solid #333;
}

.ad-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.vip-badge, .top-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.vip-badge {
    background: gold;
    color: black;
}

.top-badge {
    background: silver;
    color: black;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-badge.active {
    background: #10b981;
    color: white;
}

.status-badge.inactive {
    background: #6b7280;
    color: white;
}

.ad-content-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ad-image-container {
    height: 200px;
    overflow: hidden;
}

.ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-image.placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--darker);
    color: #666;
    height: 100%;
}

.ad-details {
    padding: 1rem;
}

.ad-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.ad-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--secondary);
}

.old-price {
    text-decoration: line-through;
    color: #666;
    font-size: 1rem;
    margin-left: 0.5rem;
}

.ad-date {
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.premium-services {
    padding: 1rem;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.service-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-form {
    flex: 1;
    min-width: 200px;
}

.service-btn {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.service-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.vip-btn {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: black;
}

.top-btn {
    background: linear-gradient(135deg, #94a3b8, #cbd5e1);
    color: black;
}

.ad-actions {
    display: flex;
    padding: 1rem;
    gap: 0.5rem;
}

.action-form {
    display: contents;
}

/* Стилҳои саҳифаи Ҳамён */
.wallet-header {
    text-align: center;
    margin-bottom: 2rem;
}

.balance-card {
    background: var(--gradient);
    color: var(--dark);
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 400px;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.payment-methods-section {
    margin: 3rem 0;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.payment-method-card {
    background: var(--gray);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.payment-method-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.account-number {
    font-family: monospace;
    font-size: 1.2rem;
    background: var(--darker);
    padding: 0.5rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.copy-btn {
    background: var(--gradient);
    color: var(--dark);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: scale(1.05);
}

.payment-instructions {
    background: var(--gray);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.payment-instructions ol {
    text-align: left;
    margin-top: 1rem;
}

.payment-instructions li {
    margin-bottom: 0.5rem;
}

.available-services {
    margin: 3rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--gray);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
}

.service-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary);
    margin: 1rem 0;
}

/* Стилҳои саҳифаи Профил */
.profile-header {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--gray);
    border-radius: 20px;
    flex-wrap: wrap;
}

.profile-avatar {
    position: relative;
    flex-shrink: 0;
}

.avatar-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
}

.avatar-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--darker);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--primary);
    font-size: 4rem;
    color: var(--primary);
}

.verified-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--secondary);
    color: var(--dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--dark);
}

.profile-info {
    flex: 1;
    min-width: 300px;
}

.profile-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.username {
    color: #888;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.profile-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ccc;
}

.profile-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    color: #888;
    font-size: 0.9rem;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: var(--gray);
    color: var(--light);
    border: 2px solid var(--primary);
}

.cta-button.premium {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: black;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #333;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.ad-card {
    background: var(--gray);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.ad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
}

.ad-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ad-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--darker);
    color: #666;
    font-size: 3rem;
}

.ad-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.ad-badge.vip {
    background: gold;
    color: black;
}

.ad-badge.top {
    background: silver;
    color: black;
}

.ad-content {
    padding: 1rem;
}

.ad-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.ad-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--secondary);
}

.ad-meta {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.9rem;
}

.ad-actions {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid #333;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-card {
    background: var(--gray);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid #333;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--darker);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-details {
    flex: 1;
}

.review-date {
    color: #888;
    font-size: 0.9rem;
}

.review-content p {
    line-height: 1.6;
    color: #ccc;
}

.add-review {
    background: var(--gray);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.review-textarea {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    background: var(--darker);
    border: 1px solid #333;
    border-radius: 10px;
    color: var(--light);
    margin-bottom: 1rem;
    resize: vertical;
}

.no-content {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

/* Барои мобил */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .profile-actions {
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .my-ads-grid {
        grid-template-columns: 1fr;
    }
    
    .service-buttons {
        flex-direction: column;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .ads-grid {
        grid-template-columns: 1fr;
    }
    
    /* Стилҳои иловагӣ барои панели админ */
.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--gray);
    border-radius: 10px;
}

.search-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-input {
    padding: 0.8rem;
    background: var(--darker);
    border: 1px solid #333;
    border-radius: 5px;
    color: var(--light);
    min-width: 300px;
}

.search-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
}

.no-data {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-data i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-badge.active {
    background: #10b981;
    color: white;
}

.status-badge.inactive {
    background: #6b7280;
    color: white;
}

.status-badge.pending {
    background: #f59e0b;
    color: black;
}

.verified-badge {
    background: #10b981;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.not-verified {
    color: #6b7280;
    font-size: 0.8rem;
}

.banned-badge {
    background: #ef4444;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.not-banned {
    color: #10b981;
    font-size: 0.8rem;
}

.vip-badge, .top-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.vip-badge {
    background: gold;
    color: black;
}

.top-badge {
    background: silver;
    color: black;
}

.no-badge {
    color: #6b7280;
    font-size: 0.8rem;
}

.ban-btn {
    background: #f59e0b;
}

.unban-btn {
    background: #10b981;
}

.price {
    font-weight: bold;
    color: var(--secondary);
}

.cta-button.success {
    background: #10b981;
    color: white;
}

/* Барои мобил */
@media (max-width: 768px) {
    .admin-toolbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-form {
        width: 100%;
    }
    
    .search-input {
        min-width: auto;
        flex: 1;
    }
    
    .data-table {
        font-size: 0.8rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

/* Стилҳои иловагӣ барои панели админ */
.checkbox-group {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.permission-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--darker);
    border-radius: 5px;
    cursor: pointer;
}

.permission-label {
    font-size: 0.9rem;
}

.permission-badge {
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    margin: 0.1rem;
    display: inline-block;
}

.no-permissions {
    color: #666;
    font-style: italic;
}

.current-user-badge {
    background: var(--secondary);
    color: black;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: 0.5rem;
}

.disabled-btn {
    background: #6b7280 !important;
    cursor: not-allowed;
    opacity: 0.5;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-button.secondary {
    background: var(--gray);
    color: var(--light);
    border: 2px solid var(--primary);
}

.image-item {
    display: inline-block;
    margin: 0.5rem;
    text-align: center;
}

.delete-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.add-balance-form {
    background: var(--gray);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.add-balance-form .form-group {
    margin-bottom: 1rem;
}

.add-balance-form .form-input {
    width: 100%;
    padding: 0.5rem;
}

/* Стилҳои таблитсаҳо */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--gray);
    border-radius: 10px;
    overflow: hidden;
}

.data-table th, .data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

.data-table th {
    background: var(--primary);
    color: white;
    font-weight: bold;
}

.data-table tr:hover {
    background: rgba(255, 107, 0, 0.1);
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-badge.active {
    background: #10b981;
    color: white;
}

.status-badge.inactive {
    background: #6b7280;
    color: white;
}

.status-badge.pending {
    background: #f59e0b;
    color: black;
}

.vip-badge {
    background: gold;
    color: black;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.top-badge {
    background: silver;
    color: black;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    color: white;
    border: none;
    cursor: pointer;
}

.view-btn { background: #10b981; }
.edit-btn { background: #3b82f6; }
.approve-btn { background: #10b981; }
.reject-btn { background: #ef4444; }
.ban-btn { background: #f59e0b; }
.unban-btn { background: #10b981; }
.delete-btn { background: #ef4444; }

.action-btn:hover {
    transform: scale(1.1);
}

/* Барои мобил */
@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }
    
    .data-table {
        font-size: 0.8rem;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 1rem;
    }
}

}