:root {
    --customer-bg: #f7f9fc;
    --customer-surface: rgba(255, 255, 255, 0.94);
    --customer-border: rgba(15, 23, 42, 0.08);
    --customer-text: #0f172a;
    --customer-muted: #64748b;
    --customer-primary: #2563eb;
    --customer-primary-soft: rgba(37, 99, 235, 0.12);
    --customer-success: #0f9f6e;
    --customer-success-soft: rgba(15, 159, 110, 0.12);
    --customer-warning: #d97706;
    --customer-warning-soft: rgba(217, 119, 6, 0.12);
    --customer-danger: #dc2626;
    --customer-danger-soft: rgba(220, 38, 38, 0.12);
    --customer-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --customer-sidebar-width: 258px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: var(--customer-text);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 34%),
        radial-gradient(circle at bottom right, rgba(15, 159, 110, 0.08), transparent 28%),
        var(--customer-bg);
}

a {
    text-decoration: none;
}

.customer-body {
    min-height: 100vh;
}

.customer-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--customer-sidebar-width);
    padding: 1.4rem 1rem;
    background: rgba(255, 255, 255, 0.86);
    border-right: 1px solid rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    z-index: 1040;
    transition: transform 0.28s ease;
}

.customer-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--customer-text);
}

.customer-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.2);
}

.customer-brand small,
.mini-label,
.customer-page-eyebrow,
.customer-topbar-label {
    display: block;
    color: var(--customer-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 700;
}

.customer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.customer-nav-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    color: #334155;
    font-weight: 600;
}

.customer-nav-link:hover,
.customer-nav-link.is-active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--customer-primary);
}

.customer-sidebar-card {
    margin-top: auto;
    padding: 1.15rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.customer-sidebar-card h6 {
    margin: 0.45rem 0;
    font-weight: 800;
}

.customer-sidebar-card p {
    color: var(--customer-muted);
    line-height: 1.65;
    font-size: 0.92rem;
}

.customer-shell {
    margin-left: var(--customer-sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.customer-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: rgba(247, 249, 252, 0.82);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(16px);
}

.customer-topbar-title {
    font-size: 1.15rem;
    font-weight: 800;
}

.customer-topbar-subtitle {
    color: var(--customer-muted);
    font-size: 0.92rem;
}

.customer-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.customer-search {
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--customer-border);
    background: rgba(255, 255, 255, 0.88);
}

.customer-search input,
.customer-filter-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
}

.customer-soft-btn,
.customer-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 700;
}

.customer-soft-btn {
    background: var(--customer-primary-soft);
    color: var(--customer-primary);
}

.customer-logout-btn {
    background: rgba(15, 23, 42, 0.06);
    color: #334155;
}

.customer-icon-btn {
    width: 42px;
    height: 42px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88);
    border-color: var(--customer-border);
}

.customer-user-chip {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.35rem 0.7rem 0.35rem 0.4rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--customer-border);
    border-radius: 999px;
}

.customer-user-chip small {
    color: var(--customer-muted);
    display: block;
}

.customer-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f766e, #2563eb);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.customer-content {
    flex: 1;
    padding: 1.4rem 0 2rem;
}

.customer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.4rem 1.5rem;
    color: var(--customer-muted);
    font-size: 0.9rem;
}

.customer-footer-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.customer-page-header,
.customer-card,
.customer-table-card,
.customer-auth-panel,
.customer-auth-promo {
    background: var(--customer-surface);
    border: 1px solid var(--customer-border);
    border-radius: 26px;
    box-shadow: var(--customer-shadow);
}

.customer-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 1.5rem;
    margin-bottom: 1.5rem;
}

.customer-page-title {
    margin: 0.25rem 0 0.45rem;
    font-size: clamp(1.45rem, 2.7vw, 2.1rem);
    font-weight: 800;
}

.customer-page-description {
    margin: 0;
    color: var(--customer-muted);
    max-width: 760px;
    line-height: 1.7;
}

.customer-page-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.customer-stat {
    position: relative;
    padding: 1.25rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--customer-border);
    box-shadow: var(--customer-shadow);
    min-height: 100%;
}

.customer-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 0.95rem;
}

.customer-stat-primary .customer-stat-icon {
    color: var(--customer-primary);
    background: var(--customer-primary-soft);
}

.customer-stat-success .customer-stat-icon {
    color: var(--customer-success);
    background: var(--customer-success-soft);
}

