/* HitBot Design System - Flat & Clean Modern Premium Light Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #f8f7fa;
    --bg-card: #ffffff;
    --text-primary: #4b465c;
    --text-secondary: #6f6b7d;
    --text-muted: #a5a3ae;
    --border-color: #eceaf0;   /* yalnızca ince ayraçlar için */
    --border-dark: #dddbe3;    /* form ve buton kenarları */
    --border-soft: #f3f2f6;    /* neredeyse görünmez ayraç */
    
    --primary: #7367f0;         /* Multikit Royal Purple */
    --primary-hover: #6354ec;
    --primary-light: #efeefd;
    
    --success: #28c76f;         /* Emerald */
    --success-light: #ddf6e9;
    --success-dark: #1f9a56;
    
    --danger: #ea5455;          /* Red */
    --danger-light: #fce5e6;
    --danger-dark: #b54142;
    
    --warning: #ff9f43;         /* Orange */
    --warning-light: #fff0e1;
    --warning-dark: #c67b34;
    
    --info: #00bad1;            /* Cyan */
    --info-light: #d8f7fa;
    --info-dark: #0091a3;

    --purple: #8b5cf6;
    --purple-light: #f5f3ff;
    --purple-dark: #5b21b6;
    
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    --radius-sm: 5px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --shadow-sm: 0 1px 3px rgba(75, 70, 92, 0.06);
    --shadow-md: 0 4px 16px rgba(75, 70, 92, 0.07);
    --shadow-lg: 0 12px 32px rgba(75, 70, 92, 0.09);
    --shadow-premium: 0 2px 8px rgba(75, 70, 92, 0.05);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

/* Auth Layout */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    background-color: var(--bg-main);
    background-image: radial-gradient(#e2e8f0 1.2px, transparent 1.2px);
    background-size: 24px 24px;
}

.auth-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
    padding: 3rem 2.5rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-logo {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.06em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

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

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

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

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

.form-control {
    width: 100%;
    padding: 0.8rem 1.1rem;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    background-color: #ffffff;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
}

.form-check input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 4px;
    border: 1px solid var(--border-dark);
    outline: none;
    cursor: pointer;
    accent-color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none;
}

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

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--text-secondary);
    border-color: var(--border-dark);
}

