/* Global Resets & Root Variables */
:root {
    --bg-main: #0B0F19;
    --bg-surface: #111827;
    --bg-surface-elevated: #1F2937;
    --border-color: #374151;
    --border-glow: #2563eb30;
    
    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    
    --color-primary: #3B82F6;
    --color-primary-hover: #2563EB;
    --color-accent: #06B6D4;
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-danger: #EF4444;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Utility classes */
.text-muted { color: var(--text-muted); }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-danger); }
.text-warning { color: var(--color-warning); }

/* Navigation Bar */
.navbar {
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    gap: 0.5rem;
}

.logo span span {
    color: var(--color-primary);
}

.logo-icon {
    color: var(--color-accent);
    filter: drop-shadow(0 0 8px var(--color-accent));
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

.admin-link {
    color: var(--color-accent) !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-btn {
    position: relative;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.cart-btn:hover {
    color: var(--color-primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--color-danger);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    padding: 1px 5px;
    line-height: 1;
}

/* Main Content Container */
.main-content {
    margin-top: 5rem;
    min-height: calc(100vh - 5rem);
    padding: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* SPA Sections Toggle */
.app-section {
    display: none;
}

.app-section.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

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

/* Hero Banner */
.hero-banner {
    position: relative;
    padding: 4rem 2rem;
    text-align: center;
    background: radial-gradient(circle at top, rgba(37, 99, 235, 0.15) 0%, rgba(11, 15, 25, 0) 70%);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 3rem;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 150px;
    background: var(--color-primary);
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.hero-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-primary);
    color: var(--text-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.3);
}

/* Marketplace Grids */
.category-block {
    margin-bottom: 4rem;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.category-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Cards (Glassmorphism & Glow) */
.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12), 0 0 1px var(--color-primary);
}

.card-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(37, 99, 235, 0.15);
    color: var(--color-primary);
    padding: 0.25rem 0.6rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-right: 2.5rem;
}

.product-card p.desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-info-list {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.info-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.risk-badge {
    border-left: 2px solid var(--color-danger);
    background: rgba(239, 68, 68, 0.08);
    padding: 0.6rem;
    border-radius: 0 0.5rem 0.5rem 0;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.risk-badge strong {
    color: var(--color-danger);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-duration {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.buy-btn {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.buy-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

/* VPS Configurator CSS */
.config-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.back-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.back-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.configurator-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 968px) {
    .configurator-layout {
        grid-template-columns: 1fr;
    }
}

.config-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.config-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.config-card-header p {
    color: var(--text-secondary);
}

.config-section-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.billing-cycle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.billing-option {
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    border-radius: 0.75rem;
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    transition: var(--transition-smooth);
}

.billing-option:hover {
    border-color: var(--color-primary);
}

.billing-option.active {
    border-color: var(--color-primary);
    background: rgba(37, 99, 235, 0.04);
}

.billing-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.billing-option.active .billing-radio {
    border-color: var(--color-primary);
}

.billing-option.active .billing-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-primary);
}

.billing-details {
    display: flex;
    flex-direction: column;
}

.cycle-label {
    font-weight: 600;
    font-size: 1rem;
}

.cycle-price {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.save-badge {
    position: absolute;
    bottom: -10px;
    right: 10px;
    background: var(--color-success);
    color: var(--bg-main);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
}

.premium-badge {
    background: var(--color-accent);
}

.os-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.os-option {
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    padding: 1rem;
    border-radius: 0.75rem;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-smooth);
}

.os-option:hover {
    border-color: var(--color-primary);
}

.os-option.active {
    border-color: var(--color-primary);
    background: rgba(37, 99, 235, 0.05);
}

.os-icon {
    font-size: 2rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.os-option.active .os-icon {
    color: var(--color-primary);
}

/* Configurator Sidebar */
.summary-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    position: sticky;
    top: 6.5rem;
}

.summary-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1.5rem 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.summary-product-name {
    font-weight: 600;
    color: var(--text-primary);
    max-width: 70%;
}

.summary-product-price {
    font-weight: 700;
}

.summary-specs-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    background: var(--bg-main);
    padding: 1rem;
    border-radius: 0.5rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
}

.spec-label {
    color: var(--text-secondary);
}

.spec-val {
    font-weight: 500;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.total-price {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
}

.checkout-btn {
    width: 100%;
    background: var(--color-primary);
    color: var(--text-primary);
    border: none;
    padding: 1rem;
    border-radius: 0.75rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.checkout-btn:hover {
    background: var(--color-primary-hover);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.45);
}

/* Checkout Page CSS */
.checkout-layout {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 968px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

.checkout-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.checkout-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.order-overview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-main);
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.checkout-item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.payment-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.payment-tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.payment-tab:hover {
    color: var(--text-primary);
}

.payment-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.payment-instruction-content {
    display: none;
}

.payment-instruction-content.active {
    display: block;
}

.payment-info-box {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: var(--bg-main);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

@media (max-width: 576px) {
    .payment-info-box {
        flex-direction: column;
        text-align: center;
    }
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: #ffffff10;
    border: 2px dashed var(--border-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
}

.payment-text {
    flex: 1;
}

.payment-text p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.address-copy-row {
    display: flex;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.address-copy-row input {
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: monospace;
    flex-grow: 1;
    font-size: 0.9rem;
}

.address-copy-row button {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0 1.25rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.address-copy-row button:hover {
    background: var(--color-primary-hover);
}

.warning-text {
    font-size: 0.8rem;
    color: var(--color-warning);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.full-width {
    width: 100%;
}

.bank-details-grid {
    display: grid;
    gap: 0.75rem;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    background: var(--bg-surface-elevated);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.bank-row span {
    color: var(--text-secondary);
}

.copy-icon {
    cursor: pointer;
    margin-left: 0.5rem;
    color: var(--color-accent);
}

.copy-icon:hover {
    color: var(--text-primary);
}

/* Submit Card CSS */
.submit-card {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.05);
}

.verification-helper {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: monospace;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.form-group input:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 5px rgba(37, 99, 235, 0.3);
}

.submit-tx-btn {
    width: 100%;
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.submit-tx-btn:hover {
    background: var(--color-primary-hover);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

/* Modal Overlay & Modal Card */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.modal-icon.success {
    color: var(--color-success);
}

.modal-card h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.modal-message {
    background: var(--bg-main);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.highlight-text {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.6;
}

.modal-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-btn:hover {
    background: var(--color-primary-hover);
}

/* About Section CSS */
.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-hero {
    text-align: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.about-hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.about-hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.about-card-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.about-card h3 {
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-details-text {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 1rem;
}

.about-details-text h2 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.about-details-text p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Shopping Cart Drawer CSS */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-color);
    z-index: 501;
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-family: var(--font-heading);
}

.close-cart-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-main);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.cart-item-info {
    max-width: 70%;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-item-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-accent);
}

.remove-cart-item {
    background: transparent;
    border: none;
    color: var(--color-danger);
    cursor: pointer;
    font-size: 1.1rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface-elevated);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cart-total-row span:last-child {
    font-size: 1.4rem;
    color: var(--text-primary);
}

.cart-checkout-btn {
    width: 100%;
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.85rem;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cart-checkout-btn:hover {
    background: var(--color-primary-hover);
}

/* Admin Dashboard Section CSS */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.admin-tabs {
    display: flex;
    gap: 1rem;
}

.admin-tab-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.admin-tab-btn:hover, .admin-tab-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.admin-sub-section {
    display: none;
}

.admin-sub-section.active {
    display: block;
}

.admin-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
}

.admin-card h3 {
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

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

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.admin-table th {
    font-weight: 600;
    color: var(--text-secondary);
}

.status-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-warning);
}

.status-badge.approved {
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-success);
}

.status-badge.rejected {
    background: rgba(239, 68, 68, 0.15);
    color: var(--color-danger);
}

.admin-actions-btns {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    color: white;
}

.action-btn.approve {
    background: var(--color-success);
}

.action-btn.reject {
    background: var(--color-danger);
}

/* Admin Chat Console Layout */
.admin-chat-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    height: 600px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
}

@media (max-width: 768px) {
    .admin-chat-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.admin-chats-sidebar {
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.admin-chats-sidebar h3 {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-heading);
}

.conversations-list {
    flex: 1;
    overflow-y: auto;
}

.conversation-item {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.conversation-item:hover, .conversation-item.active {
    background: var(--bg-surface-elevated);
}

.conv-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.conv-id {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-accent);
}

.conv-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.conv-preview {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-chat-window {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.admin-chat-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    background: var(--bg-surface-elevated);
}

.admin-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-chat-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    gap: 1rem;
}

.admin-chat-placeholder i {
    font-size: 4rem;
}

.admin-chat-footer {
    padding: 1.25rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
}

.admin-chat-footer input {
    flex: 1;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: var(--text-primary);
}

.admin-chat-footer input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.admin-chat-footer button {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.admin-chat-footer button:hover:not(:disabled) {
    background: var(--color-primary-hover);
}

.admin-chat-footer button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Floating Chat Widget CSS */
.support-chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    position: relative;
    transition: var(--transition-smooth);
}

.chat-toggle-btn:hover {
    transform: scale(1.05);
    background: var(--color-primary-hover);
}

.chat-alert-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--color-danger);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--bg-main);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.4);
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.chat-alert-dot.active {
    opacity: 1;
    transform: scale(1);
}

.chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 480px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-box.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.chat-box-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-surface-elevated);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 1rem 1rem 0 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.15);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.chat-header-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.chat-header-info span {
    font-size: 0.75rem;
    color: var(--color-success);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.chat-header-info span::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-success);
}

.chat-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Chat Message Bubbles */
.message-bubble {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.88rem;
    word-break: break-word;
    line-height: 1.4;
}

.message-bubble.user {
    background: var(--color-primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0.1rem;
}

.message-bubble.admin {
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 0.1rem;
    border: 1px solid var(--border-color);
}

.message-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    display: block;
}

.message-bubble.user .message-meta {
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
}

.chat-input-row {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
}

.chat-input-row input {
    flex: 1;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 0.6rem 0.85rem;
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.chat-input-row input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.chat-input-row button {
    background: var(--color-primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.chat-input-row button:hover {
    background: var(--color-primary-hover);
}

/* Custom Toast Notification System */
.custom-toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 9999;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    max-width: 350px;
    font-weight: 500;
    font-size: 0.9rem;
}

.custom-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.custom-toast .toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Toast types styling */
.custom-toast.success {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.15);
}
.custom-toast.success .toast-icon {
    color: var(--color-success);
}

.custom-toast.error {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.1);
    box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.15);
}
.custom-toast.error .toast-icon {
    color: var(--color-danger);
}

