/* Gmail Buy & Sell Hub - Main Stylesheet */
/* Mobile-First Responsive Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --success-color: #4CAF50;
    --danger-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196F3;
    --dark-color: #333;
    --light-color: #f5f5f5;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: var(--light-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), #45a049);
    color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    gap: 10px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255,255,255,0.2);
}

.nav-icon {
    font-size: 18px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 10px;
        display: none;
        z-index: 1050;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-color), #45a049);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    font-size: 18px;
    margin: 0;
}

.card-body {
    padding: 20px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 40px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}

/* Wallet Balance Card - Separate */
.wallet-balance-card {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.wallet-balance-card .wallet-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.wallet-balance-card h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 500;
    opacity: 0.95;
}

.wallet-balance-card .balance-amount {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

/* Compact Stats - Desktop Default */
.stats-compact {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: nowrap;
}

.stat-item-compact {
    background: white;
    border-radius: 8px;
    padding: 10px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.stat-emoji {
    font-size: 28px;
    margin-bottom: 5px;
}

.stat-number {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.stat-text {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Wallet Balance Section - Works on ALL screen sizes */
.wallet-balance-section {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    color: white;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.wallet-balance-section .wallet-icon {
    font-size: 28px;
    margin-bottom: 5px;
}

.wallet-balance-section .wallet-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.95;
    margin-bottom: 3px;
}

.wallet-balance-section .wallet-amount {
    font-size: 22px;
    font-weight: 700;
}

/* Stats Row - 3 Colorful Cards */
.stats-row-mobile {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.stat-card-mobile {
    flex: 1;
    border-radius: 8px;
    padding: 8px 5px;
    text-align: center;
    color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.stat-blue {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.stat-green {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
}

.stat-orange {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.stat-red {
    background: linear-gradient(135deg, #F44336, #D32F2F);
}

.stat-icon-mobile {
    font-size: 18px;
    margin-bottom: 3px;
}

.stat-number-mobile {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.stat-label-mobile {
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.95;
    text-transform: uppercase;
}

/* Adjust for 4 cards on mobile */
@media (max-width: 480px) {
    .stats-row-mobile {
        gap: 3px;
    }
    
    .stat-card-mobile {
        padding: 6px 2px;
    }
    
    .stat-icon-mobile {
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .stat-number-mobile {
        font-size: 14px;
        margin-bottom: 1px;
    }
    
    .stat-label-mobile {
        font-size: 6px;
        letter-spacing: 0.3px;
    }
}

/* MOBILE ONLY - Super Compact One Row Design */
@media (max-width: 768px) {
    /* Wallet Balance Section - Like Header */
    .wallet-balance-section {
        background: linear-gradient(135deg, #4CAF50, #45a049);
        border-radius: 10px;
        padding: 15px;
        text-align: center;
        color: white;
        margin-bottom: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
    
    .wallet-balance-section .wallet-icon {
        font-size: 28px;
        margin-bottom: 5px;
    }
    
    .wallet-balance-section .wallet-text {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 1px;
        opacity: 0.95;
        margin-bottom: 3px;
    }
    
    .wallet-balance-section .wallet-amount {
        font-size: 22px;
        font-weight: 700;
    }
    
    /* Stats Row - 3 Colorful Cards */
    .stats-row-mobile {
        display: flex;
        gap: 5px;
        margin-bottom: 15px;
    }
    
    .stat-card-mobile {
        flex: 1;
        border-radius: 8px;
        padding: 8px 5px;
        text-align: center;
        color: white;
        box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    }
    
    .stat-blue {
        background: linear-gradient(135deg, #2196F3, #1976D2);
    }
    
    .stat-green {
        background: linear-gradient(135deg, #4CAF50, #388E3C);
    }
    
    .stat-orange {
        background: linear-gradient(135deg, #FF9800, #F57C00);
    }
    
    .stat-icon-mobile {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .stat-number-mobile {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 2px;
    }
    
    .stat-label-mobile {
        font-size: 7px;
        font-weight: 600;
        letter-spacing: 0.5px;
        opacity: 0.95;
        text-transform: uppercase;
    }
    
    .stats-compact {
        display: flex;
        flex-direction: row;
        gap: 5px;
        margin: 0 0 12px 0;
        padding: 0;
    }
    
    .stat-item-compact {
        flex: 1;
        min-width: 0;
        padding: 6px 4px;
        border-radius: 6px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
    }
    
    .stat-emoji {
        font-size: 16px;
        margin: 0;
    }
    
    .stat-number {
        font-size: 14px;
        margin: 0;
        font-weight: 700;
    }
    
    .stat-text {
        font-size: 7px;
        margin: 0;
        line-height: 1;
    }
    
    .wallet-balance-card {
        padding: 16px;
        margin-bottom: 10px;
    }
    
    .wallet-balance-card .wallet-icon {
        font-size: 32px;
        margin-bottom: 6px;
    }
    
    .wallet-balance-card h3 {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .wallet-balance-card .balance-amount {
        font-size: 24px;
    }
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #45a049;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #45a049;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #d32f2f;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background: var(--light-color);
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 13px;
    text-transform: uppercase;
}

.table td {
    font-size: 14px;
}

.table tbody tr:hover {
    background: #f9f9f9;
}

@media (max-width: 768px) {
    .table {
        font-size: 12px;
    }
    
    .table th,
    .table td {
        padding: 8px;
    }
}

/* Badges */
.badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Auth Page */
.auth-page {
    background: linear-gradient(135deg, var(--primary-color), #45a049);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 30px;
    max-width: 450px;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 5px;
}

.auth-header p {
    color: #666;
    font-size: 14px;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: var(--dark-color);
}

.terms-content {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light-color);
    border-radius: 5px;
}

/* Wallet Balance Card */
.wallet-balance-card {
    background: linear-gradient(135deg, var(--primary-color), #45a049);
    color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.wallet-icon {
    font-size: 60px;
    margin-bottom: 10px;
}

.balance-amount {
    font-size: 36px;
    font-weight: bold;
    margin-top: 10px;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.payment-method {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.payment-method:hover {
    border-color: var(--primary-color);
}

.payment-method input[type="radio"] {
    margin-bottom: 10px;
}

.payment-method img {
    max-width: 100px;
    height: auto;
}

/* Referral */
.referral-link-box {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.referral-link-box input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-size: 14px;
}

.referral-code-box {
    background: var(--light-color);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.referral-code-box code {
    background: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
}

.reward-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.reward-tier {
    background: var(--light-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.reward-icon {
    font-size: 50px;
    margin-bottom: 10px;
}

.reward-tier h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.reward-tier p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.reward-amount {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.footer-content p {
    margin: 5px 0;
    font-size: 14px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-success {
    color: var(--success-color);
}

.text-danger {
    color: var(--danger-color);
}

.text-muted {
    color: #999;
}

/* Responsive */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on mobile */
        gap: 10px;
    }
    
    .stat-card {
        padding: 10px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .stat-value {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .wallet-balance-card {
        padding: 20px;
    }
    
    .balance-amount {
        font-size: 28px;
    }
    
    .reward-tiers {
        grid-template-columns: 1fr;
    }
}

/* Withdrawal Form Improvements */
.withdrawal-steps {
    margin-bottom: 30px;
}

.form-step {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.form-step:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.1);
}

.form-step h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-step h3:before {
    content: '';
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
}

.form-text {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

.form-actions {
    text-align: center;
    padding: 20px 0;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    border: none;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), #45a049);
    color: white;
    padding: 20px 25px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.close:hover {
    transform: scale(1.1);
}

.modal-body {
    padding: 25px;
}

.preview-section h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.preview-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.preview-row:last-child {
    border-bottom: none;
}

.preview-label {
    font-weight: 600;
    color: #555;
    font-size: 16px;
}

.preview-value {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 16px;
}

.preview-warning {
    margin-top: 20px;
}

.modal-footer {
    padding: 20px 25px;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.modal-footer .btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Alert Improvements */
.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 1px solid #ffeaa7;
    color: #856404;
    border-radius: 10px;
    padding: 15px;
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .preview-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .preview-label,
    .preview-value {
        font-size: 14px;
    }
}

/* SEO Content Styles */
.seo-content-section {
    margin-top: 40px;
}

.opportunity-category {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.opportunity-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.opportunity-category h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.opportunity-category i {
    font-size: 1.5em;
    margin-right: 8px;
}

.tags-cloud {
    margin-top: 15px;
}

.tag-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    margin: 3px;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.tag-btn:hover {
    background: var(--secondary-color);
    text-decoration: none;
    color: white;
    transform: translateY(-2px);
}

.popular-tags {
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.popular-tags h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* SEO Page Specific Styles */
.seo-tag-page .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.seo-tag-page .benefit-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.seo-tag-page .benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.seo-tag-page .benefit-item i {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Mobile Info Bar Fix */
.mobile-info-bar {
    position: relative !important;
    z-index: 5 !important;
}

/* Mobile Menu Overlay Fix */
@media (max-width: 768px) {
    /* Ensure mobile menu is above info bar */
    .mobile-menu {
        z-index: 1050 !important;
    }
    
    .mobile-menu-overlay {
        z-index: 1040 !important;
    }
    
    /* Submission History Mobile Responsive */
    .submissions-table {
        font-size: 11px !important;
        width: 100%;
        overflow-x: auto;
    }
    
    .submissions-table table {
        min-width: 100%;
        font-size: 10px;
    }
    
    .submissions-table th,
    .submissions-table td {
        padding: 4px 3px !important;
        font-size: 10px !important;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 80px;
    }
    
    .submissions-table th:first-child,
    .submissions-table td:first-child {
        max-width: 120px; /* Email column wider */
    }
    
    .submissions-table .status-approved {
        background: #28a745 !important;
        color: white !important;
        padding: 2px 4px !important;
        border-radius: 8px !important;
        font-size: 8px !important;
    }
    
    .submissions-table .status-pending {
        background: #ffc107 !important;
        color: #333 !important;
        padding: 2px 4px !important;
        border-radius: 8px !important;
        font-size: 8px !important;
    }
    
    .submissions-table .status-rejected {
        background: #dc3545 !important;
        color: white !important;
        padding: 2px 4px !important;
        border-radius: 8px !important;
        font-size: 8px !important;
    }
    
    /* Card spacing for mobile */
    .card {
        margin-bottom: 12px !important;
    }
    
    .card-body {
        padding: 12px !important;
    }
    
    .card-header {
        padding: 8px 12px !important;
    }
    
    .card-header h2 {
        font-size: 16px !important;
        margin: 0 !important;
    }
}

/* Responsive SEO Content */
@media (max-width: 768px) {
    .opportunity-category {
        margin-bottom: 20px;
    }
    
    .tags-cloud .tag-btn {
        font-size: 0.8em;
        padding: 5px 10px;
    }
    
    .seo-tag-page .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Platform Tagline Styling */
.platform-tagline {
    font-size: 14px !important;
    color: #666 !important;
    font-weight: 500 !important;
    margin-top: 5px !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    font-style: italic;
    text-shadow: none !important;
}

/* Update main heading for platform */
.login-container h1 {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #4CAF50; /* Fallback for browsers that don't support background-clip */
    font-weight: bold;
    margin-bottom: 5px;
}