.btn-secondary:hover {
    background-color: var(--bg-main);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.btn-danger {
    background-color: var(--danger);
    color: #ffffff;
}

.btn-danger:hover {
    background-color: #dc2626;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.btn-success {
    background-color: var(--success);
    color: #ffffff;
}

.btn-success:hover {
    background-color: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

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

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

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Layouts (Admin & Customer Shared) */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
}

.sidebar-brand {
    padding: 2rem 2.25rem;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.sidebar-menu {
    list-style: none;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex-grow: 1;
}

.sidebar-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.sidebar-item a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.sidebar-item a:hover {
    background-color: var(--bg-main);
    color: var(--text-primary);
}

.sidebar-item a:hover i {
    color: var(--text-primary);
}

.sidebar-item.active a {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(115, 103, 240, 0.4);
}

.sidebar-item.active a i {
    color: #ffffff;
}

.sidebar-footer {
    padding: 1.5rem 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Main Content Area */
.main-content {
    margin-left: 280px;
    flex-grow: 1;
    min-width: 0;   /* flex öğesinin geniş tablolarla şişmesini engeller */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-main);
}

/* Topbar */
.topbar {
    height: 80px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
}

.topbar-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.user-avatar {
    width: 42px;
    height: 42px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-sm);
}

.user-info {
    text-align: left;
}

.user-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.user-role {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Content Container */
.content-body {
    padding: 2.5rem;
    flex-grow: 1;
    min-width: 0;
}

/* Dar masaüstü / tablet: sidebar ve boşlukları daralt, aramayı gizle */
@media (max-width: 1100px) {
    .sidebar {
        width: 240px;
    }
    .main-content {
        margin-left: 240px;
    }
    .topbar {
        padding: 0 1.5rem;
    }
    .topbar-search {
        display: none !important;
    }
    .content-body {
        padding: 1.75rem;
    }
}

/* Cards */
.card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    margin-bottom: 2rem;
    overflow: hidden;
}

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

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title i {
    color: var(--text-muted);
}

.card-body {
    padding: 2rem;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.stat-value {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.04em;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* Theme Colors for Stats Icons */
.stat-icon.customers {
    background-color: var(--primary-light);
    color: var(--primary);
}

.stat-icon.licenses {
    background-color: var(--success-light);
    color: var(--success);
}

.stat-icon.proxies {
    background-color: var(--purple-light);
    color: var(--purple);
}

.stat-icon.cookies {
    background-color: var(--warning-light);
    color: var(--warning);
}

.stat-footer {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    min-width: 620px;   /* dar ekranda sıkışmak yerine yatay kaysın */
    border-collapse: collapse;
    text-align: left;
}

.table th {
    background-color: #fbfafc;
    color: var(--text-secondary);
    font-weight: 700;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.table td {
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-primary);
    font-weight: 500;
    vertical-align: middle;
}

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

.table tr:hover td {
    background-color: #fafbfc;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.badge-success {
    background-color: var(--success-light);
    color: var(--success-dark);
}

.badge-danger {
    background-color: var(--danger-light);
    color: var(--danger-dark);
}

.badge-warning {
    background-color: var(--warning-light);
    color: var(--warning-dark);
}

.badge-secondary {
    background-color: var(--bg-main);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* Form Helper Classes */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: 1.5rem;
    gap: 1.5rem;
}

.tab-link {
    padding: 0.75rem 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}

.tab-link:hover,
.tab-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Code Display for Cookie/JSON */
code {
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.85rem;
    background-color: var(--bg-main);
    color: var(--text-primary);
    border: none;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-weight: 600;
}

pre {
    background-color: var(--bg-main);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: none;
    overflow-x: auto;
}

pre code {
    background-color: transparent;
    border: none;
    padding: 0;
    color: var(--text-primary);
    font-size: 0.82rem;
}

/* Pricing Grid Custom overrides */
.pricing-grid {
    margin-top: 1.5rem;
}

/* Modern Table Actions and Icon Buttons */
.table-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.table-actions form {
    display: inline-block;
    margin: 0;
}

.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--border-dark);
    background-color: #ffffff;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.btn-icon i {
    font-size: 0.85rem;
}

.btn-icon:hover {
    background-color: var(--bg-main);
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.btn-icon:active {
    transform: scale(0.95);
}

.btn-icon-primary {
    border-color: var(--primary-light);
    color: var(--primary);
}

.btn-icon-primary:hover {
    background-color: var(--primary-light);
    color: var(--primary-hover);
    border-color: var(--primary);
}

.btn-icon-success {
    border-color: var(--success-light);
    color: var(--success);
}

.btn-icon-success:hover {
    background-color: var(--success-light);
    color: var(--success-dark);
    border-color: var(--success);
}

.btn-icon-danger {
    border-color: var(--danger-light);
    color: var(--danger);
}

.btn-icon-danger:hover {
    background-color: var(--danger-light);
    color: var(--danger-dark);
    border-color: var(--danger);
}

.btn-icon:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    background-color: var(--bg-main);
    border-color: var(--border-color);
    color: var(--text-muted);
    box-shadow: none;
}

/* Customer Detail Premium Layout */
.customer-detail-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .customer-detail-grid {
        grid-template-columns: 1fr;
    }
}

.profile-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 0.5rem 0.5rem 0.5rem;
}

.profile-badge-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    border: 3px solid #ffffff;
    box-shadow: var(--shadow-md);
}

.profile-username {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin: 2rem 0;
    text-align: left;
}

.info-list-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.75rem 1rem;
    background-color: var(--bg-main);
    border-radius: var(--radius-md);
    border: none;
}

.info-list-item i {
    color: var(--text-muted);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Sidebar Overlay & Drawer Toggle Buttons */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(50, 50, 50, 0.4);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.show {
    display: block;
    opacity: 1;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
    outline: none;
}

.sidebar-close-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    margin-left: auto;
    outline: none;
}

