/* public/assets/css/style.css */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0f172a;          /* Slate Dark */
    --primary-light: #1e293b;
    --accent: #1e3a8a;           /* Corporate Navy Blue */
    --accent-light: #f0f5ff;
    --accent-dark: #172554;
    --success: #10b981;          /* Active Emerald Green */
    --success-light: #ecfdf5;
    --success-dark: #047857;
    --warning: #f59e0b;
    --warning-light: #fffbeb;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --bg-main: #f6f7f9;          /* Main Corporate Gray background */
    --bg-card: #ffffff;
    --text-main: #111827;        /* Corporate main text */
    --text-dark: #111827;
    --text-muted: #6b7280;       /* Secondary grey text */
    --border: #e5e7eb;           /* Cleaner border color */
    --radius-lg: 12px;           /* Standardized to 12px radius */
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(17, 24, 39, 0.05), 0 1px 2px rgba(17, 24, 39, 0.03);
    --shadow-lg: 0 4px 12px rgba(17, 24, 39, 0.05);
}

/* Reset and Core Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
}

/* ==========================================================================
   1. PROMOTIONAL WEBSITE STYLES (layouts/site.php)
   ========================================================================== */

.site-layout-body {
    background-color: #fafbfc;
    color: var(--text-main);
    overflow-x: hidden;
}

/* Navigation Header */
.site-header {
    background-color: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
}

.site-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-weight: 800;
    font-size: 22px;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.site-nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.site-nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.site-nav-links a:hover {
    color: white;
}

.site-nav-cta {
    background-color: var(--success);
    color: white !important;
    padding: 8px 20px;
    border-radius: 100px;
    transition: background-color 0.2s, transform 0.2s !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.site-nav-cta:hover {
    background-color: var(--success-dark);
    transform: translateY(-1px);
}

/* Hero Section */
.site-hero {
    background: radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.15) 0%, transparent 50%), 
                radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
                linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 90px 24px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.site-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.site-hero-content {
    max-width: 650px;
}

.site-hero-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--success);
    border-radius: 100px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-hero h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.site-hero h1 span {
    background: linear-gradient(90deg, #60a5fa 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-hero p {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 35px;
}

.site-hero-actions {
    display: flex;
    gap: 16px;
}

/* Simulated macOS Dashboard Window Mockup in Hero */
.site-hero-preview {
    display: flex;
    justify-content: center;
    position: relative;
}

.mac-window {
    width: 480px;
    height: 330px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.4s ease;
}

.mac-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-5px);
}

.mac-titlebar {
    height: 32px;
    background: #0f172a;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: relative;
}

.mac-dots {
    display: flex;
    gap: 8px;
}

.mac-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mac-dot.close { background: #ef4444; }
.mac-dot.minimize { background: #f59e0b; }
.mac-dot.zoom { background: #10b981; }

.mac-window-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
}

.mac-content {
    flex: 1;
    display: grid;
    grid-template-columns: 140px 1fr;
    font-size: 11px;
}

.mac-sidebar {
    background: #0f172a;
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mac-sidebar-item {
    height: 14px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
}

.mac-sidebar-item.active {
    background: var(--accent);
}

.mac-body {
    background: #151f32;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mac-card {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 12px;
}

.mac-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 6px;
}

.mac-btn {
    height: 22px;
    background: var(--success);
    border-radius: 4px;
    width: 80px;
    margin-top: 6px;
}

/* Feature Grid */
.site-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.site-section-title h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.site-section-title p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.site-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.site-feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.3s, box-shadow 0.3s;
}

.site-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.site-feature-icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: inline-block;
    padding: 12px;
    background-color: var(--accent-light);
    border-radius: var(--radius-md);
    line-height: 1;
}

.site-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.site-feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Step Flow Grid */
.site-steps-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.site-step-item {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
    position: relative;
}