.custom-toast.warning {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.1);
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.15);
}
.custom-toast.warning .toast-icon {
    color: var(--color-warning);
}

.custom-toast.info {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.15);
}
.custom-toast.info .toast-icon {
    color: var(--color-primary);
}

/* User Auth Styling */
.user-auth-widget {
    display: flex;
    align-items: center;
}

.login-trigger-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-trigger-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

.user-profile-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
}

.profile-username {
    font-weight: 700;
    color: var(--color-accent);
}

.logout-btn {
    background: transparent;
    border: none;
    color: var(--color-danger);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0;
    transition: var(--transition-smooth);
}

.logout-btn:hover {
    color: white;
}

/* Auth Modal Specifics */
.auth-card {
    max-width: 420px;
    position: relative;
    padding: 2.5rem 2rem;
}

.auth-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.auth-close-btn:hover {
    color: var(--text-primary);
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.auth-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition-smooth);
}

.auth-tab-btn:hover {
    color: var(--text-primary);
}

.auth-tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.auth-form {
    display: none;
    text-align: left;
}

.auth-form.active {
    display: block;
}

.auth-submit-btn {
    width: 100%;
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.85rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: var(--transition-smooth);
}

.auth-submit-btn:hover {
    background: var(--color-primary-hover);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

/* Authentication block trigger styles */
.auth-required-banner {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--color-danger);
    font-weight: 600;
}