@media (max-width: 768px) {
    .dashboard-wrapper {
        flex-direction: column;
    }
    
    .hamburger-btn {
        display: inline-flex;
    }
    
    .sidebar-close-btn {
        display: block;
    }
    
    .sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 280px !important;
        height: 100vh !important;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1050 !important;
        box-shadow: var(--shadow-lg);
        display: flex !important;
        flex-direction: column !important;
        border-right: 1px solid var(--border-soft);
        border-bottom: none !important;
        background-color: #ffffff;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .sidebar-brand {
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-soft);
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: flex-start;
    }
    
    .sidebar-menu {
        flex-direction: column !important;
        overflow-y: auto !important;
        overflow-x: visible !important;
        padding: 1.5rem 1rem !important;
        gap: 0.4rem !important;
        white-space: normal !important;
    }
    
    .sidebar-item a {
        padding: 0.85rem 1.25rem;
        font-size: 0.92rem;
    }
    
    .sidebar-footer {
        display: block !important;
        padding: 1.5rem 2rem !important;
        border-top: 1px solid var(--border-soft);
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .topbar {
        padding: 0 1rem;
        height: auto;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--border-soft);
    }
    
    .topbar-search {
        display: none !important;
    }
    
    .topbar-title {
        font-size: 0.95rem;
        font-weight: 700;
        max-width: 60%;
        line-height: 1.3;
    }

    .user-info {
        display: none !important;
    }

    .user-avatar {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .topbar-user {
        gap: 0.5rem;
    }
    
    .content-body {
        padding: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .customer-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-header {
        padding: 1.25rem 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* Multi-tab Settings Layout */
.settings-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    background-color: #ffffff;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

@media (max-width: 768px) {
    .settings-container {
        grid-template-columns: 1fr;
    }
}

.settings-nav {
    border-right: 1px solid var(--border-soft);
    background-color: #fcfdfe;
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .settings-nav {
        border-right: none;
        border-bottom: 1px solid var(--border-soft);
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        padding: 1rem;
    }
}

.settings-tab-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.settings-tab-link i {
    font-size: 1rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.settings-tab-link:hover {
    background-color: var(--bg-main);
    color: var(--text-primary);
}

.settings-tab-link.active {
    background-color: var(--primary-light);
    color: var(--primary);
}

.settings-tab-link.active i {
    color: var(--primary);
}

.settings-content {
    padding: 2.5rem;
}

@media (max-width: 768px) {
    .settings-content {
        padding: 1.75rem;
    }
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.settings-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-section-title i {
    color: var(--text-muted);
}

/* brand logo box */
.brand-logo-box {
    background-color: var(--primary);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(115, 103, 240, 0.35);
}

/* Dashboard Premium Components */
.dashboard-top-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 1200px) {
    .dashboard-top-row {
        grid-template-columns: 1fr 1fr;
    }
    .analytics-banner-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .dashboard-top-row {
        grid-template-columns: 1fr;
    }
    .analytics-banner-card {
        grid-column: span 1;
    }
}

.analytics-banner-card {
    background-color: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 18px rgba(115, 103, 240, 0.25);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
}

.analytics-banner-content {
    flex: 1;
    z-index: 2;
}

.analytics-banner-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.analytics-banner-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

.analytics-banner-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
    max-width: 320px;
}

.analytics-metric-item {
    display: flex;
    flex-direction: column;
}

.analytics-metric-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.analytics-metric-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
}

.analytics-banner-graphic {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.analytics-banner-graphic img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: floatOrb 6s ease-in-out infinite;
}

@keyframes floatOrb {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.mini-stat-card {
    background-color: #ffffff;
    border: none;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mini-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.mini-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.mini-stat-trend {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.mini-stat-trend.down {
    color: var(--danger);
}

.mini-stat-chart-container {
    height: 55px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-top: 0.75rem;
}

/* Custom CSS Bar Chart */
.custom-bar-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 160px;
    padding-top: 1rem;
}

.custom-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    gap: 0.5rem;
}

.custom-bar-val {
    width: 24px;
    border-radius: 4px;
    background-color: var(--primary-light);
    transition: all 0.3s ease;
}

.custom-bar-col:hover .custom-bar-val {
    background-color: var(--primary);
}

.custom-bar-val.highlighted {
    background-color: var(--primary);
}

.custom-bar-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Gauge circle styling */
.gauge-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
}

.gauge-svg-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
}

.gauge-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.gauge-percentage {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    line-height: 1;
}

.gauge-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
}

.gauge-details {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
}

.gauge-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.gauge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Multikit eCommerce Dashboard Layout */
.dashboard-row-1 {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .dashboard-row-1 {
        grid-template-columns: 1fr;
    }
}

.congrats-card {
    background-color: #ffffff;
    border: none;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

.congrats-text {
    flex: 1;
    z-index: 2;
}

.congrats-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.congrats-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.congrats-badge {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

.congrats-avatar {
    width: 100px;
    height: 150px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: absolute;
    right: 15px;
    bottom: 0;
    z-index: 1;
}

.congrats-avatar img {
    max-height: 100%;
    object-fit: contain;
}

.stats-row-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 1.5rem 0.5rem;
}

@media (max-width: 576px) {
    .stats-row-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        padding-left: 1rem;
    }
}

.stat-horizontal-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-horizontal-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.stat-horizontal-details {
    display: flex;
    flex-direction: column;
}

.stat-horizontal-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-horizontal-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.dashboard-row-2 {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 1200px) {
    .dashboard-row-2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-row-2 {
        grid-template-columns: 1fr;
    }
}

/* Revenue report dikey bars */
.revenue-report-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 200px;
    padding-top: 1.5rem;
}

.revenue-chart-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 0.5rem;
}

.revenue-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 160px;
}

.revenue-bar-purple {
    width: 8px;
    background-color: var(--primary);
    border-radius: 2px 2px 0 0;
}

.revenue-bar-orange {
    width: 8px;
    background-color: var(--warning);
    border-radius: 2px 2px 0 0;
}

@media (max-width: 576px) {
    .revenue-bar-purple, .revenue-bar-orange {
        width: 5px !important;
    }
    .revenue-chart-bars {
        gap: 2px !important;
    }
    .custom-bar-label {
        font-size: 0.65rem !important;
    }
}

code {
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    background-color: var(--bg-main);
    color: var(--primary);
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    border: none;
}