.site-step-num {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.site-step-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.site-step-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Pricing Grid */
.site-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.site-price-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.site-price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.site-price-card.featured {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
}

.price-badge {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-price-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.site-price-card .price {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 20px 0;
}

.site-price-card .price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.site-price-features {
    list-style: none;
    margin: 25px 0 35px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    font-size: 13px;
    color: var(--text-main);
}

.site-price-features li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-price-features li::before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
}

/* Detailed FAQ Section */
.site-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.site-faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.site-faq-q {
    padding: 18px 24px;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.site-faq-q:hover {
    background-color: #f8fafc;
}

.site-faq-a {
    padding: 0 24px 20px 24px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Big Footer */
.site-footer {
    background-color: var(--primary);
    color: #94a3b8;
    padding: 60px 24px 30px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.site-footer-col h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

.site-footer-col p {
    font-size: 13px;
    line-height: 1.6;
}

.site-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer-col ul a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.site-footer-col ul a:hover {
    color: white;
}

.site-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

/* Responsive Rules for Site */
@media (max-width: 991px) {
    .site-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .site-hero-content {
        max-width: 100%;
    }
    .site-hero-actions {
        justify-content: center;
    }
    .site-hero-preview {
        display: none;
    }
    .site-grid-3, .site-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .site-steps-flow {
        grid-template-columns: 1fr;
    }
    .site-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .site-footer-container {
        grid-template-columns: 1fr;
    }
    .site-footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .site-hero h1 {
        font-size: 32px;
    }
    .site-nav-links {
        display: none;
    }
    .site-faq-q {
        padding: 14px 16px;
        font-size: 14px;
    }
    .site-faq-a {
        padding: 0 16px 14px 16px;
        font-size: 13px;
    }
}


/* ==========================================================================
   2. CORPORATE SAAS DASHBOARD LAYOUT (layouts/main.php)
   ========================================================================== */

.app-layout-body {
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
}

/* Wrapper grid */
.app-layout-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Desktop Sidebar */
.app-sidebar {
    width: 260px;
    background-color: var(--primary);
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
}

.sidebar-logo {
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-logo a {
    font-weight: 800;
    font-size: 20px;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.sidebar-logo a span {
    color: var(--success);
}

.sidebar-menu {
    flex: 1;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.sidebar-menu-item:hover {
    color: white;
    background-color: rgba(255,255,255,0.04);
}

.sidebar-menu-item.active {
    color: white;
    background-color: rgba(255,255,255,0.08);
    border-left: 3px solid var(--accent);
}

.sidebar-menu-icon {
    font-size: 18px;
}

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background-color: #0b0f19;
}

.sidebar-user-role {
    font-size: 10px;
    font-weight: 800;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-user-name {
    font-size: 13px;
    font-weight: 700;
    color: white;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Main content wrapper */
.app-main {
    flex: 1;
    margin-left: 260px; /* spacing for sidebar */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Navigation Bar */
.app-topbar {
    height: 70px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 99;
}

.topbar-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-user-badge {
    background-color: var(--accent-light);
    color: var(--accent-dark);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

.topbar-logout-btn {
    color: var(--danger);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.topbar-logout-btn:hover {
    opacity: 0.8;
}

/* Main workspace container */
.container {
    flex: 1;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 32px 60px 32px;
}

/* Hide mobile bottom navigation on desktop by default */
.bottom-nav {
    display: none;
}

/* Adaptive Responsive Styling for Corporate App */
@media (max-width: 991px) {
    .app-sidebar {
        display: none; /* Hide sidebar on tablet & mobile */
    }
    
    .app-main {
        margin-left: 0; /* Remove sidebar spacing */
    }
    
    .app-topbar {
        padding: 0 20px;
        height: 60px;
    }
    
    .container {
        padding: 20px 16px 90px 16px; /* spacing for mobile bottom navigation */
    }
    
    /* Mobile-first bottom navigation */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 70px;
        background-color: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(226, 232, 240, 0.8);
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 999;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
    }
    
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 10px;
        font-weight: 700;
        flex: 1;
        height: 100%;
        transition: color 0.15s;
    }
    
    .bottom-nav-item.active {
        color: var(--accent);
    }
    
    .bottom-nav-icon {
        font-size: 21px;
        margin-bottom: 2px;
        line-height: 1;
    }
}


/* ==========================================================================
   3. PREMIUM UI COMPONENTS (CARDS, LISTS, ALERTS, SWITCHES)
   ========================================================================== */

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.3px;
}

/* List Groups */
.ios-list {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 24px;
}

.ios-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-main);
    transition: background-color 0.15s;
}

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

.ios-list-item:hover {
    background-color: #f8fafc;
}

.ios-list-label {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--text-dark);
}

.ios-list-value {
    color: var(--text-muted);
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ios-chevron {
    color: #94a3b8;
    font-size: 13px;
    font-weight: bold;
}

/* Toggle Switches */
.ios-switch-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.ios-switch-container:last-child {
    border-bottom: none;
}

.ios-switch-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.ios-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.ios-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ios-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 34px;
}

.ios-switch-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.ios-switch input:checked + .ios-switch-slider {
    background-color: var(--success);
}

.ios-switch input:checked + .ios-switch-slider:before {
    transform: translateX(22px);
}

/* Corporate Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 24px;
    font-size: 14.5px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
}

.btn:active {
    transform: scale(0.98);
}

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

.btn-primary:hover {
    background-color: var(--accent-dark);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.btn-success {
    background-color: var(--success);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.18);
}

.btn-success:hover {
    background-color: var(--success-dark);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.18);
}

.btn-danger:hover {
    background-color: #dc2626;
}

/* Alert Boxes */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-left: 4px solid transparent;
}

.alert-info {
    background-color: var(--accent-light);
    color: var(--accent-dark);
    border-left-color: var(--accent);
}

.alert-success {
    background-color: var(--success-light);
    color: var(--success-dark);
    border-left-color: var(--success);
}

.alert-warning {
    background-color: var(--warning-light);
    color: #b45309;
    border-left-color: var(--warning);
}

.alert-danger {
    background-color: var(--danger-light);
    color: #b91c1c;
    border-left-color: var(--danger);
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    font-size: 14.5px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background-color: #f8fafc;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

/* Progress bar inside app */
.progress-container {
    background: var(--bg-card);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    margin-top: -32px;
    margin-left: -32px;
    margin-right: -32px;
    margin-bottom: 30px;
}

.progress-bar-wrapper {
    height: 6px;
    background-color: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, #3b82f6 100%);
    transition: width 0.3s ease;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* QR Code & Code Copy widgets */
.qr-wrapper {
    text-align: center;
    margin: 24px 0;
}

.qr-image {
    max-width: 200px;
    width: 100%;
    border: 8px solid white;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.code-box {
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 13px;
    color: var(--text-dark);
    word-break: break-all;
    border: 1px solid var(--border);
    margin: 12px 0;
}

/* Metric Dash Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-box {
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

/* Responsive grids inside panels */
@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Corporate Data Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: white;
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background-color: #f8fafc;
    color: var(--text-dark);
    font-weight: 700;
}

tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   4. MOBILE-FIRST CORPORATE UI Revamp (.app-*)
   ========================================================================== */

.app-shell {
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.05);
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.app-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

/* New alert component structure */
.app-alert {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-left: 4px solid transparent;
    text-align: left;
}

.app-alert-info {
    background-color: #f0f5ff;
    color: #1e3a8a;
    border-left-color: #1e3a8a;
}

.app-alert-warning {
    background-color: #fffbeb;
    color: #b45309;
    border-left-color: #f59e0b;
}

.app-alert-success {
    background-color: #ecfdf5;
    color: #047857;
    border-left-color: #10b981;
}

.app-alert-error {
    background-color: #fef2f2;
    color: #b91c1c;
    border-left-color: #ef4444;
}

.app-alert-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
    display: block;
}

.app-alert-text {
    font-size: 13px;
    color: inherit;
    opacity: 0.9;
    line-height: 1.4;
}

.app-alert-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

/* Button design */
.app-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
}

.app-button:active {
    transform: scale(0.98);
    opacity: 0.95;
}

.app-button-primary {
    background-color: #1e3a8a;
    color: #ffffff;
    height: 52px;
}

.app-button-primary:hover {
    background-color: #172554;
}

.app-button-secondary {
    background-color: #ffffff;
    color: #111827;
    border: 1px solid #d1d5db;
    height: 48px;
}

.app-button-secondary:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.app-button-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    height: 48px;
}

.app-button-danger:hover {
    background-color: #fecaca;
}

/* Progress bar */
.app-progress-container {
    background: #ffffff;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.app-progress-bar {
    height: 4px;
    background-color: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.app-progress-bar-fill {
    height: 100%;
    background-color: #1e3a8a;
    transition: width 0.3s ease;
}

.app-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

.app-status-badge {
    display: inline-flex;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    text-transform: capitalize;
}

.app-status-badge-success {
    background-color: #ecfdf5;
    color: #047857;
}

.app-status-badge-warning {
    background-color: #fffbeb;
    color: #b45309;
}

.app-status-badge-danger {
    background-color: #fef2f2;
    color: #b91c1c;
}

.app-status-badge-info {
    background-color: #f0f5ff;
    color: #1e3a8a;
}

/* Custom Bottom Nav Overrides for corporate app */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background-color: #ffffff !important;
    border-top: 1px solid #e5e7eb !important;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2px 10px rgba(17, 24, 39, 0.03) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b7280 !important;
    text-decoration: none;
    font-size: 11px !important;
    font-weight: 500 !important;
    flex: 1;
    height: 100%;
    transition: color 0.15s ease;
    gap: 4px;
}

.bottom-nav-item.active {
    color: #1e3a8a !important;
    font-weight: 600 !important;
}

.bottom-nav-item svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    transition: stroke 0.15s ease;
}

.bottom-nav-item.active svg {
    stroke: #1e3a8a !important;
}

.sidebar-menu-item svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    margin-right: 12px;
}

/* ==========================================================================
   E-COMMERCE REDESIGN STYLES (Hepsiburada-Inspired)
   ========================================================================== */

:root {
    --e-orange: #ff6000;
    --e-navy: #0f172a;
    --e-light-gray: #f8fafc;
    --e-border: #e2e8f0;
}

/* 3-Line Header */
.site-header-ecommerce {
    background-color: #ffffff;
    border-bottom: 1px solid var(--e-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.top-mini-bar {
    background-color: var(--e-light-gray);
    border-bottom: 1px solid var(--e-border);
    padding: 6px 0;
    font-size: 12px;
}

.top-mini-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.top-mini-bar a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.top-mini-bar a:hover {
    color: var(--e-orange);
}

.main-header-row {
    padding: 14px 0;
}

.main-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-logo-section {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.header-logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--e-navy);
    line-height: 1;
}

.header-logo-text span {
    color: var(--e-orange);
}

.header-logo-sub {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Big Search Field */
.header-search-form {
    flex: 1;
    max-width: 550px;
    position: relative;
}

.header-search-input {
    width: 100%;
    border: 2px solid var(--e-border);
    border-radius: 8px;
    padding: 10px 16px 10px 44px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
    color: var(--e-navy);
}

.header-search-input:focus {
    border-color: var(--e-orange);
}

.header-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

/* User & Cart Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--e-navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.15s ease;
    border: 1px solid transparent;
}

.header-action-btn:hover {
    background-color: var(--e-light-gray);
}

.header-action-btn.cart-btn {
    border: 1px solid var(--e-border);
    position: relative;
}

.cart-count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: var(--e-orange);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(255, 96, 0, 0.3);
}

/* Account Dropdown Menu */
.account-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.account-dropdown-wrapper::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
    display: none;
    z-index: 1000;
}

.account-dropdown-wrapper:hover::after {
    display: block;
}

.account-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    min-width: 230px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid var(--e-border);
    border-radius: 8px;
    margin-top: 8px;
    z-index: 1001;
    overflow: hidden;
}

.account-dropdown-wrapper:hover .account-dropdown-menu,
.account-dropdown-wrapper:focus-within .account-dropdown-menu {
    display: block;
}

.dropdown-user-header {
    background-color: var(--e-light-gray);
    padding: 12px 16px;
    border-bottom: 1px solid var(--e-border);
}

.dropdown-user-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--e-navy);
}