/* Invoice Sheet Styling */
.invoice-sheet {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 0.75rem;
    text-align: left;
    color: var(--text-primary);
    font-family: var(--font-body);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.invoice-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}
.invoice-logo span span {
    color: var(--color-primary);
}

.invoice-meta {
    text-align: right;
}
.invoice-meta h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}
.invoice-meta p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.invoice-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1.5rem 0;
}

.invoice-billing-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}
.billing-col h4 {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.billing-col strong {
    font-size: 1rem;
    color: var(--text-primary);
}
.billing-col p {
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}
.invoice-table th, .invoice-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}
.invoice-table th {
    text-align: left;
    color: var(--text-secondary);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
}
.invoice-table td {
    color: var(--text-primary);
}
.invoice-table td.text-right, .invoice-table th.text-right {
    text-align: right;
}

.invoice-summary-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: start;
    font-size: 0.9rem;
}

.payment-method-desc {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}
.payment-method-desc strong {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}
.total-line.grand-total {
    color: var(--text-primary);
    font-weight: 700;
    border-top: 1px solid var(--border-color);
    font-size: 1.15rem;
    padding-top: 0.75rem;
}
.total-line.grand-total span:last-child {
    color: var(--color-accent);
}

.invoice-status-badge {
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
}
.invoice-status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}
.invoice-status-badge.verified {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.invoice-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 3rem;
    border-top: 1px dashed var(--border-color);
    padding-top: 1.5rem;
}