.customer-stat-warning .customer-stat-icon {
    color: var(--customer-warning);
    background: var(--customer-warning-soft);
}

.customer-stat-danger .customer-stat-icon {
    color: var(--customer-danger);
    background: var(--customer-danger-soft);
}

.customer-stat-info .customer-stat-icon {
    color: #0891b2;
    background: rgba(8, 145, 178, 0.12);
}

.customer-stat-value {
    font-size: 1.7rem;
    font-weight: 800;
}

.customer-stat-label {
    color: var(--customer-muted);
    font-weight: 600;
    margin-top: 0.15rem;
}

.customer-stat-meta {
    margin-top: 0.7rem;
    font-size: 0.86rem;
    color: var(--customer-muted);
}

.dashboard-summary-row .customer-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dashboard-summary-row .customer-stat-icon {
    margin-bottom: 0.85rem;
}

.customer-card,
.customer-table-card {
    padding: 1.3rem;
}

.customer-card-tight {
    padding: 1.05rem 1.05rem 0.8rem;
}

.customer-card-tight .customer-section-title {
    margin-bottom: 0.8rem;
}

.customer-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.customer-section-title h5 {
    margin: 0;
    font-weight: 800;
}

.customer-section-title p {
    margin: 0.35rem 0 0;
    color: var(--customer-muted);
}

