/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #6b46c1;
}

.logo i {
    font-size: 28px;
    color: #6b46c1;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #6b46c1;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.icon-btn:hover {
    background-color: #f3f4f6;
    color: #6b46c1;
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ec4899;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

/* Main Content Styles */
.main {
    padding: 40px 0;
}

.main-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #6b46c1;
    margin-bottom: 50px;
    line-height: 1.2;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Product Card Styles */
.product-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #6b46c1;
}

.product-logo {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border: 3px solid #1877f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.product-logo i {
    font-size: 32px;
    color: #1877f2;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: #1877f2;
    margin-bottom: 8px;
}

.product-quantity {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.product-features {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.product-features i {
    color: #10b981;
    font-size: 12px;
    flex-shrink: 0;
}

.order-btn {
    background: linear-gradient(135deg, #ec4899, #f97316);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
}

.order-btn:active {
    transform: translateY(0);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background-color: #f3f4f6;
    color: #333;
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    gap: 15px;
    padding: 20px 25px;
    border-top: 1px solid #e5e7eb;
    justify-content: flex-end;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}

.btn-primary {
    background-color: #6b46c1;
    color: white;
}

.btn-primary:hover {
    background-color: #553c9a;
}

.btn-secondary {
    background-color: #f3f4f6;
    color: #333;
}

.btn-secondary:hover {
    background-color: #e5e7eb;
}

.btn-crypto {
    background: linear-gradient(135deg, #f7931a, #ff9500);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-crypto:hover {
    background: linear-gradient(135deg, #e6850e, #e6850e);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 147, 26, 0.3);
}

/* Cart Styles */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.cart-item-info p {
    font-size: 14px;
    color: #666;
}

.cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: #1877f2;
}

.cart-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
    text-align: right;
    font-size: 18px;
}

/* Search Styles */
.search-modal .modal-content {
    max-width: 600px;
}

.search-input {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input input {
    flex: 1;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input input:focus {
    border-color: #6b46c1;
}

.search-btn {
    background-color: #6b46c1;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #553c9a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav {
        gap: 15px;
    }
    
    .main-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .product-card {
        padding: 20px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 28px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

/* Payment Summary Modal Styles */
.payment-summary-modal {
    max-width: 800px;
    max-height: 90vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
}

.payment-summary-modal .modal-body {
    padding: 20px;
    overflow-y: auto;
    min-height: 0;
}

.order-summary {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.order-summary h3 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 18px;
}

.order-items {
    margin-bottom: 15px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.order-item:last-child {
    border-bottom: none;
}

.item-info h4 {
    color: #374151;
    margin-bottom: 5px;
    font-size: 16px;
}

.item-info p {
    color: #6b7280;
    font-size: 14px;
}

.item-price {
    font-weight: 600;
    color: #059669;
    font-size: 16px;
}

.order-total {
    text-align: right;
    padding-top: 12px;
    border-top: 2px solid #e2e8f0;
    font-size: 18px;
    color: #1e293b;
}

.crypto-payment {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fef3c7;
    border-radius: 12px;
    border: 1px solid #f59e0b;
}

.crypto-payment h3 {
    color: #92400e;
    margin-bottom: 15px;
    font-size: 18px;
}

.payment-method {
    margin-bottom: 15px;
}

.payment-method p {
    margin-bottom: 8px;
    color: #92400e;
}

.status-pending {
    color: #dc2626;
    font-weight: 600;
}

.wallet-address {
    margin-bottom: 20px;
}

.wallet-address h4 {
    color: #92400e;
    margin-bottom: 12px;
    font-size: 16px;
}

.address-container {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #ffffff;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #f59e0b;
}

.wallet-code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #1e293b;
    background-color: #f8fafc;
    padding: 10px;
    border-radius: 6px;
    word-break: break-all;
}

.copy-btn {
    background-color: #f59e0b;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background-color: #d97706;
}

.qr-section {
    margin-bottom: 20px;
}

.qr-section h4 {
    color: #92400e;
    margin-bottom: 12px;
    font-size: 16px;
}

.qr-container {
    text-align: center;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #f59e0b;
}

#qrCode {
    margin-bottom: 15px;
}

.qr-note {
    color: #92400e;
    font-size: 14px;
    font-style: italic;
}

.qr-fallback {
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.qr-fallback p {
    margin-bottom: 10px;
    color: #374151;
}

.qr-fallback code {
    background-color: #e2e8f0;
    padding: 10px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    color: #1e293b;
    word-break: break-all;
    display: block;
    margin: 10px 0;
}

.payment-instructions {
    margin-bottom: 20px;
}

.payment-instructions h4 {
    color: #92400e;
    margin-bottom: 12px;
    font-size: 16px;
}

.payment-instructions ol {
    padding-left: 20px;
    color: #92400e;
}

.payment-instructions li {
    margin-bottom: 6px;
    line-height: 1.4;
}

.payment-instructions strong {
    color: #1e293b;
}

.important-notes {
    padding: 15px;
    background-color: #fef2f2;
    border-radius: 12px;
    border: 1px solid #fecaca;
}

.important-notes h4 {
    color: #dc2626;
    margin-bottom: 12px;
    font-size: 16px;
}

.important-notes ul {
    padding-left: 20px;
    color: #dc2626;
}

.important-notes li {
    margin-bottom: 6px;
    line-height: 1.4;
}

.important-notes strong {
    color: #1e293b;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    /* Payment Summary Modal Responsive */
.payment-summary-modal {
    max-width: 95%;
    margin: 5% auto;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
}
    
    .payment-summary-modal .modal-body {
    padding: 20px;
    overflow-y: auto;
    min-height: 0;
}
    
    .address-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .wallet-code {
        font-size: 12px;
        padding: 8px;
    }
    
    .copy-btn {
        width: 100%;
        padding: 12px;
    }
    
    .qr-container {
        padding: 15px;
    }
    
    #qrCode {
        transform: scale(0.8);
    }
    
    .order-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .item-price {
        align-self: flex-end;
    }
    
    .logo i {
        font-size: 24px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .product-card {
        padding: 15px;
    }
    
    .order-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #6b46c1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 15px;
    border-radius: 8px;
    margin: 10px 0;
    font-weight: 500;
}

.message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #6b46c1;
    outline-offset: 2px;
}

/* Authentication Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 0;
}

.auth-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #6b46c1;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 16px;
}

.auth-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #6b46c1;
}

.auth-btn {
    background: linear-gradient(135deg, #6b46c1, #8b5cf6);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(107, 70, 193, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
}

.toggle-btn {
    background: none;
    border: none;
    color: #6b46c1;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.toggle-btn:hover {
    color: #553c9a;
}

/* Dashboard Styles */
.dashboard-container {
    padding: 20px 0;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.dashboard-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #6b46c1;
    margin-bottom: 10px;
}

.dashboard-header p {
    color: #666;
    font-size: 18px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #6b46c1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6b46c1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.stat-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #6b46c1;
    margin-bottom: 5px;
}

.stat-content p {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.orders-section {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.status-filter {
    padding: 10px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.status-filter:focus {
    outline: none;
    border-color: #6b46c1;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #6b46c1;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.order-id {
    font-size: 16px;
    color: #333;
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-processing {
    background: #dbeafe;
    color: #1e40af;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.status-failed {
    background: #fecaca;
    color: #7f1d1d;
}

.order-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-product {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #333;
}

.order-product i {
    color: #1877f2;
}

.order-quantity {
    color: #666;
    font-size: 14px;
}

.order-price {
    font-size: 20px;
    font-weight: 700;
    color: #1877f2;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.order-date {
    color: #666;
    font-size: 14px;
}

.order-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.loading-state, .empty-state {
    text-align: center;
    padding: 40px 20px;
}

.loading-state p {
    margin-top: 15px;
    color: #666;
}

.empty-state i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #333;
    margin-bottom: 10px;
}

.empty-state p {
    color: #666;
    margin-bottom: 20px;
}

.no-orders {
    text-align: center;
    color: #666;
    padding: 40px 20px;
}

/* Order Modal Styles */
.order-modal .modal-content {
    max-width: 700px;
}

.order-detail-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.detail-label {
    font-weight: 600;
    color: #555;
}

.detail-value {
    color: #333;
}

.total-amount {
    font-weight: 700;
    color: #1877f2;
    font-size: 18px;
}

.order-notes {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    color: #555;
    line-height: 1.5;
}

/* User Menu Styles */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-email {
    color: #6b46c1;
    font-weight: 500;
    font-size: 14px;
}

.logout-btn {
    background: #fee2e2;
    color: #991b1b;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-btn:hover {
    background: #fecaca;
    transform: translateY(-1px);
}

/* Message Styles */
.message.info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* Responsive Design for Auth and Dashboard */
@media (max-width: 768px) {
    .auth-card {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .order-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .user-menu {
        flex-direction: column;
        gap: 10px;
    }
}

/* Admin Panel Styles */
.admin-container {
    padding: 30px 0;
}

.admin-header {
    text-align: center;
    margin-bottom: 40px;
}

.admin-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.admin-header p {
    font-size: 18px;
    color: #6b7280;
}

.orders-management {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.filter-controls {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.payment-filter {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: #ffffff;
    color: #374151;
    min-width: 150px;
}

.admin-order {
    border-left: 4px solid #6b46c1;
}

.admin-order .order-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
    margin-top: 5px;
}

.admin-order .order-user i {
    color: #6b46c1;
}

.order-payment {
    display: flex;
    align-items: center;
}

.payment-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.payment-pending {
    background: #fef3c7;
    color: #92400e;
}

.payment-completed {
    background: #d1fae5;
    color: #065f46;
}

.payment-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.admin-actions {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.admin-actions h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.action-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.status-select {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: #ffffff;
    color: #374151;
    min-width: 200px;
}

.admin-notes {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: #ffffff;
    color: #374151;
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.admin-notes:focus {
    outline: none;
    border-color: #6b46c1;
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

/* Loading and Empty States */
.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid #6b46c1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.empty-state i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 20px;
}

/* Refresh Button Styles */
#refreshBtn {
    background-color: #6b46c1;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

#refreshBtn:hover {
    background-color: #553c9a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
}

#refreshBtn:active {
    transform: translateY(0);
}

#refreshBtn i {
    font-size: 14px;
}

/* Responsive Admin Panel */
@media (max-width: 768px) {
    .admin-container {
        padding: 15px 0;
    }
    
    .orders-management {
        padding: 20px;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .payment-filter,
    .status-select {
        min-width: auto;
    }
    
    .action-controls {
        gap: 10px;
    }
    
    #refreshBtn {
        width: 100%;
        justify-content: center;
    }
}

/* Social Media Pages Styles */
.social-platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.platform-card {
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    border-color: #6b46c1;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.2);
}

.platform-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #6b46c1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.platform-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.platform-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-tag {
    background: #f3f4f6;
    color: #6b46c1;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.platform-btn {
    background: linear-gradient(135deg, #6b46c1, #8b5cf6);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.platform-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.4);
}

/* Page Header Styles */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e5e5;
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.platform-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6b46c1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.platform-details h1 {
    margin: 0;
    font-size: 32px;
    color: #333;
}

.platform-details p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 16px;
}

.back-btn {
    background: #f3f4f6;
    color: #6b46c1;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    background: #6b46c1;
    color: white;
    transform: translateY(-2px);
}

/* Active Navigation Link */
.nav-link.active {
    color: #6b46c1;
    font-weight: 600;
}

/* Responsive Social Media Pages */
@media (max-width: 768px) {
    .social-platforms-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .platform-card {
        padding: 20px;
    }
    
    .page-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .platform-info {
        flex-direction: column;
        text-align: center;
    }
    
    .platform-details h1 {
        font-size: 24px;
    }
}

/* Home Page Styles */
.hero {
    background: linear-gradient(135deg, #6b46c1, #8b5cf6);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: #6b46c1;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 13px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #6b46c1;
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6b46c1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin: 0 auto 25px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #555;
}

.service-features i {
    color: #10b981;
    font-size: 14px;
}

.service-btn {
    background: linear-gradient(135deg, #6b46c1, #8b5cf6);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.4);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6b46c1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin: 0 auto 20px;
}

.feature-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Home Page */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services, .features {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .services-grid, .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .cta {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}