.dropdown-user-email {
    font-size: 11px;
    color: #64748b;
    word-break: break-all;
    margin-top: 2px;
}

.dropdown-user-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    background-color: #eff6ff;
    color: #2563eb;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 6px;
}

.account-dropdown-links {
    padding: 6px 0;
}

.account-dropdown-links a {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    color: #475569;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.account-dropdown-links a:hover {
    background-color: var(--e-light-gray);
    color: var(--e-orange);
}

.account-dropdown-divider {
    height: 1px;
    background-color: var(--e-border);
    margin: 4px 0;
}

.account-dropdown-links a.logout-link {
    color: var(--danger);
}

.account-dropdown-links a.logout-link:hover {
    background-color: var(--danger-light);
    color: var(--danger);
}

/* Category Navigation Menu */
.category-nav-row {
    border-top: 1px solid var(--e-border);
    padding: 8px 0;
}

.category-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Hide scrollbar for clean look */
}

.category-nav-container::-webkit-scrollbar {
    display: none;
}

.category-nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    padding: 6px 0;
    position: relative;
    transition: color 0.15s ease;
}

.category-nav-link:hover {
    color: var(--e-orange);
}

.category-nav-link.active {
    color: var(--e-orange);
}

/* Popular Countries Horizontal Scroll */
.popular-countries-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 0 16px 0;
    margin-bottom: 24px;
    scrollbar-width: none;
}