.customer-filter-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.95rem;
    border-radius: 22px;
    background: rgba(248, 250, 252, 0.84);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.customer-filter-search {
    flex: 1 1 260px;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 0.95rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.customer-filter-groups {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.customer-filter-groups .form-select {
    min-width: 160px;
    border-radius: 14px;
    border-color: rgba(15, 23, 42, 0.08);
    padding: 0.78rem 0.9rem;
}

.customer-inline-select {
    min-width: 150px;
    border-radius: 12px;
    border-color: rgba(15, 23, 42, 0.08);
}

.customer-filter-actions {
    margin-left: auto;
}

.customer-filter-bar-compact {
    gap: 0.55rem;
    padding: 0.7rem;
    border-radius: 18px;
}

.customer-filter-bar-compact .customer-filter-search {
    flex: 1 1 220px;
    min-width: 200px;
    gap: 0.55rem;
    padding: 0.65rem 0.8rem;
    border-radius: 14px;
}

.customer-filter-bar-compact .customer-filter-groups {
    gap: 0.5rem;
}

.customer-filter-bar-compact .customer-filter-groups .form-select {
    min-width: 136px;
    padding: 0.62rem 0.78rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.customer-soft-btn-compact {
    padding: 0.62rem 0.85rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.customer-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.customer-status.is-primary {
    background: var(--customer-primary-soft);
    color: var(--customer-primary);
}

.customer-status.is-warning {
    background: var(--customer-warning-soft);
    color: var(--customer-warning);
}

.customer-status.is-success {
    background: var(--customer-success-soft);
    color: var(--customer-success);
}

.customer-status.is-danger {
    background: var(--customer-danger-soft);
    color: var(--customer-danger);
}

.customer-status.is-muted,
.customer-status.is-default {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

.customer-table thead th {
    color: var(--customer-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-top: 0;
    padding-bottom: 0.9rem;
}

.customer-table td,
.customer-table th {
    vertical-align: middle;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.customer-date-cell {
    display: inline-grid;
    gap: 0.12rem;
    white-space: nowrap;
}

.customer-date-cell strong {
    font-size: 0.96rem;
    line-height: 1.1;
}

.customer-date-cell span {
    font-size: 0.82rem;
    color: var(--customer-muted);
    line-height: 1.1;
}

.customer-table tbody tr:last-child td {
    border-bottom: 0;
}

.customer-soft-list {
    display: grid;
    gap: 0.8rem;
}

.customer-soft-item {
    display: flex;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.customer-soft-item strong {
    display: block;
}

.customer-soft-item span,
.customer-muted {
    color: var(--customer-muted);
}

.customer-soft-list-compact {
    gap: 0.65rem;
}

.customer-soft-item-compact {
    align-items: center;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
}

.customer-soft-item-compact strong {
    font-size: 0.98rem;
    line-height: 1.2;
}

.customer-soft-item-compact span {
    font-size: 0.92rem;
    line-height: 1.45;
}

.customer-status-compact {
    padding: 0.35rem 0.65rem;
    font-size: 0.74rem;
    white-space: nowrap;
}

.customer-chart {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.65rem;
    align-items: end;
    min-height: 230px;
}

.customer-chart-bar {
    text-align: center;
}

.customer-chart-track {
    height: 180px;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 0.45rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.08), rgba(148, 163, 184, 0.02));
}

.customer-chart-fill {
    width: 100%;
    border-radius: 14px 14px 8px 8px;
    background: linear-gradient(180deg, #38bdf8, #2563eb);
}

.customer-chart-label {
    margin-top: 0.65rem;
    font-weight: 700;
}

.customer-chart-value {
    font-size: 0.82rem;
    color: var(--customer-muted);
}

.customer-highlight {
    padding: 1.35rem;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 35%),
        linear-gradient(135deg, #eff6ff, #ffffff 65%);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.customer-highlight h4 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.customer-highlight p {
    margin: 0.85rem 0 0;
    color: var(--customer-muted);
    line-height: 1.75;
}

.customer-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.customer-info-item {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.customer-info-item label {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--customer-muted);
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.customer-info-item strong,
.customer-info-item span {
    display: block;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.customer-code {
    width: 100%;
    min-height: 94px;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #0f172a;
    color: #e2e8f0;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.85rem;
}

.customer-note-box {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.customer-choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.customer-choice {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    border-radius: 999px;
    padding: 0.72rem 0.95rem;
    font-size: 0.84rem;
    font-weight: 700;
}

.customer-choice.is-active {
    background: var(--customer-primary-soft);
    color: var(--customer-primary);
    border-color: rgba(37, 99, 235, 0.16);
}

.customer-site-card {
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--customer-shadow);
}

.customer-site-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
}

.customer-site-card h5 {
    margin: 0;
    font-weight: 800;
    font-size: 1.02rem;
}

.customer-site-card p {
    margin: 0.3rem 0 0;
    color: var(--customer-muted);
    font-size: 0.9rem;
}

.customer-site-domain {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-site-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.9rem;
}

.customer-site-meta-item {
    padding: 0.8rem 0.85rem;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.customer-site-meta-item label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--customer-muted);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.customer-site-meta-item strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.35;
}

.customer-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.customer-switch-indicator {
    position: relative;
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
}

.customer-switch-indicator::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.customer-switch.is-on .customer-switch-indicator {
    background: rgba(37, 99, 235, 0.3);
}

.customer-switch.is-on .customer-switch-indicator::after {
    left: 24px;
}

.customer-auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.customer-auth-shell {
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 420px);
    gap: 1.2rem;
}

.customer-auth-shell.customer-auth-shell-simple {
    width: min(420px, 100%);
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
}

.customer-auth-promo,
.customer-auth-panel {
    padding: 1.8rem;
}

.customer-auth-promo {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 35%),
        linear-gradient(135deg, #ffffff, #eff6ff 42%, #f0fdf4);
}

.customer-auth-promo h1 {
    margin: 0.85rem 0;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
}

.customer-auth-promo p {
    margin: 0;
    color: var(--customer-muted);
    line-height: 1.78;
}

.customer-auth-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.customer-auth-stat {
    padding: 0.95rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.customer-auth-stat strong {
    display: block;
    font-size: 1.3rem;
}

.customer-auth-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.customer-auth-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.8rem 0.95rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.customer-auth-panel .form-control,
.customer-auth-panel .form-select,
.customer-card .form-control,
.customer-card .form-select,
.customer-table-card .form-control,
.customer-table-card .form-select {
    border-radius: 16px;
    padding: 0.85rem 1rem;
    border-color: rgba(15, 23, 42, 0.1);
}

.customer-auth-panel .form-control:focus,
.customer-card .form-control:focus,
.customer-card .form-select:focus,
.customer-table-card .form-control:focus,
.customer-table-card .form-select:focus {
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.12);
}

.customer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 1035;
}

.customer-toast-stack {
    position: fixed;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 1080;
    display: grid;
    gap: 0.7rem;
}

.customer-toast {
    min-width: 280px;
    max-width: 360px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.94);
    color: #fff;
    box-shadow: 0 22px 36px rgba(15, 23, 42, 0.24);
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.customer-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.customer-toast.is-success {
    background: linear-gradient(135deg, #0f766e, #0f9f6e);
}

.customer-toast.is-warning {
    background: linear-gradient(135deg, #b45309, #d97706);
}

.customer-toast.is-info {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.customer-toast-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    flex-shrink: 0;
}

.customer-toast-text {
    font-weight: 700;
    line-height: 1.45;
}

.customer-form-card {
    padding: 1.35rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--customer-shadow);
    min-height: 100%;
}

.customer-form-card-compact {
    padding: 1rem 1.05rem;
    border-radius: 20px;
}

.customer-form-card-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.customer-form-card-eyebrow {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--customer-muted);
    font-weight: 700;
}

.customer-form-card h5 {
    margin: 0.35rem 0 0.4rem;
    font-weight: 800;
    font-size: 1.04rem;
}

.customer-form-card p {
    margin: 0;
    color: var(--customer-muted);
    font-size: 0.92rem;
}

.customer-form-note {
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.14);
}

.customer-form-note strong {
    display: block;
    margin-bottom: 0.28rem;
    font-size: 0.9rem;
    font-weight: 800;
    color: #9a3412;
}

.customer-form-note span {
    display: block;
    color: #7c2d12;
    font-size: 0.88rem;
    line-height: 1.55;
}

.customer-form-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.customer-form-meta {
    padding: 0.78rem 0.82rem;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.customer-form-meta label {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--customer-muted);
    font-weight: 700;
    margin-bottom: 0.32rem;
}

.customer-form-meta strong {
    display: block;
    font-size: 0.94rem;
    line-height: 1.4;
}

.customer-form-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.customer-form-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.62rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--customer-primary);
    font-size: 0.76rem;
    font-weight: 700;
}

.customer-form-actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-top: 0.9rem;
}

.customer-outline-btn-compact {
    padding: 0.62rem 0.8rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.customer-mini-form-preview {
    padding: 1.15rem;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.customer-mini-form-preview h6 {
    margin: 0 0 0.55rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.customer-mini-form-preview p {
    color: var(--customer-muted);
    line-height: 1.7;
}

.customer-mini-form-input {
    margin-top: 0.75rem;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #475569;
}

.customer-mini-form-button {
    margin-top: 1rem;
    width: 100%;
    border: 0;
    border-radius: 16px;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #fff;
    font-weight: 800;
}

.customer-embed-card {
    padding: 1rem;
    border-radius: 22px;
    background: rgba(248, 250, 252, 0.86);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.customer-embed-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.75rem;
}

.customer-form-designer {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.customer-form-designer-panel,
.customer-form-preview-panel {
    min-width: 0;
}

.customer-create-stack {
    display: grid;
    gap: 1rem;
}

.customer-create-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 1.25rem;
}

.customer-theme-note {
    padding: 0.8rem 0.95rem;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: #64748b;
    line-height: 1.6;
}

.customer-create-preview-card {
    max-width: 680px;
    margin: 0 auto;
}

.customer-create-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.customer-create-summary-item {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.customer-create-summary-item span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.customer-create-summary-item strong {
    display: block;
    color: var(--customer-text);
    line-height: 1.45;
}

.customer-create-note {
    margin-top: 1rem;
}

.customer-create-field-editor {
    display: grid;
    gap: 1rem;
}

.customer-field-editor-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.customer-field-editor-meta strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--customer-text);
}

.customer-field-editor-meta span {
    color: #64748b;
    line-height: 1.6;
}

.customer-field-editor-layout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--customer-primary);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.customer-field-editor-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.customer-field-add-select {
    min-width: 180px;
    max-width: 200px;
}

.customer-field-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.customer-field-editor-list {
    display: grid;
    gap: 0.85rem;
}

.customer-field-row {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.customer-field-row-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.customer-field-row-head strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--customer-text);
}

.customer-field-row-head span {
    color: #64748b;
    font-size: 0.9rem;
}

.customer-field-row-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.customer-field-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #475569;
    font-weight: 700;
}