/* =====================================================================
   Shared Panel Components (Admin + Customer)
   ===================================================================== */

/* Page header (title + actions) */
.page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.page-header-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.page-header-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Empty state */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3.5rem 1.5rem;
    color: var(--text-muted);
}

.empty-state-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: var(--bg-main);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.empty-state-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.empty-state-text {
    font-size: 0.86rem;
    max-width: 380px;
    margin-bottom: 1.5rem;
}

/* Copy-to-clipboard key field */
.key-field {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: 0.5rem;
    background-color: var(--bg-main);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.3rem 0.35rem 0.3rem 0.6rem;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
}

.key-field button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.15rem 0.3rem;
    border-radius: 4px;
    font-size: 0.78rem;
    transition: all 0.2s ease;
}

.key-field button:hover {
    background-color: #ffffff;
    color: var(--primary);
}

/* Soft info tiles */
.soft-tile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background-color: var(--bg-main);
    border: none;
    border-radius: var(--radius-md);
}

.soft-tile-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background-color: #ffffff;
    border: none;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.soft-tile-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    overflow-wrap: anywhere;
}

.soft-tile-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Progress bar */
.progress {
    height: 7px;
    background-color: var(--bg-main);
    border-radius: 50px;
    overflow: hidden;
    border: none;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary);
    border-radius: 50px;
    transition: width 0.4s ease;
}

.progress-bar.success { background-color: var(--success); }
.progress-bar.warning { background-color: var(--warning); }
.progress-bar.danger  { background-color: var(--danger); }

/* Plan / pricing card inside panels */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
}

.plan-card {
    background-color: var(--bg-card);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.plan-card.featured {
    border: 1.5px solid var(--primary);
}

.plan-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(115, 103, 240, 0.35);
    white-space: nowrap;
}

.plan-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 1.25rem;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.plan-desc {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.plan-price {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    line-height: 1;
}

.plan-price small {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.plan-period {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0.4rem 0 1.5rem;
}

.plan-features {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.plan-features li i {
    color: var(--success);
    font-size: 0.8rem;
}

/* Timeline (payments / activity) */
.timeline {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 6px;
    bottom: 6px;
    width: 1.5px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 5px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2.5px solid var(--primary);
}

.timeline-item.success::before { border-color: var(--success); }
.timeline-item.danger::before  { border-color: var(--danger); }
.timeline-item.warning::before { border-color: var(--warning); }

.timeline-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ---------------------------------------------------------------------
   Grid taşma koruması
   Grid/flex öğeleri varsayılan olarak min-width:auto'dur; içinde geniş bir
   tablo olduğunda hücre içeriğe göre şişer ve tüm sayfa yatay kayar.
   min-width:0 ile tablo kendi kartı içinde kaydırılır, sayfa sabit kalır.
   --------------------------------------------------------------------- */
.form-row > *,
.stats-grid > *,
.plan-grid > *,
.dashboard-row-1 > *,
.dashboard-row-2 > *,
.customer-detail-grid > *,
.settings-container > * {
    min-width: 0;
}

/* Sayfalama */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.page-link {
    min-width: 36px;
    height: 36px;
    padding: 0 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-premium);
    transition: all 0.2s ease;
}

a.page-link:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.page-link.active {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(115, 103, 240, 0.35);
}

.page-link.disabled {
    opacity: 0.4;
    box-shadow: none;
}

.page-link.dots {
    background: none;
    box-shadow: none;
    color: var(--text-muted);
}

/* Kullanım raporu sütun grafiği */
.usage-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 220px;
    /* yatay boşluk: uçtaki gün etiketleri kırpılmasın */
    padding: 1rem 1.25rem 0;
    overflow-x: auto;
}

.usage-chart-col {
    flex: 1 1 0;
    min-width: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}

.usage-chart-bar {
    width: 100%;
    max-width: 26px;
    background-color: var(--primary-light);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: background-color 0.2s ease;
    cursor: default;
}

.usage-chart-col:hover .usage-chart-bar {
    background-color: var(--primary);
}

.usage-chart-tip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-primary);
    background-color: #ffffff;
    box-shadow: var(--shadow-md);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    white-space: nowrap;
}

.usage-chart-col:hover .usage-chart-tip {
    opacity: 1;
}

.usage-chart-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Customer panel welcome banner */
.welcome-banner {
    background-color: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    box-shadow: 0 4px 18px rgba(115, 103, 240, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.welcome-banner::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
}

.welcome-banner-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
}

.welcome-banner-text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    line-height: 1.6;
}

.welcome-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    z-index: 2;
}

.btn-on-primary {
    background-color: #ffffff;
    color: var(--primary);
}

.btn-on-primary:hover {
    background-color: #f4f3ff;
    color: var(--primary-hover);
}