.invoices-trigger-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.invoices-trigger-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

/* Print CSS Styles Rules */
@media print {
    body {
        background: white !important;
        color: #111827 !important;
    }
    body > *:not(#receipt-modal) {
        display: none !important;
    }
    #receipt-modal {
        position: absolute;
        left: 0;
        top: 0;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        display: block !important;
        background: white !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        opacity: 1 !important;
    }
    .modal-card.receipt-card {
        border: none !important;
        box-shadow: none !important;
        background: white !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        display: block !important;
    }
    .invoice-sheet {
        background: white !important;
        color: #111827 !important;
        border: none !important;
        padding: 0 !important;
    }
    .invoice-logo, .invoice-logo span span, .billing-col strong, .invoice-table td, .total-line.grand-total, .invoice-logo span {
        color: #111827 !important;
    }
    .invoice-meta p, .billing-col p, .billing-col h4, .invoice-table th, .total-line, .payment-method-desc strong, .invoice-footer {
        color: #4B5563 !important;
    }
    .invoice-divider, .invoice-table th, .invoice-table td, .payment-method-desc, .total-line.grand-total, .invoice-footer {
        border-color: #D1D5DB !important;
    }
    .payment-method-desc, .invoice-table th {
        background: #F3F4F6 !important;
    }
    .no-print {
        display: none !important;
    }
}

/* ==========================================================================
   CUSTOMER PROFILE DASHBOARD STYLES
   ========================================================================== */
.profile-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .profile-card {
    transform: scale(1);
}

.profile-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.profile-tab-btn i {
    width: 16px;
    text-align: center;
    font-size: 1rem;
}

.profile-tab-btn:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    padding-left: 1.25rem;
}

.profile-tab-btn.active {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.profile-tab-btn.active:hover {
    padding-left: 1rem; /* keep standard padding when active */
}

.profile-stat-card {
    transition: var(--transition-smooth);
}

.profile-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.25) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.profile-stat-card:hover .stat-icon {
    transform: scale(1.05);
}

.stat-icon {
    transition: var(--transition-smooth);
}

/* Disabled and Readonly field styling */
.form-group input:disabled, .form-group input[readonly] {
    opacity: 0.7;
    border-color: var(--border-color);
    box-shadow: none !important;
}

.profile-panel-content {
    flex-direction: column !important;
}

@media (max-width: 768px) {
    .profile-card {
        flex-direction: column !important;
        height: auto !important;
        max-height: 92vh;
        margin: 1rem auto;
    }
    .profile-sidebar {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem 1rem !important;
    }
    .profile-tab-links {
        flex-direction: row !important;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        width: 100%;
        gap: 0.5rem;
    }
    .profile-tab-btn {
        width: auto !important;
        white-space: nowrap;
        padding: 0.5rem 0.85rem;
    }
    .profile-tab-btn:hover {
        padding-left: 0.85rem;
    }
    .profile-avatar-container {
        display: none !important;
    }
    .profile-sidebar h3 {
        margin-top: 1rem !important;
        font-size: 1.1rem !important;
    }
    .profile-sidebar span {
        margin-bottom: 1rem !important;
    }
    .profile-content-panel {
        padding: 1.5rem !important;
        height: 380px !important;
    }
    .profile-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