.customer-field-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--customer-primary);
}

.customer-field-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 12px;
    font-weight: 700;
}

.customer-field-row-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.customer-field-empty {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.92);
    border: 1px dashed rgba(15, 23, 42, 0.12);
}

.customer-field-empty strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--customer-text);
}

.customer-field-empty span {
    color: #64748b;
    line-height: 1.6;
}

.customer-design-tabs {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.customer-design-tab-nav {
    gap: 0.45rem;
}

.customer-design-tab-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 0.95rem;
    border-radius: 18px;
    color: #475569;
    background: rgba(248, 250, 252, 0.84);
    border: 1px solid rgba(15, 23, 42, 0.05);
    font-weight: 700;
    text-align: left;
    line-height: 1.3;
}

.customer-design-tab-nav .nav-link.active {
    background: rgba(37, 99, 235, 0.12);
    color: var(--customer-primary);
    border-color: rgba(37, 99, 235, 0.14);
}

.customer-design-tab-nav .nav-link span {
    flex: 1;
}

.customer-design-tab-content {
    padding: 1.2rem;
    border-radius: 22px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(15, 23, 42, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.customer-design-group + .customer-design-group {
    margin-top: 1rem;
}

.customer-design-group .form-label {
    margin-bottom: 0.45rem;
    color: #334155;
    font-weight: 700;
}

.customer-design-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.customer-design-color-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.customer-color-input {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
}

.customer-color-input input[type="color"] {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    padding: 0.25rem;
    background: #fff;
}

.customer-range-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    color: var(--customer-muted);
    font-size: 0.82rem;
}

.customer-range-meta strong {
    color: var(--customer-text);
}

.customer-switch-list {
    display: grid;
    gap: 0.8rem;
}

.customer-switch-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.06);
    font-weight: 600;
}