.btn-ghost-light {
    background-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.btn-ghost-light:hover {
    background-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

/* =====================================================================
   Public Site (Landing) - same design language as the panels
   ===================================================================== */

.site-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.site-brand:hover {
    color: var(--text-primary);
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.site-nav-links a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.site-nav-links a:hover {
    color: var(--primary);
}

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

.site-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.35rem 0.5rem;
}

/* Hero */
.hero {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-soft);
    background-image: radial-gradient(#eceaf3 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    padding: 5.5rem 2rem 5rem;
}

.hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3.5rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-light);
    border: 1px solid #e2dffc;
    color: var(--primary);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.12;
    margin-bottom: 1.25rem;
}

.hero h1 em {
    font-style: normal;
    color: var(--primary);
}

.hero-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-meta {
    display: flex;
    gap: 2.25rem;
    flex-wrap: wrap;
}

.hero-meta-value {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.1;
}

.hero-meta-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Hero mock app window */
.hero-mock {
    background-color: #ffffff;
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-mock-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1.1rem;
    background-color: #fcfdfe;
    border-bottom: 1px solid var(--border-soft);
}

.hero-mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-dark);
}

.hero-mock-title {
    margin-left: 0.65rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted);
}

.hero-mock-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-mock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: var(--radius-md);
    background-color: var(--bg-main);
}

.hero-mock-label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-mock-label i {
    color: var(--primary);
}

/* Logos / trust strip */
.trust-strip {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-soft);
    padding: 1.75rem 2rem;
}

.trust-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.trust-item i {
    color: var(--success);
}

/* Generic site sections */
.site-section {
    padding: 5rem 2rem;
    max-width: 1180px;
    margin: 0 auto;
}

.site-section.alt {
    max-width: none;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.site-section.alt > * {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.25rem;
}

.section-head h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.85rem;
}

.section-head p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Feature cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background-color: #ffffff;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    padding: 2rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.35rem;
    background-color: var(--primary-light);
    color: var(--primary);
}

.feature-icon.success { background-color: var(--success-light); color: var(--success); }
.feature-icon.warning { background-color: var(--warning-light); color: var(--warning); }
.feature-icon.info    { background-color: var(--info-light); color: var(--info); }
.feature-icon.danger  { background-color: var(--danger-light); color: var(--danger); }
.feature-icon.purple  { background-color: var(--purple-light); color: var(--purple); }

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* Steps */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background-color: #ffffff;
    border: none;
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-number {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: var(--text-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.step-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #ffffff;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\002B';
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: '\2212';
}

.faq-body {
    padding: 0 1.5rem 1.35rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA band */
.cta-band {
    max-width: 1180px;
    margin: 0 auto 5rem;
    background-color: var(--primary);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(115, 103, 240, 0.28);
    position: relative;
    overflow: hidden;
}

.cta-band::before,
.cta-band::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
}

.cta-band::before { width: 260px; height: 260px; left: -80px; bottom: -120px; }
.cta-band::after  { width: 200px; height: 200px; right: -60px; top: -90px; }

.cta-band h2 {
    color: #ffffff;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.98rem;
    max-width: 560px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* Footer */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border-soft);
    padding: 3.5rem 2rem 2rem;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-about {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 320px;
    margin-top: 1rem;
}

.footer-col-title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-col a,
.footer-col li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1180px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 1px solid var(--border-soft);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1.5rem 1.25rem;
        box-shadow: var(--shadow-md);
    }
    .site-nav-links.show {
        display: flex;
    }
    .site-nav-links a {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border-soft);
    }
    .site-nav-toggle {
        display: inline-flex;
    }
    .site-header {
        position: relative;
    }
    .hero {
        padding: 3.5rem 1.25rem;
    }
    .hero h1 {
        font-size: 2.1rem;
    }
    .site-section {
        padding: 3.5rem 1.25rem;
    }
    .section-head h2 {
        font-size: 1.6rem;
    }
    .cta-band {
        padding: 2.25rem 1.5rem;
        margin: 0 1.25rem 3.5rem;
    }
    .cta-band h2 {
        font-size: 1.45rem;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .welcome-banner {
        padding: 1.5rem;
    }
    .welcome-banner-title {
        font-size: 1.15rem;
    }
    .page-header {
        align-items: flex-start;
    }
}









/* =====================================================================
   DAR MASAÜSTÜ DÜZENİ (son sözü bu blok söylemeli)
   Bu kurallar, yukarıdaki .dashboard-row-2 / .form-row tanımlarını ve
   1200px kırılımını geçersiz kılmak için dosyanın SONUNDA durmalıdır;
   CSS'te aynı özgüllükte son kural kazanır.
   ===================================================================== */