.popular-countries-scroll::-webkit-scrollbar {
    display: none;
}

.popular-country-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid var(--e-border);
    border-radius: 50px;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--e-navy);
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.popular-country-chip:hover {
    border-color: var(--e-orange);
    color: var(--e-orange);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
}

.popular-country-chip.active {
    border-color: var(--e-orange);
    background-color: #fff7ed;
    color: var(--e-orange);
}

.popular-country-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--e-light-gray);
    font-size: 14px;
}

/* Product Cards Highlights */
.site-package-card {
    border: 1px solid var(--e-border) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
    transition: all 0.25s ease !important;
}

.site-package-card:hover {
    border-color: var(--e-orange) !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06) !important;
}

.site-package-card .btn-primary,
.hero-btn-primary {
    background-color: var(--e-orange) !important;
    border-color: var(--e-orange) !important;
    color: white !important;
}

.site-package-card .btn-primary:hover,
.hero-btn-primary:hover {
    background-color: #e05300 !important;
    border-color: #e05300 !important;
    color: white !important;
}

/* Shopping Cart UI */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 24px;
}

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

.cart-table-card {
    background: #ffffff;
    border: 1px solid var(--e-border);
    border-radius: 12px;
    padding: 24px;
}

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

.cart-table th {
    text-align: left;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--e-border);
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.cart-table td {
    padding: 20px 0;
    border-bottom: 1px solid var(--e-light-gray);
    vertical-align: middle;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-item-flag {
    font-size: 24px;
}

.cart-item-title {
    font-weight: 700;
    color: var(--e-navy);
    font-size: 14.5px;
}

.cart-item-meta {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.cart-item-price {
    font-weight: 800;
    color: var(--e-navy);
    font-size: 15px;
}

.cart-item-delete {
    color: #94a3b8;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    transition: color 0.15s ease;
}

.cart-item-delete:hover {
    color: var(--danger);
}

.cart-summary-card {
    background: #ffffff;
    border: 1px solid var(--e-border);
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #475569;
    margin-bottom: 12px;
}

.summary-row.total {
    border-top: 1px solid var(--e-border);
    padding-top: 16px;
    margin-top: 16px;
    font-size: 18px;
    font-weight: 800;
    color: var(--e-navy);
}

.coupon-box {
    margin-top: 20px;
    display: flex;
    gap: 8px;
}

.coupon-input {
    flex: 1;
    border: 1px solid var(--e-border);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
}

.coupon-btn {
    border: 1px solid var(--e-border);
    background: var(--e-light-gray);
    color: var(--e-navy);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.coupon-btn:hover {
    background: var(--e-border);
}

/* E-Commerce Account Layout */
.account-layout-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 24px;
}

@media (max-width: 850px) {
    .account-layout-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.account-sidebar-menu {
    background: #ffffff;
    border: 1px solid var(--e-border);
    border-radius: 12px;
    padding: 16px 0;
    height: fit-content;
}

.account-sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
}

.account-sidebar-link:hover {
    background-color: var(--e-light-gray);
    color: var(--e-orange);
}

.account-sidebar-link.active {
    background-color: #fff7ed;
    color: var(--e-orange);
    border-left-color: var(--e-orange);
}

.account-sidebar-link svg {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

/* Mobile Account Tabs */
.account-mobile-tabs {
    display: none;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    scrollbar-width: none;
}

.account-mobile-tabs::-webkit-scrollbar {
    display: none;
}

@media (max-width: 850px) {
    .account-sidebar-menu {
        display: none;
    }
    .account-mobile-tabs {
        display: flex;
    }
}

.mobile-tab-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--e-border);
    border-radius: 50px;
    padding: 8px 16px;
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.mobile-tab-chip.active {
    background: #fff7ed;
    border-color: var(--e-orange);
    color: var(--e-orange);
}

/* Account Content Card */
.account-content-card {
    background: #ffffff;
    border: 1px solid var(--e-border);
    border-radius: 12px;
    padding: 30px;
    min-height: 400px;
}

@media (max-width: 600px) {
    .account-content-card {
        padding: 20px;
    }
}

/* Installation Detail Tabs */
.install-tabs {
    display: flex;
    border-bottom: 1px solid var(--e-border);
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.install-tabs::-webkit-scrollbar {
    display: none;
}

.install-tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 700;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.install-tab-btn:hover {
    color: var(--e-orange);
}

.install-tab-btn.active {
    color: var(--e-orange);
    border-bottom-color: var(--e-orange);
}

.install-tab-panel {
    display: none;
}

.install-tab-panel.active {
    display: block;
}

/* General Styling Elements */
.copy-group {
    background-color: var(--e-light-gray);
    border: 1px solid var(--e-border);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    margin-bottom: 14px;
}

.copy-text {
    font-family: monospace;
    font-size: 13.5px;
    color: var(--e-navy);
    word-break: break-all;
    user-select: all;
}

.copy-btn {
    background: #ffffff;
    border: 1px solid var(--e-border);
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.copy-btn:hover {
    background: var(--e-light-gray);
    border-color: var(--e-orange);
    color: var(--e-orange);
}

/* Order Cards */
.order-card {
    border: 1px solid var(--e-border);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    background-color: #ffffff;
}

.order-card-header {
    background-color: var(--e-light-gray);
    border-bottom: 1px solid var(--e-border);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.order-card-body {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.order-card-footer {
    border-top: 1px solid var(--e-light-gray);
    padding: 12px 16px;
    display: flex;
    justify-content: flex-end;
}

/* Order Detail Responsive styles */
.order-summary-card {
    border: 1px solid var(--e-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    background-color: #ffffff;
}

.order-summary-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.order-summary-details {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.order-summary-specs {
    display: flex;
    gap: 16px;
    font-size: 13.5px;
    color: #475569;
    flex-wrap: wrap;
}

.order-status-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.01);
}

.esim-install-card {
    border: 1px solid var(--e-border);
    border-radius: 12px;
    padding: 24px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.01);
}

.esim-setup-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 96, 0, 0.25);
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.order-review-card {
    border: 1px solid var(--e-border);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.01);
}

.order-actions-container {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.order-actions-container .btn {
    box-sizing: border-box;
}

.order-actions-container form {
    display: inline-block;
}

/* Adjustments to existing selectors for mobile layout */
.copy-text {
    flex: 1;
    min-width: 0;
}

.install-tabs {
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .order-summary-card {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .order-summary-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .order-summary-details {
        width: 100%;
        justify-content: space-between;
    }
    
    .order-status-card {
        padding: 24px 16px;
        margin-bottom: 16px;
    }
    
    .esim-install-card {
        padding: 16px;
    }
    
    .order-review-card {
        padding: 16px;
        margin-top: 16px;
    }
    
    .order-actions-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .order-actions-container .btn,
    .order-actions-container form,
    .order-actions-container form button {
        width: 100% !important;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .copy-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
    }
    
    .copy-btn {
        margin-left: 0;
        align-self: flex-end;
        width: auto;
    }
    
    .copy-text {
        font-size: 12.5px;
    }
    
    .install-tab-panel table tr {
        display: flex;
        flex-direction: column;
        padding: 8px 0;
        border-bottom: 1px solid var(--e-border);
    }
    
    .install-tab-panel table tr th,
    .install-tab-panel table tr td {
        width: 100% !important;
        padding: 4px 0 !important;
    }
}

@media (max-width: 480px) {
    .order-summary-details {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .order-summary-specs {
        justify-content: space-between;
        font-size: 12.5px;
        gap: 8px;
    }
    
    .order-summary-details .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .order-status-card .btn {
        display: block !important;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    
    .install-tab-btn {
        padding: 10px 12px;
        font-size: 12.5px;
    }
    
    .install-tabs {
        margin-bottom: 16px;
    }
    
    .esim-setup-btn {
        display: block;
        width: 100%;
        padding: 12px 16px;
        font-size: 13.5px;
    }
    
    .order-review-card button[type="submit"] {
        width: 100%;
        align-self: stretch;
    }
}

/* Compact Order List View */
.order-list-item {
    background: #ffffff;
    border: 1px solid var(--e-border);
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}

.order-list-item:hover {
    border-color: var(--e-orange);
    box-shadow: 0 4px 12px rgba(255, 96, 0, 0.05);
}

.order-item-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.order-item-flag {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.order-item-meta {
    flex: 1;
    min-width: 0;
}

.order-item-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--e-navy);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-item-subtitle {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-item-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.order-item-price {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--e-navy);
    min-width: 80px;
    text-align: right;
}

.order-item-btn-wrapper {
    flex-shrink: 0;
}

.order-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.order-btn-link:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .order-list-item {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 12px;
    }
    
    .order-item-info {
        gap: 12px;
    }
    
    .order-item-title {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    
    .order-item-subtitle {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    
    .order-item-actions {
        border-top: 1px solid var(--e-light-gray);
        padding-top: 12px;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .order-item-price {
        text-align: left;
        min-width: auto;
    }
    
    .order-item-btn-wrapper {
        width: 100%;
        margin-top: 4px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .order-item-btn-wrapper form {
        width: 100%;
    }
    
    .order-btn-link {
        width: 100%;
        display: flex;
    }
}