.customer-switch-row input[type="checkbox"] {
    width: 46px;
    height: 24px;
    accent-color: var(--customer-primary);
}

.customer-mode-list {
    display: grid;
    gap: 0.8rem;
}

.customer-mode-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.customer-mode-card input {
    margin-top: 0.2rem;
    accent-color: var(--customer-primary);
}

.customer-mode-card strong {
    display: block;
    margin-bottom: 0.2rem;
}

.customer-mode-card span {
    color: var(--customer-muted);
    line-height: 1.6;
}

.customer-form-preview-panel {
    position: sticky;
    top: 1.5rem;
    align-self: start;
}

.customer-preview-switcher {
    display: inline-flex;
    padding: 0.25rem;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.customer-preview-switcher button {
    border: 0;
    background: transparent;
    color: #475569;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-weight: 700;
}

.customer-preview-switcher button.is-active {
    background: #fff;
    color: var(--customer-primary);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.customer-preview-shell {
    padding: 1rem;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.94));
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.customer-preview-device {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1.4rem 0.95rem 0.95rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px dashed rgba(15, 23, 42, 0.12);
    transition: all 0.2s ease;
}

.customer-preview-device.is-mobile {
    max-width: 440px;
    margin: 0 auto;
    padding: 1rem 0.8rem 1.2rem;
    border-style: solid;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.92));
}

.customer-preview-compatibility {
    position: absolute;
    top: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--customer-primary);
    font-size: 0.78rem;
    font-weight: 700;
    z-index: 2;
    white-space: nowrap;
}

.customer-preview-compatibility.is-site {
    background: rgba(14, 165, 233, 0.12);
    color: #0891b2;
}

.customer-preview-compatibility.is-custom {
    background: rgba(15, 159, 110, 0.12);
    color: var(--customer-success);
}

.customer-preview-card {
    position: relative;
    width: 100%;
    padding: 1.35rem;
    transition: all 0.2s ease;
}

.customer-preview-card.theme-modern {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.9));
}

.customer-preview-card.theme-modern::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 68%);
    pointer-events: none;
}

.customer-preview-card.theme-minimal {
    background: #ffffff;
    box-shadow: none !important;
}

.customer-preview-card.theme-kurumsal {
    background:
        linear-gradient(180deg, rgba(241, 245, 249, 0.98), rgba(255, 255, 255, 0.98)),
        #ffffff;
}

.customer-preview-card.theme-kurumsal::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f172a, #334155);
}

.customer-preview-card.theme-standart {
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.07), transparent 25%),
        #ffffff;
}

.customer-preview-card.theme-dark-mod {
    background: transparent;
    box-shadow: none !important;
}

.customer-preview-card.theme-mod-uyumlu {
    background: transparent;
    box-shadow: none !important;
}

.customer-preview-card.theme-dark-mod::before {
    display: none;
}

.customer-preview-card.theme-mod-uyumlu::before {
    display: none;
}

