/* Additional CSS for new pages */

/* Auth Pages */
.auth-container {
    display: flex;
    gap: 5vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 20px;
}
.auth-container h1{
    font-size: 1.5rem;
    color: #2b2d42ff;
}

.auth-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.auth-box h2 {
    text-align: center;
    color: #2b2d42ff;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #2b2d42ff;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.btn-primary {
    background-color: #2b2d42ff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s;
}

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

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links a {
    color: #2b2d42ff;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.error-message {
    background-color: #ffe6e6;
    color: #d32f2f;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-network {
    font-weight: bold;
    color: #2b2d42ff;
    margin-bottom: 5px;
}

.product-name {
    font-size: 16px;
    margin-bottom: 5px;
}

.product-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.product-data {
    background-color: #f8f32bff;
    color: #2b2d42ff;
    padding: 3px 8px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: bold;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #2b2d42ff;
    margin-bottom: 5px;
}

.product-validity {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.add-to-cart-form {
    margin-top: 10px;
}

.add-to-cart-btn {
    background-color: #2b2d42ff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.add-to-cart-btn:hover {
    background-color: #1a1b2eff;
}

.add-to-cart-btn:disabled {
    background-color: #8d99aeff;
    cursor: not-allowed;
}

/* Cart Styles */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-table th,
.cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cart-table th {
    background-color: #2b2d42ff;
    color: white;
}

.remove-link {
    color: #d32f2f;
    text-decoration: none;
}

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

.cart-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.btn-secondary {
    background-color: #8d99aeff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #6c7688ff;
}

.cart-summary {
    margin-top: 30px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.summary-row.total {
    border-bottom: none;
    font-weight: bold;
    font-size: 18px;
    color: #2b2d42ff;
}

.btn-checkout {
    width: 100%;
    margin-top: 20px;
}

/* Dashboard Styles */
.dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}

.dashboard-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

.user-balance {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.balance-amount {
    font-weight: bold;
    font-size: 20px;
    display: block;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.dashboard-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.btn-action {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    color: #2b2d42ff;
    text-align: center;
    transition: background-color 0.3s;
}

.btn-action:hover {
    background-color: #eee;
}

.btn-action i {
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
}

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

.transactions-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.status-badge {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

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

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

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

.account-info {
    margin-top: 15px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

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

.account-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.btn-small {
    background-color: #2b2d42ff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
}

/* Checkout Styles */
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.checkout-summary,
.checkout-payment {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

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

.payment-methods {
    margin: 20px 0;
}

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

.payment-method label {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.payment-method input[type="radio"]:checked + label {
    border-color: #2b2d42ff;
    background-color: #f0f0ff;
}

.payment-method i {
    margin-right: 10px;
    font-size: 20px;
}

.terms-agreement {
    margin: 20px 0;
}

.checkout-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cards-holder {
        grid-template-columns: 1fr;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .cart-table {
        display: block;
        overflow-x: auto;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .dashboard-header h1 {
        font-size: 24px;
    }

    .user-balance {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Flash Messages */
.flash-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    margin: 10px;
    border-radius: 5px;
    text-align: center;
}

/* Filters */
.filters {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-form .filter-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.products-header {
    text-align: center;
    margin-bottom: 30px;
}
.products-header h1{
    font-size: 1.5rem;
}
.products-header h3{
    font-size: 1.5rem;
}

.products-header .subtitle {
    color: #666;
    margin-bottom: 20px;
}

.network-selector {
    margin-bottom: 30px;
    display: grid;
}

.network-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    flex-wrap: wrap;
}

.network-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    min-width: 120px;
}

.network-btn:hover {
    border-color: #2b2d42;
    transform: translateY(-2px);
}

.network-btn.active {
    border-color: #2b2d42;
    background-color: #f0f0ff;
}

.network-btn img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.network-btn i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #2b2d42;
}

/* Products Grid for Direct Purchase */
.products-grid-direct {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.product-card-direct {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-card-direct:hover {
    transform: translateY(-5px);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.product-network {
    font-weight: bold;
    color: #2b2d42;
    font-size: 18px;
}

.product-category {
    background-color: #2b2d42;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
}

.product-name {
    padding: 15px;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

/* Flexible Plan Styles */
.flexible-plan {
    padding: 15px;
}

.price-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.price-per-unit {
    font-weight: bold;
    color: #2b2d42;
    font-size: 16px;
}

.validity {
    color: #666;
    font-size: 14px;
}

.input-with-unit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-with-unit input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.input-with-unit .unit {
    color: #666;
    font-weight: 500;
}

.range-info {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

/* Form Styles */
.purchase-form .form-group {
    margin-bottom: 15px;
}

.purchase-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.purchase-form input,
.purchase-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

/* Price Summary */
.price-summary {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

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

.price-row.total {
    font-weight: bold;
    font-size: 18px;
    color: #2b2d42;
    border-top: 1px solid #ddd;
    padding-top: 8px;
    margin-top: 8px;
}

/* Buy Now Button */
.btn-buy-now {
    width: 100%;
    padding: 12px;
    background-color: #2b2d42;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-buy-now:hover {
    background-color: #1a1b2e;
}

.btn-buy-now:disabled {
    background-color: #8d99ae;
    cursor: not-allowed;
}

/* Fixed Product Styles */
.fixed-product {
    padding: 15px;
}

.product-price {
    font-size: 24px;
    font-weight: bold;
    color: #2b2d42;
    margin-bottom: 10px;
}

.data-value {
    background-color: #f8f32bff;
    color: #2b2d42;
    padding: 5px 10px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Checkout Direct */
.checkout-direct {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.order-summary {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.order-summary h3 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f5f5;
}

.summary-item.total {
    border-bottom: none;
    font-weight: bold;
    font-size: 18px;
    color: #2b2d42;
}

.summary-item .value {
    font-weight: 500;
}

.payment-options {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.payment-option-btn {
    display: block;
    padding: 20px;
    background-color: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.payment-option-btn:hover {
    border-color: #2b2d42;
    background-color: #f0f0ff;
    transform: translateY(-2px);
}

.payment-option-btn i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.payment-option-btn span {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}

.payment-option-btn small {
    display: block;
    color: #666;
    font-size: 12px;
}

.payment-option-btn.wallet {
    background-color: #e8f5e9;
    border-color: #c8e6c9;
}

.payment-method.disabled .payment-option-btn {
    opacity: 0.6;
    cursor: not-allowed;
}

.payment-method.disabled .payment-option-btn:hover {
    border-color: #ddd;
    background-color: #f8f9fa;
    transform: none;
}

.insufficient {
    color: #e74c3c !important;
}

.back-to-products {
    margin-top: 20px;
    text-align: center;
}

/* Payment Page */
.payment-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

.payment-info {
    text-align: left;
    margin: 25px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

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

.info-row .amount {
    font-size: 20px;
    font-weight: bold;
    color: #2b2d42;
}

.info-row .reference {
    font-family: monospace;
    background-color: white;
    padding: 3px 8px;
    border-radius: 3px;
}

.btn-paystack {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-bottom: 20px;
}

.alternative-payment {
    margin-top: 20px;
}

/* Remove Cart Indicator from Header */
.header ul li a .cart-indicator {
    display: none;
}

/* Responsive Design */

.filter-form input,
.filter-form select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-filter {
    background-color: #2b2d42ff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-clear {
    background-color: #8d99aeff;
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
}

/* Balance */
.user-welcome {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.balance {
    color: #2b2d42ff;
    font-weight: bold;
}
/* 
--space-indigo: #2b2d42ff;
--lavender-grey: #8d99aeff;
--bright-lemon: #f8f32bff;
--white: #ffffffff;
--black: #000000ff;
 */

 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
}

body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
}
.header{
    width: 100%;
    height: 60px;
    background-color: #2b2d42ff;
    color: #ffffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 24px;
    font-weight: bold;
    padding-left: 0.5em;
    padding-right: 0.5em;
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffffff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    z-index: 500;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.header ul li a{
    text-decoration: none;
    color: #2b2d42;
}
div.title{
    font-size: 1em;
}
ul{
    list-style: none;
    display: flex;
    gap: 20px;
    margin-right: 20px;
    margin: 0;
    padding: 0;
}

.footer{
    width: 100%;
    height: 40px;
    background-color: #2b2d42ff;
    color: #ffffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    position: relative;
    bottom: 0;
}
.fixed-button{
    position: fixed;
    bottom: 10vh;
    right: 1vw;
    background-color: #f8f32bff;
    z-index: 1000;
    border-radius: 5px;
    padding: 0.4em;
}
.fixed-button a{
    text-decoration: none;
    color: #000000ff;
    padding: 10px 15px;    
}
.content{
    justify-content: center;
    flex: 1;
    width: 100%;
    max-width: 1400px;
    padding: 20px;
    background-color: #f8f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}
.title-section {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    max-width: 1200px;
}

.title-main {
    font-size: 32px;
    font-weight: bold;
    color: #2b2d42ff;
    padding-bottom: 10px;
}

.title-des {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.user-welcome {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 15px;
    display: inline-block;
    font-size: 16px;
}

.user-welcome .balance {
    font-weight: bold;
    font-size: 18px;
}

/* Quick Purchase Section */
.quick-purchase {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.quick-purchase h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #2b2d42;
    font-size: 24px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    width: 100%;
}

.quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 10px;
    text-decoration: none;
    color: #2b2d42;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    cursor: pointer;
}

.quick-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.quick-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.quick-item i {
    font-size: 40px;
    margin-bottom: 10px;
}

.quick-item span {
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    margin-bottom: 5px;
}

.quick-item small {
    font-size: 12px;
    text-align: center;
    opacity: 0.8;
}

/* Featured Section */
.featured-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.featured-section h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #2b2d42;
    font-size: 24px;
}
.card-links{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: hsla(0, 0%, 100%, 0.9);
    padding: 1em;
    border-radius: 10px;
    gap: 1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-links img{
    width: 150px;
    height: auto;
}
.cards-holder{
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 2em;
}
/* Paystack Payment Styles */
.payment-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.payment-summary {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.payment-summary .amount {
    font-size: 24px;
    font-weight: bold;
    color: #2b2d42;
}

.payment-summary .reference {
    font-family: monospace;
    background-color: #f8f9fa;
    padding: 5px 10px;
    border-radius: 3px;
}

.payment-option {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.payment-option.active {
    border-color: #2b2d42;
    background-color: #f8f9fa;
}

.option-header {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.option-header input[type="radio"] {
    margin: 0;
}

.option-header label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
}

.option-details {
    padding: 0 15px 15px 45px;
    display: none;
}

.payment-option.active .option-details {
    display: block;
}

.payment-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.balance {
    color: #666;
    font-size: 14px;
    margin-left: auto;
}

/* Hide nav brand on large screens */
@media (min-width: 727px) {
    .nav-menu li:first-child {
        display: none !important;
    }
    .header ul li a {
        color: #f8f8f8;
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        gap: 5px;
        transform: none;
        transition: none;
        z-index: auto;
        overflow-y: visible;
        background-color: transparent;
        padding: 0;
    }

    .nav-menu li {
        border-left: none;
        border-radius: 8px;
        background: transparent;
        display: inline-flex;
        align-items: center;
        padding: 0;
        margin: 0;
        transition: all 0.3s ease;
    }

    .nav-menu li a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 15px;
        text-decoration: none;
        color: #ffffff;
        font-size: 14px;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .nav-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }

    .nav-icon {
        font-size: 1.1em;
        margin-left: 0;
        background-color: transparent;
        padding: 0;
        color: #ffffff;
        border-radius: 0;
    }

    .nav-contact {
        background-image: linear-gradient(to left, #24ff49 0%, #82ff69 100%);
        border-radius: 8px;
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav-contact a {
        color: #ffffff !important;
    }

    body.menu-open::before {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 2em;
    }

    /* Blur overlay background */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

    body.menu-open::before {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 70vw;
        height: 100vh;
        flex-direction: column;
        gap: 10px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        background-color: #f8f8f8f8;
    }

    .nav-menu.active {
        transform: translateX(0);
    }
    .nav-icon{
        font-size: 1.2em;
        margin-left: 10px;
        background-color: rgba(102, 126, 234, 0.7);
        padding: 6px 8px;
        color: #ffffff;
        border-radius: 6px;
    }
    .nav-contact{
       background-image: linear-gradient(to left, #24ff49 0%, #82ff69 100%);
    }

    /* Change li styling here */
    .nav-menu li {
        border-left: 2px solid #2b2d42;
        border-radius: 15px;
        background: #d8d8d8;
        display: flex;
        align-items: center;
        padding: 0;
        margin: 0px 10px 0px 10px;
    }

    .nav-menu li a {
        display: block;
        padding: 15px 20px;
        text-decoration: none;
        color: #ffffffff;
    }

    .nav-menu li a:hover {
        background-color: #1a1b2eff;
    }

    .header {
        padding-left: 15px;
        padding-right: 15px;
    }

    .title {
        font-size: 20px;
    }

    .content {
        padding: 15px;
    }

    .title-main {
        font-size: 24px;
    }

    .title-des {
        font-size: 14px;
    }

    .quick-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    .quick-item {
        padding: 15px;
        font-size: 13px;
    }

    .quick-item img {
        width: 50px;
        height: 50px;
    }

    .quick-item i {
        font-size: 30px;
    }

    .quick-purchase,
    .featured-section {
        padding: 20px;
    }

    .featured-section h2,
    .quick-purchase h2 {
        font-size: 20px;
    }

    .cards-holder {
        grid-template-columns: 1fr;
        gap: 1em;
    }

    .card-links img {
        width: 120px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        padding: 15px;
    }

    .cart-actions {
        flex-direction: column;
    }

    .btn-secondary,
    .btn-checkout {
        width: 100%;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .transactions-table {
        font-size: 14px;
    }

    .transactions-table td {
        padding: 8px;
    }

    .cart-table th,
    .cart-table td {
        padding: 10px;
    }

    .fixed-button {
        bottom: 5vh;
        right: 5px;
        padding: 0.3em;
        font-size: 14px;
    }

    .fixed-button a {
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 18px;
    }

    .title-main {
        font-size: 20px;
    }

    .title-des {
        font-size: 12px;
    }

    .card-links {
        padding: 0.8em;
    }

    .card-links img {
        width: 100px;
    }

    .product-price {
        font-size: 16px;
    }

    .products-grid {
        gap: 15px;
    }

    .product-card {
        padding: 12px;
    }

    .auth-box {
        padding: 20px;
        max-width: 90%;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px;
    }

    .btn-primary {
        padding: 10px 15px;
    }

    .cart-table {
        font-size: 12px;
    }

    .cart-summary {
        padding: 15px;
   
   grid-template-columns: auto auto ;
    gap: 2em;
}
.card-links a{
    text-decoration: none;
    color: #2b2d42ff;
    font-weight: bold;
    font-size: 18px;}
}

.big-toggle-btn{
    font-size: 0.8em;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 992px) {
    .auth-box {
        max-width: 100%;
        padding: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .product-card {
        padding: 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .auth-container {
        padding: 15px;
        min-height: 60vh;
        max-width: 80vw;
    }
        .products-grid-direct {
        grid-template-columns: 1fr;
    }
    
    .checkout-direct {
        grid-template-columns: 1fr;
    }
    
    .network-buttons {

        flex-direction: row;
        align-items: center;
    }
    
    .network-btn {
        width: 200px;
        margin: 10px;
    }

    
    .auth-box {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .auth-box h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .product-card {
        padding: 12px;
        border-radius: 8px;
    }
    
    .product-card img {
        max-height: 120px;
    }
    
    .auth-links {
        margin-top: 15px;
        font-size: 13px;
    }
    
    .error-message {
        padding: 10px;
        font-size: 13px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .network-btn {
        width: 140px;
    }
    .auth-container {
        min-height: 80vh;
        padding: 10px;
        max-width: 80vw;
    }
    
    .auth-box {
        padding: 15px;
        border-radius: 8px;
    }
    
    .auth-box h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 12px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px;
        font-size: 14px;
        border-radius: 4px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 12px;
        font-size: 12px;
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card {
        padding: 10px;
        border-radius: 6px;
    }
    
    .product-card img {
        max-height: 100px;
    }
    
    .auth-links {
        margin-top: 10px;
        font-size: 12px;
    }
    
    .error-message {
        padding: 8px;
        font-size: 12px;
    }
}

/* Guest Checkout Styles */
.guest-checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.checkout-form-section,
.checkout-summary-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.checkout-form-section h2,
.checkout-summary-section h2 {
    color: #2b2d42ff;
    margin-bottom: 20px;
    font-size: 20px;
}

.guest-checkout-form .form-group {
    margin-bottom: 18px;
}

.guest-checkout-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2b2d42ff;
    font-weight: 600;
    font-size: 14px;
}

.guest-checkout-form .form-group input,
.guest-checkout-form .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.guest-checkout-form .form-group input:focus,
.guest-checkout-form .form-group select:focus {
    outline: none;
    border-color: #2b2d42ff;
    box-shadow: 0 0 0 3px rgba(43, 45, 66, 0.1);
}

.guest-checkout-form .form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.price-display {
    font-size: 20px;
    font-weight: bold;
    color: #27ae60;
    padding: 12px;
    background-color: #f0f8f0;
    border-radius: 5px;
    text-align: center;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.form-actions .btn-primary {
    flex: 2;
    margin: 0;
}

.form-actions .btn-secondary {
    flex: 1;
    margin: 0;
}

.order-summary {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

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

.summary-item .value {
    font-weight: 600;
    color: #2b2d42ff;
}

.summary-item.total {
    font-size: 16px;
    font-weight: bold;
    background-color: #f0f4f8;
    padding: 15px;
    margin: 10px 0 0 -15px;
    padding-left: 15px;
    margin-right: -15px;
    padding-right: 15px;
}

.summary-item.total .value {
    color: #27ae60;
    font-size: 18px;
}

.summary-divider {
    height: 2px;
    background-color: #ddd;
    margin: 10px 0;
}

.info-box {
    background-color: #e8f4f8;
    border-left: 4px solid #2b2d42ff;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.info-box h4 {
    color: #2b2d42ff;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box li {
    padding: 5px 0;
    color: #2b2d42ff;
    font-size: 14px;
}

.info-box li:before {
    content: "✓ ";
    color: #27ae60;
    font-weight: bold;
    margin-right: 8px;
}

/* Guest Checkout Button */
.btn-guest-checkout {
    display: inline-block;
    width: calc(100% - 2px);
    padding: 12px;
    margin-top: 10px;
    background-color: #27ae60;
    color: white;
    border: 1px solid #27ae60;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-guest-checkout:hover {
    background-color: #229954;
}

/* Payment Container */
.payment-container {
    max-width: 600px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.payment-container h1 {
    color: #2b2d42ff;
    margin-bottom: 10px;
}

.payment-container .subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.payment-info {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 25px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

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

.info-row .amount {
    font-weight: bold;
    color: #27ae60;
    font-size: 16px;
}

.info-row .reference {
    font-family: monospace;
    font-size: 12px;
    color: #666;
    background-color: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
}

.btn-paystack {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-bottom: 15px;
}

.alternative-payment {
    text-align: center;
    margin-bottom: 20px;
}

.alternative-payment .btn-secondary {
    display: inline-block;
    width: auto;
}

/* Success Container */
.success-container {
    max-width: 600px;
    margin: 40px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.success-icon {
    font-size: 60px;
    color: #27ae60;
    margin-bottom: 20px;
}

.success-container h1 {
    color: #2b2d42ff;
    margin-bottom: 10px;
}

.success-container .subtitle {
    color: #666;
    margin-bottom: 30px;
}

.success-details {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

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

.detail-row .highlight {
    font-weight: bold;
    color: #2b2d42ff;
    font-family: monospace;
}

.detail-row .amount {
    color: #27ae60;
    font-weight: bold;
}

.success-message {
    background-color: #e8f5e9;
    border-color: #27ae60;
    margin: 20px 0;
    text-align: left;
}

.actions {
    display: flex;
    gap: 10px;
    margin: 25px 0;
}

.actions .btn-primary,
.actions .btn-secondary {
    flex: 1;
    padding: 12px;
    margin: 0;
}

.support-info {
    color: #666;
    font-size: 14px;
    margin-top: 20px;
}

.support-info a {
    color: #2b2d42ff;
    text-decoration: none;
    font-weight: 600;
}

.support-info a:hover {
    text-decoration: underline;
}

/* Guest Option in Quick Purchase */
.guest-option {
    background-color: #f0f4f8;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
}

.guest-option p {
    color: #2b2d42ff;
    margin-bottom: 15px;
    font-size: 14px;
}

.btn-guest-option,
.btn-login-option {
    display: inline-block;
    padding: 12px 20px;
    margin: 0 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-guest-option {
    background-color: #27ae60;
    color: white;
    border: 2px solid #27ae60;
}

.btn-guest-option:hover {
    background-color: #229954;
    border-color: #229954;
}

.btn-login-option {
    background-color: #2b2d42ff;
    color: white;
    border: 2px solid #2b2d42ff;
}

.btn-login-option:hover {
    background-color: #1a1b2eff;
    border-color: #1a1b2eff;
}

.divider {
    color: #999;
    margin: 0 10px;
}

/* Responsive Design for Guest Checkout */
@media (max-width: 768px) {
    .guest-checkout-container {
        grid-template-columns: 1fr;
    }
    
    .payment-container,
    .success-container {
        margin: 20px;
        padding: 20px;
    }
    
    .guest-option {
        padding: 15px;
    }
    
    .btn-guest-option,
    .btn-login-option {
        display: block;
        width: calc(100% - 20px);
        margin: 10px 0;
    }
    
    .actions {
        flex-direction: column;
    }
}

/* Product Modal Styles */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    max-height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.modal-header h2 {
    margin: 0;
    color: #2b2d42ff;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background-color: #f0f0f0;
    color: #2b2d42ff;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.modal-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 95vh;
    }

    .modal-products-grid {
        grid-template-columns: 1fr;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }
}

/* ======================= COMPLAINTS PAGE STYLES ======================= */

.complaints-header {
    margin-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

.complaints-header h1 {
    font-size: 2rem;
    color: #2b2d42ff;
    margin-bottom: 5px;
}

.complaints-header p {
    color: #666;
    font-size: 1rem;
}

/* Statistics Grid */
.complaints-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.complaint-stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
}

.complaint-stat-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.complaint-stat-card.stat-total {
    border-left-color: #2b2d42ff;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.stat-icon.total {
    background: linear-gradient(135deg, #2b2d42ff 0%, #3d4058ff 100%);
}

.stat-icon.pending {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.stat-icon.in-review {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.stat-icon.resolved {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}

.stat-icon.rejected {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #999;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2b2d42ff;
    margin: 5px 0 0 0;
}

/* Complaints Section */
.complaints-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f5f5f5;
}

.section-header h2 {
    font-size: 1.5rem;
    color: #2b2d42ff;
    margin: 0;
}

.btn-toggle-form {
    background: none;
    border: none;
    font-size: 24px;
    color: #2b2d42ff;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 5px 10px;
}

.btn-toggle-form:hover {
    color: #ff9800;
}

.btn-toggle-form.active {
    transform: rotate(180deg);
}

/* Complaint Form */
.complaint-form-container {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.complaint-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.complaint-form .form-group {
    display: flex;
    flex-direction: column;
}

.complaint-form .form-group label {
    color: #2b2d42ff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.complaint-form .form-group input,
.complaint-form .form-group select,
.complaint-form .form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.complaint-form .form-group input:focus,
.complaint-form .form-group select:focus,
.complaint-form .form-group textarea:focus {
    outline: none;
    border-color: #2b2d42ff;
    box-shadow: 0 0 0 3px rgba(43, 45, 66, 0.1);
}

.complaint-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 25px;
    border-radius: 8px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #2b2d42ff 0%, #3d4058ff 100%);
    color: white;
    flex: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 45, 66, 0.3);
}

.btn-secondary {
    background: #f5f5f5;
    color: #2b2d42ff;
    flex: 1;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

/* Controls */
.complaints-controls {
    margin-bottom: 25px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    color: #999;
    pointer-events: none;
}

.search-box form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

.search-box input[type="text"],
.search-box select {
    padding: 12px 15px 12px 40px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.search-box input[type="text"]:focus,
.search-box select:focus {
    outline: none;
    border-color: #2b2d42ff;
}

.btn-filter,
.btn-filter-clear {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.btn-filter-clear {
    background: #e0e0e0;
    color: #2b2d42ff;
}

.btn-filter-clear:hover {
    background: #d0d0d0;
}

/* Complaints Table */
.complaints-table-container {
    overflow-x: auto;
    border-radius: 8px;
    width: 90vw;
}

.complaints-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.complaints-table thead {
    background: linear-gradient(135deg, #2b2d42ff 0%, #3d4058ff 100%);
    color: white;
}

.complaints-table thead th {
    padding: 18px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.complaints-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.complaints-table tbody tr:hover {
    background-color: #f9f9f9;
}

.complaints-table tbody td {
    padding: 18px;
    color: #333;
}

.complaint-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.complaint-title strong {
    color: #2b2d42ff;
    font-weight: 600;
}

.complaint-desc-preview {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
    font-style: italic;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-status {
    padding: 8px 14px;
    font-size: 0.85rem;
}

.badge-status.status-pending {
    background-color: #fff3e0;
    color: #e65100;
    border-left: 3px solid #ff9800;
}

.badge-status.status-in_review {
    background-color: #e3f2fd;
    color: #01579b;
    border-left: 3px solid #2196F3;
}

.badge-status.status-resolved {
    background-color: #e8f5e9;
    color: #1b5e20;
    border-left: 3px solid #4CAF50;
}

.badge-status.status-rejected {
    background-color: #ffebee;
    color: #b71c1c;
    border-left: 3px solid #f44336;
}

.badge-category {
    background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
    color: #2b2d42ff;
    padding: 6px 12px;
}

.badge-priority {
    font-size: 0.8rem;
}

.badge-priority.priority-low {
    background-color: #c8e6c9;
    color: #1b5e20;
}

.badge-priority.priority-medium {
    background-color: #ffe0b2;
    color: #e65100;
}

.badge-priority.priority-high {
    background-color: #ffccbc;
    color: #bf360c;
}

/* Action Links */
.btn-view-detail {
    color: #2b2d42ff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: #f5f5f5;
}

.btn-view-detail:hover {
    background: #2b2d42ff;
    color: white;
}

.order-link {
    color: #2b2d42ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.order-link:hover {
    color: #ff9800;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #2b2d42ff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.empty-state p {
    color: #999;
    font-size: 1rem;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-lg {
    max-width: 700px;
    width: 90%;
}

.modal-header {
    background: linear-gradient(135deg, #2b2d42ff 0%, #3d4058ff 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
}

.detail-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.detail-section h4 {
    color: #2b2d42ff;
    margin-bottom: 10px;
    font-size: 1rem;
}

.detail-section p {
    color: #666;
    line-height: 1.6;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.alert i {
    font-size: 20px;
    flex-shrink: 0;
}

.alert-success {
    background-color: #e8f5e9;
    color: #1b5e20;
    border-left: 4px solid #4CAF50;
}

.alert-error {
    background-color: #ffebee;
    color: #b71c1c;
    border-left: 4px solid #f44336;
}

.text-muted {
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .complaints-header {
        margin-bottom: 25px;
    }

    .complaints-header h1 {
        font-size: 1.5rem;
    }

    .complaints-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        margin-bottom: 25px;
    }

    .complaint-stat-card {
        padding: 20px;
        gap: 15px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .complaints-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .search-box form {
        flex-direction: column;
    }

    .search-box input[type="text"],
    .search-box select,
    .btn-filter {
        width: 100%;
        margin-left: 0 !important;
    }

    .complaints-table {
        font-size: 0.85rem;
    }

    .complaints-table thead th {
        padding: 12px 8px;
        font-size: 0.75rem;
    }

    .complaints-table tbody td {
        padding: 12px 8px;
    }

    .complaint-title strong {
        font-size: 0.9rem;
    }

    .complaint-desc-preview {
        font-size: 0.75rem;
    }

    .badge {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .badge-status {
        padding: 6px 10px;
    }

    .btn-view-detail {
        padding: 4px 8px;
        font-size: 0.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .modal-lg {
        max-width: 95%;
        margin: 20% auto;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 20px;
    }
}

/* ==================== TRANSACTIONS PAGE ==================== */

.transactions-page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.transactions-page-header h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: bold;
}

.transactions-page-header .subtitle {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

/* Statistics Cards */
.transactions-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.stat-icon.total-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-icon.successful-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.stat-icon.pending-icon {
    background: linear-gradient(135deg, #FF9800 0%, #f57c00 100%);
}

.stat-icon.failed-icon {
    background: linear-gradient(135deg, #f44336 0%, #da190b 100%);
}

.stat-icon.amount-icon {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.stat-info h3 {
    margin: 0;
    font-size: 14px;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
}

.stat-value {
    margin: 5px 0 0 0;
    font-size: 24px;
    font-weight: bold;
    color: #2b2d42;
}

/* Filter Section */
.transactions-filters {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group input,
.filter-group select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    background: white;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-form .btn {
    padding: 10px 20px;
}

/* Transactions Container */
.transactions-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.table-responsive {
    overflow-x: auto;
}

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

.transactions-list thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.transactions-list thead th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.transactions-list tbody tr {
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.transactions-list tbody tr:hover {
    background-color: #f9f9f9;
}

.transactions-list td {
    padding: 15px;
}

.date-col {
    min-width: 100px;
}

.date-col span {
    display: block;
    font-weight: 600;
    color: #2b2d42;
}

.date-col small {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 3px;
}

.product-col {
    min-width: 100px;
}

.network-col {
    min-width: 80px;
    color: #666;
}

.amount-col {
    min-width: 90px;
    color: #2b2d42;
    font-size: 15px;
}

.status-col {
    min-width: 110px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-badge i {
    font-size: 14px;
}

.status-badge.status-successful {
    background-color: #e8f5e9;
    color: #1b5e20;
}

.status-badge.status-pending {
    background-color: #fff3e0;
    color: #e65100;
}

.status-badge.status-failed {
    background-color: #ffebee;
    color: #b71c1c;
}

.reference-col {
    min-width: 110px;
}

.reference-col code {
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    color: #666;
    font-family: 'Monaco', 'Courier New', monospace;
}

.order-col {
    min-width: 70px;
    text-align: center;
}

.order-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.order-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 64px;
    color: #ddd;
    display: block;
    margin-bottom: 20px;
}

.empty-state h3 {
    margin: 0 0 10px 0;
    color: #2b2d42;
    font-size: 20px;
}

.empty-state p {
    margin: 0 0 20px 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .transactions-list {
        font-size: 14px;
    }

    .transactions-list th,
    .transactions-list td {
        padding: 12px;
    }

    .stat-value {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .transactions-page-header {
        padding: 25px;
    }

    .transactions-page-header h1 {
        font-size: 24px;
    }

    .transactions-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .filter-form {
        grid-template-columns: 1fr;
    }

    .transactions-list {
        font-size: 13px;
    }

    .transactions-list thead {
        display: none;
    }

    .transactions-list tbody {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .transactions-list tbody tr {
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 15px;
        display: grid;
        grid-template-columns: auto;
        gap: 10px;
        align-items: start;
    }

    .transactions-list td {
        padding: 8px 0;
        border: none;
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 10px;
    }

    .transactions-list td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #667eea;
        font-size: 12px;
        text-transform: uppercase;
    }

    .date-col::before { content: "Date"; }
    .product-col::before { content: "Product"; }
    .network-col::before { content: "Network"; }
    .amount-col::before { content: "Amount"; }
    .status-col::before { content: "Status"; }
    .reference-col::before { content: "Reference"; }
    .order-col::before { content: "Order"; }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-info h3,
    .stat-value {
        font-size: inherit;
    }

    .stat-value {
        font-size: 18px;
    }
}