@media (max-width: 1100px) {
    /* Bu genişlikte iki sütun aşırı sıkışıyor: grafikler ve tablolar okunmuyor */
    .dashboard-row-1,
    .dashboard-row-2,
    .form-row,
    .customer-detail-grid,
    .settings-container {
        grid-template-columns: 1fr;
    }

    .settings-nav {
        border-right: none;
        border-bottom: 1px solid var(--border-soft);
    }
}
/* Customer commerce surfaces */
.commerce-shell { display: grid; gap: 1.5rem; }
.commerce-hero {
    position: relative; overflow: hidden; display: flex; align-items: center;
    justify-content: space-between; gap: 2rem; min-height: 190px; padding: 2.25rem;
    border-radius: 24px; color: #fff;
    background: linear-gradient(135deg, #1d174c 0%, #5146c9 58%, #8b7cf6 100%);
    box-shadow: 0 24px 55px rgba(67, 56, 202, .2);
}
.commerce-hero::after {
    content: ""; position: absolute; width: 260px; height: 260px; right: -65px; top: -100px;
    border-radius: 50%; border: 45px solid rgba(255,255,255,.09);
}
.commerce-hero-content { position: relative; z-index: 1; max-width: 650px; }
.commerce-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
    padding: .45rem .75rem; border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px; background: rgba(255,255,255,.1); font-size: .72rem;
    font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.commerce-hero h1 { margin: 0 0 .65rem; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.12; }
.commerce-hero p { margin: 0; color: rgba(255,255,255,.76); line-height: 1.7; max-width: 580px; }
.commerce-hero-icon {
    position: relative; z-index: 1; flex: 0 0 108px; width: 108px; height: 108px;
    display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18);
    border-radius: 30px; background: rgba(255,255,255,.11); backdrop-filter: blur(12px);
    font-size: 2.6rem; transform: rotate(4deg);
}
.commerce-section { padding: 1.6rem; border: 1px solid #e8e8f2; border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(30, 30, 70, .05); }
.commerce-section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.commerce-section-title { display: flex; align-items: center; gap: .8rem; margin: 0; font-size: 1.05rem; font-weight: 800; color: #25233c; }
.commerce-step {
    display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px;
    color: #fff; background: var(--primary); font-size: .78rem; box-shadow: 0 7px 16px rgba(115,103,240,.25);
}
.commerce-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 1rem; }
.product-option { position: relative; display: block; cursor: pointer; }
.product-option input { position: absolute; opacity: 0; pointer-events: none; }
.product-card {
    height: 100%; padding: 1.35rem; border: 1.5px solid #ececf4; border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #fbfbfe 100%); transition: .22s ease;
}
.product-option:hover .product-card { transform: translateY(-4px); border-color: #c9c4fb; box-shadow: 0 16px 32px rgba(75,65,180,.1); }
.product-option input:checked + .product-card { border-color: var(--primary); background: #f7f6ff; box-shadow: 0 0 0 4px rgba(115,103,240,.1), 0 18px 35px rgba(75,65,180,.12); }
.product-check {
    position: absolute; right: 1rem; top: 1rem; display: grid; place-items: center;
    width: 25px; height: 25px; border: 1.5px solid #d9d8e6; border-radius: 50%; color: transparent; background: #fff;
}
.product-option input:checked + .product-card .product-check { color: #fff; border-color: var(--primary); background: var(--primary); }
.product-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; color: var(--primary); background: var(--primary-light); font-size: 1.05rem; }
.product-name { margin-top: 1rem; padding-right: 2rem; font-size: 1rem; font-weight: 800; color: #26243d; }
.product-price { margin-top: .8rem; font-size: 1.8rem; line-height: 1; font-weight: 800; letter-spacing: -.04em; color: #19172d; }
.product-price small { font-size: .72rem; letter-spacing: 0; color: #8a879d; }
.product-meta { margin-top: .65rem; color: #6f6c82; font-size: .82rem; line-height: 1.55; }
.product-pill { display: inline-flex; margin-top: .9rem; padding: .35rem .65rem; border-radius: 999px; color: #5c52ce; background: #eeecff; font-size: .7rem; font-weight: 800; }
.payment-card { display: flex; gap: 1rem; align-items: flex-start; }
.payment-card .product-icon { flex: 0 0 45px; }
.payment-detail { min-width: 0; }
.payment-code { display: block; margin-top: .45rem; padding: .55rem .65rem; border-radius: 9px; background: #f3f3f8; color: #454259; font-size: .75rem; word-break: break-all; }
.commerce-actions { display: flex; justify-content: flex-end; padding-top: 1.25rem; }
.commerce-submit { min-width: 220px; min-height: 48px; border-radius: 12px; font-weight: 800; }
.license-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.15rem; }
.license-plan {
    position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 410px;
    padding: 1.6rem; border: 1px solid #e9e8f2; border-radius: 22px; background: #fff;
    box-shadow: 0 10px 30px rgba(30,30,70,.06); transition: .22s ease;
}
.license-plan:hover { transform: translateY(-5px); box-shadow: 0 22px 42px rgba(40,35,100,.11); }
.license-plan.featured { color: #fff; border: 0; background: linear-gradient(155deg, #2b245e 0%, #5b50d5 100%); }
.license-badge { position: absolute; right: 1rem; top: 1rem; padding: .4rem .7rem; border-radius: 999px; color: #554bc9; background: #efedff; font-size: .68rem; font-weight: 800; }
.license-plan.featured .license-badge { color: #fff; background: rgba(255,255,255,.14); }
.license-plan .product-icon { margin-bottom: 1.1rem; }
.license-plan.featured .product-icon { color: #fff; background: rgba(255,255,255,.13); }
.license-plan h3 { margin: 0; font-size: 1.1rem; }
.license-plan-desc { min-height: 44px; margin: .55rem 0 1.1rem; color: #7a778b; font-size: .82rem; line-height: 1.55; }
.license-plan.featured .license-plan-desc { color: rgba(255,255,255,.7); }
.license-price { font-size: 2.15rem; font-weight: 800; letter-spacing: -.05em; }
.license-price small { font-size: .72rem; letter-spacing: 0; opacity: .65; }
.license-period { margin-top: .35rem; font-size: .75rem; opacity: .68; }
.license-features { display: grid; gap: .75rem; margin: 1.35rem 0; padding: 1.2rem 0; list-style: none; border-top: 1px solid #ecebf3; }
.license-plan.featured .license-features { border-color: rgba(255,255,255,.14); }
.license-features li { display: flex; gap: .65rem; align-items: center; font-size: .8rem; }
.license-features i { color: #37bd88; }
.license-plan.featured .license-features i { color: #8df0c8; }
.license-plan .btn { margin-top: auto; min-height: 44px; border-radius: 11px; }
.license-plan.featured .btn { color: #4d43bd; border-color: #fff; background: #fff; }
.resource-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 1rem; }
.quota-card { overflow: hidden; border: 1px solid #e9e8f2; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(30,30,70,.05); }
.quota-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.35rem; border-bottom: 1px solid #efeff5; }
.quota-title { display: flex; align-items: center; gap: .75rem; font-weight: 800; }
.quota-body { padding: 1.35rem; }
.quota-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.quota-metric { padding: .85rem .65rem; border-radius: 13px; background: #f7f7fb; text-align: center; }
.quota-metric span { display: block; margin-bottom: .3rem; color: #8a8798; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.quota-metric strong { font-size: .95rem; color: #29263e; }
.quota-track { height: 9px; margin-top: 1rem; overflow: hidden; border-radius: 999px; background: #ecebf4; }
.quota-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7367f0, #9c8cff); }
.resource-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: .85rem; }
.credential-card { padding: 1.1rem; border: 1px solid #e9e8f2; border-radius: 16px; background: #fbfbfe; }
.credential-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.credential-value { display: block; margin-top: .8rem; padding: .7rem; border-radius: 10px; color: #37344a; background: #f0eff7; word-break: break-all; }
@media (max-width: 720px) {
    .commerce-hero { min-height: 0; padding: 1.5rem; border-radius: 18px; }
    .commerce-hero-icon { display: none; }
    .commerce-section { padding: 1rem; border-radius: 16px; }
    .commerce-grid, .license-grid, .resource-overview, .resource-list { grid-template-columns: 1fr; }
    .commerce-actions .btn { width: 100%; }
    .quota-metrics { grid-template-columns: 1fr; }
}

/* Customer package pages — calm, structured, gradient-free */
.commerce-shell {
    --commerce-ink: #17202e;
    --commerce-muted: #667085;
    --commerce-line: #e4e7ec;
    --commerce-soft: #f7f8fa;
    --commerce-accent: #6558d9;
    gap: 1.25rem;
}
.commerce-hero {
    min-height: auto;
    padding: 1.75rem 2rem;
    color: var(--commerce-ink);
    border: 1px solid var(--commerce-line);
    border-left: 5px solid var(--commerce-accent);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.commerce-hero::after { display: none; }
.commerce-hero-content { max-width: 720px; }
.commerce-eyebrow {
    margin-bottom: .7rem;
    padding: 0;
    color: var(--commerce-accent);
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: .7rem;
}
.commerce-hero h1 {
    margin-bottom: .45rem;
    color: var(--commerce-ink);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.2;
    letter-spacing: -.035em;
}
.commerce-hero h1 br { display: none; }
.commerce-hero p {
    max-width: 680px;
    color: var(--commerce-muted);
    font-size: .88rem;
    line-height: 1.65;
}
.commerce-hero-icon {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
    color: var(--commerce-accent);
    border: 1px solid #dedbf7;
    border-radius: 12px;
    background: #f4f2ff;
    backdrop-filter: none;
    font-size: 1.45rem;
    transform: none;
}
.commerce-section {
    padding: 1.35rem;
    border-color: var(--commerce-line);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.commerce-section-head {
    margin-bottom: 1rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid #eef0f3;
}
.commerce-section-head > small { color: var(--commerce-muted); font-weight: 600; }
.commerce-section-title { color: var(--commerce-ink); font-size: .98rem; }
.commerce-step {
    width: 28px;
    height: 28px;
    color: var(--commerce-accent);
    border: 1px solid #dedbf7;
    border-radius: 8px;
    background: #f4f2ff;
    box-shadow: none;
}
.commerce-grid { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: .85rem; }
.product-card {
    padding: 1.15rem;
    border: 1px solid var(--commerce-line);
    border-radius: 12px;
    background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.product-option:hover .product-card {
    transform: none;
    border-color: #b7b1e9;
    box-shadow: 0 4px 12px rgba(16, 24, 40, .06);
}
.product-option input:focus-visible + .product-card {
    outline: 3px solid rgba(101, 88, 217, .18);
    outline-offset: 2px;
}
.product-option input:checked + .product-card {
    border-color: var(--commerce-accent);
    background: #faf9ff;
    box-shadow: 0 0 0 2px rgba(101, 88, 217, .1);
}
.product-check {
    width: 22px;
    height: 22px;
    border-radius: 7px;
}
.product-option input:checked + .product-card .product-check {
    border-color: var(--commerce-accent);
    background: var(--commerce-accent);
}
.product-icon {
    width: 40px;
    height: 40px;
    color: var(--commerce-accent);
    border: 1px solid #e3e0f8;
    border-radius: 10px;
    background: #f5f3ff;
    font-size: .95rem;
}
.product-name { margin-top: .8rem; color: var(--commerce-ink); }
.product-price { margin-top: .65rem; color: var(--commerce-ink); font-size: 1.55rem; }
.product-meta { color: var(--commerce-muted); }
.product-pill {
    color: #4f46a8;
    border: 1px solid #dedbf7;
    border-radius: 7px;
    background: #f5f3ff;
}
.payment-card { min-height: 126px; }
.payment-code {
    border: 1px solid #e8eaee;
    border-radius: 7px;
    background: var(--commerce-soft);
}
.commerce-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eef0f3;
}
.commerce-submit { border-radius: 9px; }

.license-grid { gap: .9rem; }
.license-plan,
.license-plan.featured {
    min-height: 390px;
    padding: 1.35rem;
    color: var(--commerce-ink);
    border: 1px solid var(--commerce-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.license-plan.featured { border-top: 4px solid var(--commerce-accent); }
.license-plan:hover {
    transform: none;
    border-color: #c9c5e9;
    box-shadow: 0 6px 18px rgba(16, 24, 40, .07);
}
.license-badge,
.license-plan.featured .license-badge {
    color: #4f46a8;
    border: 1px solid #dedbf7;
    border-radius: 7px;
    background: #f5f3ff;
}
.license-plan.featured .product-icon { color: var(--commerce-accent); background: #f5f3ff; }
.license-plan h3 { color: var(--commerce-ink); }
.license-plan-desc,
.license-plan.featured .license-plan-desc { color: var(--commerce-muted); }
.license-price,
.license-plan.featured .license-price { color: var(--commerce-ink); }
.license-period,
.license-plan.featured .license-period { color: var(--commerce-muted); opacity: 1; }
.license-features,
.license-plan.featured .license-features { border-color: #eceef2; }
.license-features li,
.license-plan.featured .license-features li { color: #475467; }
.license-features i,
.license-plan.featured .license-features i { color: #16a36a; }
.license-plan .btn,
.license-plan.featured .btn {
    min-height: 42px;
    color: #fff;
    border-color: var(--commerce-accent);
    border-radius: 9px;
    background: var(--commerce-accent);
}

.resource-overview { gap: .9rem; }
.quota-card {
    border-color: var(--commerce-line);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.quota-top { padding: 1rem 1.1rem; border-color: #eef0f3; }
.quota-body { padding: 1.1rem; }
.quota-metric {
    padding: .75rem .55rem;
    border: 1px solid #eceef2;
    border-radius: 9px;
    background: var(--commerce-soft);
}
.quota-metric span { color: var(--commerce-muted); }
.quota-metric strong { color: var(--commerce-ink); }
.quota-track { height: 7px; background: #e8eaf0; }
.quota-fill { background: var(--commerce-accent); }
.resource-list { gap: .75rem; }
.credential-card {
    border-color: var(--commerce-line);
    border-radius: 12px;
    background: #fff;
}
.credential-value {
    border: 1px solid #e8eaee;
    border-radius: 8px;
    background: var(--commerce-soft);
}

@media (max-width: 720px) {
    .commerce-hero { padding: 1.25rem; border-radius: 12px; }
    .commerce-section { padding: 1rem; border-radius: 12px; }
    .commerce-section-head { align-items: flex-start; }
    .license-plan, .license-plan.featured { min-height: auto; }
}