.customer-preview-header {
    margin-bottom: 1.1rem;
    position: relative;
    z-index: 1;
    padding-left: 0.95rem;
    border-left: 4px solid var(--preview-primary, #2563eb);
}

.customer-preview-kicker {
    display: inline-flex;
    margin-bottom: 0.5rem;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.customer-preview-header h3 {
    margin: 0;
    line-height: 1.15;
}

.customer-preview-header p {
    margin: 0.75rem 0 0;
    line-height: 1.7;
    color: #475569;
}

.customer-preview-notice {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(217, 119, 6, 0.18);
}

.customer-preview-notice strong {
    display: block;
    color: #92400e;
}

.customer-preview-notice p {
    margin: 0.4rem 0 0;
    color: #78350f;
    line-height: 1.6;
}

.customer-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 1;
}

.customer-preview-grid.is-two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-preview-field.is-wide {
    grid-column: 1 / -1;
}

.customer-preview-field label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.customer-preview-required {
    color: var(--preview-error, #dc2626);
}

.customer-preview-field input,
.customer-preview-field textarea {
    width: 100%;
    resize: none;
    padding: 0.9rem 0.95rem;
    outline: 0;
}

.customer-preview-field input::placeholder,
.customer-preview-field textarea::placeholder {
    color: var(--preview-placeholder, #94a3b8);
}

.customer-preview-feedback {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.customer-preview-feedback .is-error {
    color: var(--preview-error, #dc2626);
}

.customer-preview-feedback .is-success {
    color: var(--preview-success, #0f9f6e);
}

.customer-preview-button-wrap {
    display: flex;
    margin-top: 1.15rem;
    position: relative;
    z-index: 1;
}

.customer-preview-button {
    border: 0;
    padding: 0.9rem 1.3rem;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease;
}

.customer-preview-button:hover {
    transform: translateY(-1px);
}

.customer-preview-button.is-small {
    padding: 0.72rem 1rem;
}

.customer-preview-button.is-large {
    padding: 1rem 1.5rem;
}

.customer-preview-card.theme-modern .customer-preview-header h3 {
    letter-spacing: -0.04em;
}

.customer-preview-card.theme-modern .customer-preview-button {
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22);
}

.customer-preview-card.theme-minimal .customer-preview-header h3 {
    letter-spacing: -0.02em;
    font-weight: 600 !important;
}

.customer-preview-card.theme-minimal .customer-preview-header p {
    color: #64748b;
}

.customer-preview-card.theme-minimal .customer-preview-field label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.customer-preview-card.theme-minimal .customer-preview-button {
    box-shadow: none;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.customer-preview-card.theme-kurumsal .customer-preview-header {
    padding-top: 0.45rem;
    margin-bottom: 1.25rem;
}

.customer-preview-card.theme-kurumsal .customer-preview-header h3 {
    letter-spacing: -0.025em;
}

.customer-preview-card.theme-kurumsal .customer-preview-field label {
    letter-spacing: 0.03em;
}

.customer-preview-card.theme-kurumsal .customer-preview-button {
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.customer-preview-card.theme-dark-mod .customer-preview-header {
    border-left-width: 3px;
}

.customer-preview-card.theme-mod-uyumlu .customer-preview-header {
    border-left-width: 3px;
}

.customer-preview-card.theme-dark-mod .customer-preview-header p {
    color: inherit;
}

.customer-preview-card.theme-mod-uyumlu .customer-preview-header p {
    color: inherit;
}

.customer-preview-card.theme-dark-mod .customer-preview-button {
    box-shadow: none;
}

.customer-preview-card.theme-mod-uyumlu .customer-preview-button {
    box-shadow: none;
}

body.customer-sidebar-open .customer-overlay {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991.98px) {
    .customer-sidebar {
        transform: translateX(-100%);
    }

    body.customer-sidebar-open .customer-sidebar {
        transform: translateX(0);
    }

    .customer-shell {
        margin-left: 0;
    }

    .customer-auth-shell {
        grid-template-columns: 1fr;
    }

    .customer-form-designer,
    .customer-design-tabs {
        grid-template-columns: 1fr;
    }

    .customer-form-preview-panel {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .customer-topbar,
    .customer-footer,
    .customer-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .customer-topbar-actions,
    .customer-page-actions,
    .customer-footer-meta {
        width: 100%;
    }

    .customer-info-grid,
    .customer-auth-stats,
    .customer-chart,
    .customer-form-meta-grid,
    .customer-create-summary-grid,
    .customer-field-row-grid,
    .customer-design-grid,
    .customer-design-color-grid,
    .customer-preview-grid.is-two-column {
        grid-template-columns: 1fr;
    }

    .customer-filter-actions {
        margin-left: 0;
        width: 100%;
    }

    .customer-toast-stack {
        left: 1rem;
        right: 1rem;
        top: 1rem;
    }

    .customer-toast {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .customer-form-card-head,
    .customer-embed-head,
    .customer-section-title {
        flex-direction: column;
        align-items: flex-start;
    }
}
