:root {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: #eaf2f8;
    background: #081018;

    --background: #081018;
    --surface: #101c27;
    --surface-light: #172735;
    --border: rgba(255, 255, 255, 0.1);
    --text: #eaf2f8;
    --muted: #96a9b8;
    --primary: #45d6aa;
    --primary-dark: #163b33;
    --danger: #ff8a8a;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--background);
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(38, 102, 126, 0.35),
            transparent 42%
        ),
        var(--background);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.main-header {
    min-height: 82px;
    padding: 16px clamp(20px, 5vw, 72px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(8, 16, 24, 0.82);
    backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--primary);
    color: #062019;
    font-weight: 900;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 1.05rem;
}

.brand small {
    margin-top: 3px;
    color: var(--muted);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
}

.main-navigation a:hover {
    color: var(--text);
}

.page-container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0;
}

.main-footer {
    padding: 28px 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
    gap: 48px;
    align-items: center;
    min-height: 520px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 6vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-description {
    max-width: 720px;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.7;
}

.hero-actions {
    margin-top: 34px;
}

.button {
    min-height: 50px;
    padding: 14px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 13px;
    cursor: pointer;
    font-weight: 800;
}

.button-primary {
    background: var(--primary);
    color: #062019;
}

.button-primary:hover {
    filter: brightness(1.08);
}

.button-full {
    width: 100%;
}

.status-card,
.feature-card,
.metric-card,
.module-card,
.auth-card {
    border: 1px solid var(--border);
    background: rgba(16, 28, 39, 0.82);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.status-card {
    padding: 28px;
    border-radius: 22px;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-weight: 800;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary);
}

.status-line {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

.status-line strong {
    color: var(--primary);
}

.feature-grid,
.metric-grid,
.module-grid {
    display: grid;
    gap: 22px;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.metric-card,
.module-card {
    border-radius: 18px;
}

.feature-card {
    padding: 30px;
}

.feature-number {
    display: block;
    margin-bottom: 24px;
    color: var(--primary);
    font-weight: 900;
}

.feature-card p,
.module-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.6;
}

.auth-wrapper {
    min-height: calc(100vh - 300px);
    display: grid;
    place-items: center;
}

.auth-card {
    width: min(470px, 100%);
    padding: clamp(28px, 5vw, 48px);
    border-radius: 24px;
}

.auth-card h1,
.dashboard-heading h1,
.error-page h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
}

.auth-card > p {
    color: var(--muted);
    line-height: 1.6;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 9px;
    font-weight: 700;
}

.form-field input {
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: #09141d;
    color: var(--text);
}

.form-field input:focus {
    border-color: var(--primary);
}

.alert {
    margin: 22px 0;
    padding: 14px 16px;
    border-radius: 12px;
}

.alert-error {
    border: 1px solid rgba(255, 138, 138, 0.35);
    background: rgba(255, 138, 138, 0.1);
    color: var(--danger);
}

.form-note {
    margin: 22px 0 0;
    font-size: 0.86rem;
}

.dashboard-heading {
    margin-bottom: 38px;
}

.dashboard-heading p {
    color: var(--muted);
}

.metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 28px;
}

.metric-card {
    padding: 24px;
}

.metric-card span,
.metric-card small {
    display: block;
    color: var(--muted);
}

.metric-card strong {
    display: block;
    margin: 14px 0 9px;
    font-size: 2.8rem;
}

.module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-card {
    padding: 24px;
    display: flex;
    gap: 18px;
}

.module-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--primary-dark);
    color: var(--primary);
    font-weight: 900;
}

.module-card h2 {
    margin-bottom: 8px;
}

.error-page {
    min-height: 500px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
}

.error-code {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.error-page p {
    color: var(--muted);
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .feature-grid,
    .metric-grid,
    .module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .main-header {
        align-items: flex-start;
    }

    .brand small {
        display: none;
    }

    .main-navigation {
        gap: 12px;
        font-size: 0.9rem;
    }

    .page-container {
        width: min(100% - 28px, 1240px);
        padding: 44px 0;
    }

    .feature-grid,
    .metric-grid,
    .module-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.7rem;
    }
}

.logout-form {
    margin: 0;
}

.navigation-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.navigation-button:hover {
    color: var(--text);
}

.page-heading {
    margin-bottom: 38px;
}

.page-heading h1 {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.page-heading p {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.7;
}

.page-heading-actions,
.section-heading,
.heading-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.heading-actions {
    justify-content: flex-end;
}

.button-secondary {
    border: 1px solid var(--border);
    background: var(--surface-light);
    color: var(--text);
}

.button-danger {
    background: rgba(255, 138, 138, 0.14);
    color: var(--danger);
    border: 1px solid rgba(255, 138, 138, 0.3);
}

.alert-success {
    border: 1px solid rgba(69, 214, 170, 0.32);
    background: rgba(69, 214, 170, 0.1);
    color: var(--primary);
}

.filter-bar {
    margin-bottom: 22px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(16, 28, 39, 0.72);
}

.filter-search {
    flex: 1;
}

.filter-bar input,
.filter-bar select,
.business-form input,
.business-form textarea,
.detail-card input,
.detail-card textarea,
.detail-card select {
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: #09141d;
    color: var(--text);
}

.business-form textarea,
.detail-card textarea {
    min-height: 120px;
    resize: vertical;
}

.filter-bar input:focus,
.filter-bar select:focus,
.business-form input:focus,
.business-form textarea:focus,
.detail-card input:focus,
.detail-card textarea:focus {
    border-color: var(--primary);
}

.data-card,
.detail-card,
.business-form,
.danger-zone {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(16, 28, 39, 0.82);
}

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

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

.data-table th,
.data-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

.data-table th {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}

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

.table-primary-link {
    font-weight: 800;
}

.table-primary-link:hover {
    color: var(--primary);
}

.table-subtitle {
    display: block;
    margin-top: 5px;
    color: var(--muted);
}

.badge,
.status-badge {
    display: inline-flex;
    margin: 2px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

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

.status-active {
    background: rgba(69, 214, 170, 0.12);
    color: var(--primary);
}

.status-archived {
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

.empty-state {
    padding: 70px 24px;
    text-align: center;
}

.empty-state.compact {
    padding: 42px 24px;
}

.empty-state p {
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
    color: var(--muted);
}

.empty-state-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: var(--primary-dark);
    color: var(--primary);
    font-weight: 900;
}

.business-form {
    padding: clamp(24px, 4vw, 42px);
}

.form-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.form-section:first-child {
    padding-top: 0;
}

.form-section:last-of-type {
    border-bottom: 0;
}

.form-section-heading {
    margin-bottom: 24px;
}

.form-section-heading h2 {
    margin-bottom: 0;
}

.form-grid {
    display: grid;
    gap: 20px;
}

.form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field-full {
    grid-column: 1 / -1;
}

.field-error {
    display: block;
    margin-top: 7px;
    color: var(--danger);
}

.form-actions {
    padding-top: 30px;
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}

.detail-grid {
    margin-bottom: 42px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.detail-card {
    padding: 26px;
}

.detail-card h2 {
    margin-bottom: 24px;
}

.detail-list {
    margin: 0;
}

.detail-list div {
    padding: 13px 0;
    border-top: 1px solid var(--border);
}

.detail-list dt {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.82rem;
}

.detail-list dd {
    margin: 0;
}

.address-block {
    color: var(--muted);
    font-style: normal;
    line-height: 1.8;
}

.section-heading {
    margin: 46px 0 22px;
}

.section-heading h2 {
    margin-bottom: 0;
    font-size: 2rem;
}

.sites-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
    gap: 22px;
}

.site-card-list {
    padding: 10px 22px;
}

.site-card {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--border);
}

.site-card:last-child {
    border-bottom: 0;
}

.site-card h3 {
    margin: 0 0 6px;
}

.site-card p {
    margin: 0;
    color: var(--muted);
}

.danger-zone {
    margin-top: 34px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.danger-zone h2 {
    margin-bottom: 7px;
}

.danger-zone p {
    margin-bottom: 0;
    color: var(--muted);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

    .sites-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .page-heading-actions,
    .section-heading,
    .danger-zone {
        align-items: stretch;
        flex-direction: column;
    }

    .heading-actions {
        justify-content: stretch;
    }

    .heading-actions .button {
        flex: 1;
    }

    .filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: auto;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .button {
        width: 100%;
    }
}

.catalogue-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
}

.catalogue-top-grid .filter-bar {
    margin-bottom: 22px;
}

.quick-category-form {
    padding: 16px;
    display: flex;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(16, 28, 39, 0.72);
}

.quick-category-form input {
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: #09141d;
    color: var(--text);
}

.quick-category-form input:focus {
    border-color: var(--primary);
}

.business-form select {
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: #09141d;
    color: var(--text);
}

.money-input {
    position: relative;
}

.money-input input {
    padding-right: 52px;
}

.money-input span {
    position: absolute;
    top: 50%;
    right: 17px;
    transform: translateY(-50%);
    color: var(--muted);
    font-weight: 800;
}

.checkbox-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.checkbox-field label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-field input {
    width: 19px;
    height: 19px;
    min-height: 0;
    accent-color: var(--primary);
}

.checkbox-field small {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.5;
}

.exceptional-row {
    background:
        linear-gradient(
            90deg,
            rgba(255, 188, 74, 0.08),
            transparent
        );
}

.badge-warning {
    background: rgba(255, 188, 74, 0.13);
    color: #ffcc73;
}

.table-actions {
    min-width: 120px;
    text-align: right !important;
}

.table-actions form {
    margin-top: 8px;
}

.small-action-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 800;
}

.small-action-link:hover {
    text-decoration: underline;
}

.danger-link {
    color: var(--danger);
}

.protected-label {
    color: var(--muted);
    font-size: 0.82rem;
}

@media (max-width: 1050px) {
    .catalogue-top-grid {
        grid-template-columns: 1fr;
    }

    .quick-category-form {
        margin-bottom: 22px;
    }
}

@media (max-width: 680px) {
    .quick-category-form {
        flex-direction: column;
    }
}

.order-summary-grid {
    margin-bottom: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.order-summary-grid .detail-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.total-card h2 {
    color: var(--primary);
    font-size: 2.2rem;
}

.alert-warning {
    border: 1px solid rgba(255, 188, 74, 0.35);
    background: rgba(255, 188, 74, 0.10);
    color: #ffcc73;
}

.status-order-draft {
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

.status-order-pending_validation {
    background: rgba(255, 188, 74, 0.14);
    color: #ffcc73;
}

.status-order-validated {
    background: rgba(69, 214, 170, 0.14);
    color: var(--primary);
}

.status-order-exported {
    background: rgba(100, 170, 255, 0.14);
    color: #85bfff;
}

.status-order-cancelled {
    background: rgba(255, 138, 138, 0.12);
    color: var(--danger);
}

.order-line-list {
    padding: 18px;
}

.order-line-card {
    position: relative;
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(8, 16, 24, 0.46);
}

.order-line-card:last-child {
    margin-bottom: 0;
}

.order-line-main {
    display: grid;
    grid-template-columns:
        minmax(240px, 2fr)
        minmax(120px, 0.7fr)
        minmax(150px, 0.9fr)
        minmax(130px, 0.7fr);
    gap: 18px;
    align-items: end;
}

.order-line-main input {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #09141d;
    color: var(--text);
}

.order-line-main input[readonly] {
    opacity: 0.8;
}

.order-line-main small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
}

.warning-text {
    color: #ffcc73 !important;
}

.order-line-total {
    padding-bottom: 13px;
    text-align: right;
}

.order-line-total span,
.order-line-total strong {
    display: block;
}

.order-line-total span {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.8rem;
}

.order-line-total strong {
    font-size: 1.35rem;
}

.order-line-footer {
    margin-top: 16px;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border);
}

.inline-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.inline-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.delete-line-form {
    margin-top: 14px;
    text-align: right;
}

.add-line-form {
    margin-bottom: 34px;
}

.order-validation-zone {
    margin-top: 34px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            rgba(69, 214, 170, 0.08),
            rgba(16, 28, 39, 0.86)
        );
}

.order-validation-zone h2 {
    margin-bottom: 8px;
}

.order-validation-zone p {
    margin-bottom: 0;
    color: var(--muted);
}

.button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

@media (max-width: 1050px) {
    .order-line-main {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .order-line-total {
        text-align: left;
    }
}

@media (max-width: 850px) {
    .order-summary-grid {
        grid-template-columns: 1fr;
    }

    .order-validation-zone {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .order-line-main {
        grid-template-columns: 1fr;
    }

    .order-line-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .line-actions .button {
        width: 100%;
    }
}

.export-info-grid {
    margin-bottom: 46px;
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.export-format-card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(16, 28, 39, 0.82);
}

.export-format-card h2 {
    margin-bottom: 12px;
}

.export-format-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.6;
}

.export-format-code {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 7px 10px;
    border-radius: 9px;
    background: var(--primary-dark);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.export-selection-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--border);
}

.order-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.export-action-zone {
    margin-top: 26px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            rgba(69, 214, 170, 0.09),
            rgba(16, 28, 39, 0.88)
        );
}

.export-action-zone h2 {
    margin-bottom: 8px;
}

.export-action-zone p {
    margin-bottom: 0;
    color: var(--muted);
}

.export-controls {
    min-width: 360px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.export-controls .form-field {
    min-width: 170px;
    margin-bottom: 0;
}

.export-controls select {
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: #09141d;
    color: var(--text);
}

@media (max-width: 1100px) {
    .export-info-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .export-action-zone {
        align-items: stretch;
        flex-direction: column;
    }

    .export-controls {
        min-width: 0;
        align-items: stretch;
        flex-direction: column;
    }

    .export-controls .button {
        width: 100%;
    }
}

@media (max-width: 620px) {
    .export-info-grid {
        grid-template-columns: 1fr;
    }

    .export-selection-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

.role-information-grid {
    margin: 24px 0;
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.role-information-grid article {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(8, 16, 24, 0.42);
}

.role-information-grid strong {
    display: block;
    margin-bottom: 8px;
}

.role-information-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.role-badge {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 850;
}

.role-owner {
    background: rgba(115, 99, 255, 0.15);
    color: #b3a9ff;
}

.role-manager {
    background: rgba(69, 214, 170, 0.14);
    color: var(--primary);
}

.role-employee {
    background: rgba(100, 170, 255, 0.14);
    color: #8bc1ff;
}

.status-pending {
    background: rgba(255, 188, 74, 0.14);
    color: #ffcc73;
}

.temporary-password-card {
    margin-bottom: 28px;
    padding: 24px;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto
        auto;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(255, 188, 74, 0.34);
    border-radius: 18px;
    background: rgba(255, 188, 74, 0.08);
}

.temporary-password-card h2 {
    margin-bottom: 0;
}

.temporary-password-card code {
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: #071019;
    color: #ffcc73;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.danger-zone {
    margin-top: 30px;
    padding: 27px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid rgba(255, 138, 138, 0.23);
    border-radius: 19px;
    background: rgba(255, 138, 138, 0.05);
}

.danger-zone h2 {
    margin-bottom: 8px;
}

.danger-zone p {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.6;
}

.password-form {
    max-width: 850px;
}

@media (max-width: 850px) {
    .role-information-grid {
        grid-template-columns: 1fr;
    }

    .temporary-password-card {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .temporary-password-card code {
        overflow-wrap: anywhere;
    }

    .danger-zone {
        align-items: stretch;
        flex-direction: column;
    }
}


/* =========================================================
   TEXTILEPILOTE MANAGEMENT UI
   Pages Clients, Catalogue, Grilles tarifaires et Bons
   ========================================================= */

select,
textarea {
    font: inherit;
}

.page-heading {
    margin-bottom: 34px;
}

.page-heading-actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.page-heading h1 {
    margin-bottom: 16px;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.page-heading p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.65;
}

.button-secondary {
    border: 1px solid var(--border);
    background: var(--surface-light);
    color: var(--text);
}

.button-secondary:hover {
    border-color: rgba(69, 214, 170, 0.42);
    background: var(--primary-dark);
}

.button-danger {
    border: 1px solid rgba(255, 138, 138, 0.35);
    background: rgba(255, 138, 138, 0.12);
    color: var(--danger);
}

.button-danger:hover {
    background: rgba(255, 138, 138, 0.2);
}

.filter-bar {
    margin-bottom: 24px;
    padding: 16px;
    display: grid;
    grid-template-columns:
        minmax(260px, 1fr)
        minmax(170px, auto)
        auto;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: rgba(16, 28, 39, 0.86);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.filter-search {
    min-width: 0;
}

.filter-bar input,
.filter-bar select,
.quick-category-form input,
.quick-category-form select,
.form-field select,
.form-field textarea,
.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: #09141d;
    color: var(--text);
}

.filter-bar input::placeholder,
.quick-category-form input::placeholder,
.form-card input::placeholder,
.form-card textarea::placeholder {
    color: #758896;
}

.filter-bar input:focus,
.filter-bar select:focus,
.quick-category-form input:focus,
.quick-category-form select:focus,
.form-field select:focus,
.form-field textarea:focus,
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(69, 214, 170, 0.1);
}

.filter-bar label:not(.sr-only) {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.catalogue-top-grid {
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}

.catalogue-top-grid .filter-bar {
    margin-bottom: 0;
}

.quick-category-form {
    padding: 16px;
    display: flex;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: rgba(16, 28, 39, 0.86);
}

.data-card,
.form-card,
.detail-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(16, 28, 39, 0.88);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.form-card,
.detail-card {
    padding: clamp(22px, 4vw, 36px);
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.data-table th,
.data-table td {
    padding: 17px 18px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

.data-table th {
    background: rgba(23, 39, 53, 0.78);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.data-table tbody tr {
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.data-table tbody tr:hover {
    background: rgba(69, 214, 170, 0.045);
}

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

.table-primary-link {
    color: var(--text);
    font-weight: 850;
}

.table-primary-link:hover {
    color: var(--primary);
}

.table-subtitle {
    margin-top: 5px;
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}

.table-actions {
    text-align: right;
    white-space: nowrap;
}

.table-actions form {
    display: inline;
}

.small-action-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 800;
}

.small-action-link:hover {
    text-decoration: underline;
}

.danger-link {
    margin-left: 12px;
    color: var(--danger);
}

.badge,
.status-badge,
.protected-label {
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.badge {
    margin: 2px 4px 2px 0;
    background: rgba(69, 214, 170, 0.12);
    color: var(--primary);
}

.badge-warning {
    background: rgba(255, 193, 92, 0.13);
    color: #ffd07b;
}

.status-badge {
    background: rgba(150, 169, 184, 0.13);
    color: var(--muted);
}

.status-active,
.status-enabled,
.status-valid {
    background: rgba(69, 214, 170, 0.13);
    color: var(--primary);
}

.status-archived,
.status-inactive,
.status-disabled {
    background: rgba(150, 169, 184, 0.12);
    color: var(--muted);
}

.status-draft {
    background: rgba(255, 193, 92, 0.12);
    color: #ffd07b;
}

.protected-label {
    background: rgba(150, 169, 184, 0.12);
    color: var(--muted);
}

.exceptional-row {
    background: rgba(255, 193, 92, 0.035);
}

.empty-state {
    min-height: 320px;
    padding: 50px 24px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
}

.empty-state-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: var(--primary-dark);
    color: var(--primary);
    font-weight: 900;
}

.empty-state h2 {
    margin-bottom: 10px;
}

.empty-state p {
    max-width: 520px;
    margin-bottom: 24px;
    color: var(--muted);
    line-height: 1.6;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-grid .form-field {
    margin-bottom: 0;
}

.form-field-full,
.form-grid .full-width {
    grid-column: 1 / -1;
}

.form-field select,
.form-field textarea {
    width: 100%;
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-help,
.field-help {
    margin: 7px 0 0;
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.form-actions {
    margin-top: 30px;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--border);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.detail-item {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(9, 20, 29, 0.58);
}

.detail-item span,
.detail-item strong {
    display: block;
}

.detail-item span {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.8rem;
}

.detail-item strong {
    font-size: 1.02rem;
}

.checkbox-row,
.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-row input,
.checkbox-field input {
    width: auto;
    min-height: auto;
    margin-top: 4px;
}

.alert-success {
    border: 1px solid rgba(69, 214, 170, 0.35);
    background: rgba(69, 214, 170, 0.1);
    color: var(--primary);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.logout-form {
    margin: 0;
}

.navigation-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.navigation-button:hover {
    color: var(--text);
}

@media (max-width: 1150px) {
    .main-header {
        align-items: flex-start;
    }

    .main-navigation {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 14px 18px;
    }

    .catalogue-top-grid {
        grid-template-columns: 1fr;
    }

    .quick-category-form {
        width: 100%;
    }
}

@media (max-width: 850px) {
    .main-header {
        flex-direction: column;
    }

    .main-navigation {
        width: 100%;
        justify-content: flex-start;
    }

    .page-container {
        width: min(100% - 28px, 1240px);
        padding: 42px 0;
    }

    .page-heading-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-heading h1 {
        font-size: clamp(2.4rem, 12vw, 4rem);
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .form-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full,
    .form-grid .full-width {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .main-header {
        padding: 14px;
    }

    .brand small {
        display: none;
    }

    .main-navigation {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-navigation a,
    .navigation-button {
        padding: 10px 11px;
        border: 1px solid var(--border);
        border-radius: 10px;
        text-align: center;
    }

    .logout-form {
        display: contents;
    }

    .quick-category-form {
        flex-direction: column;
    }

    .data-table th,
    .data-table td {
        padding: 14px;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .form-actions .button {
        width: 100%;
    }
}


/* =========================================================
   TEXTILEPILOTE PRICE LISTS UI
   ========================================================= */

.heading-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
}

.page-action-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-muted {
    color: var(--muted);
}

.field-error {
    margin-top: 7px;
    display: block;
    color: var(--danger);
    font-size: 0.8rem;
    font-weight: 700;
}

.card-description {
    color: var(--muted);
    line-height: 1.65;
}

.price-list-summary-grid {
    margin-bottom: 34px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.price-list-summary-grid .detail-card {
    height: 100%;
}

.stacked-actions {
    display: grid;
    gap: 14px;
}

.inline-action-form {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px;
}

.management-section {
    margin-top: 42px;
}

.section-heading {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading h2 {
    margin-bottom: 10px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.section-heading p {
    max-width: 780px;
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.6;
}

.price-table .price-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-input {
    width: 150px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    background: #09141d;
    color: var(--text);
}

.price-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(69, 214, 170, 0.1);
}

.price-input-wrapper span {
    color: var(--muted);
    font-size: 0.82rem;
    white-space: nowrap;
}

.card-footer-actions {
    padding: 20px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--border);
}

.customer-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.customer-checkbox-card {
    min-height: 82px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(9, 20, 29, 0.62);
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        background 0.18s ease;
}

.customer-checkbox-card:hover {
    border-color: rgba(69, 214, 170, 0.4);
    background: rgba(69, 214, 170, 0.045);
}

.customer-checkbox-card:has(input:checked) {
    border-color: rgba(69, 214, 170, 0.55);
    background: rgba(69, 214, 170, 0.09);
}

.customer-checkbox-card input {
    margin-top: 4px;
    accent-color: var(--primary);
}

.customer-checkbox-card span,
.customer-checkbox-card strong,
.customer-checkbox-card small {
    display: block;
}

.customer-checkbox-card small {
    margin-top: 6px;
    color: var(--muted);
}

.empty-inline-state {
    padding: 28px;
    border: 1px dashed var(--border);
    border-radius: 14px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 1000px) {
    .price-list-summary-grid {
        grid-template-columns: 1fr;
    }

    .customer-checkbox-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .page-action-group,
    .inline-action-form {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .page-action-group .button,
    .inline-action-form .button {
        width: 100%;
    }

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

    .card-footer-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .card-footer-actions .button {
        width: 100%;
    }
}

/* CUSTOMER_COMPACT_FORM_START */

.customer-compact-page {
    width: min(1120px, calc(100% - 32px));
    margin: 24px auto 48px;
}

.customer-compact-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.customer-compact-header h1 {
    margin: 4px 0 4px;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    letter-spacing: -0.045em;
}

.customer-compact-header p {
    max-width: 680px;
    margin: 0;
    color: var(--text-muted, #91a5b4);
}

.customer-compact-kicker,
.customer-summary-step,
.customer-dialog-header span {
    color: #54e6ba;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.customer-compact-header-actions,
.customer-mobile-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.customer-compact-form {
    display: grid;
    gap: 14px;
}

.customer-identification-card {
    padding: 18px;
    border: 1px solid rgba(138, 168, 187, 0.2);
    border-radius: 14px;
    background: rgba(12, 28, 39, 0.88);
}

.customer-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.customer-section-heading h2 {
    margin: 0;
    font-size: 1rem;
}

.customer-section-heading p {
    margin: 2px 0 0;
    color: var(--text-muted, #91a5b4);
    font-size: 0.78rem;
}

.customer-section-number {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: rgba(62, 224, 176, 0.12);
    color: #54e6ba;
    font-weight: 800;
}

.customer-identification-grid {
    display: grid;
    grid-template-columns: minmax(150px, 0.65fr) 1.35fr 1fr;
    gap: 12px;
}

.customer-field {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
}

.customer-field > span {
    font-size: 0.76rem;
    font-weight: 700;
}

.customer-field input,
.customer-field textarea {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid rgba(137, 166, 184, 0.22);
    border-radius: 8px;
    background: rgba(4, 16, 24, 0.72);
    color: #f3f8fb;
    font: inherit;
}

.customer-field textarea {
    resize: vertical;
}

.customer-field input:focus,
.customer-field textarea:focus {
    border-color: #49dcb0;
    outline: 2px solid rgba(73, 220, 176, 0.12);
}

.customer-field-error {
    color: #ff9393;
    font-size: 0.72rem;
}

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

.customer-summary-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 104px;
    padding: 14px;
    border: 1px solid rgba(138, 168, 187, 0.18);
    border-radius: 13px;
    background: rgba(11, 26, 37, 0.86);
    transition:
        border-color 160ms ease,
        transform 160ms ease;
}

.customer-summary-card:hover {
    border-color: rgba(79, 222, 179, 0.4);
    transform: translateY(-1px);
}

.customer-summary-card.is-complete {
    border-color: rgba(79, 222, 179, 0.25);
}

.customer-summary-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px;
    background: rgba(72, 222, 177, 0.1);
    color: #54e6ba;
    font-size: 0.73rem;
    font-weight: 900;
}

.customer-summary-content {
    min-width: 0;
}

.customer-summary-content strong {
    display: block;
    margin: 2px 0 5px;
    font-size: 0.92rem;
}

.customer-summary-content p {
    overflow: hidden;
    margin: 0;
    color: var(--text-muted, #91a5b4);
    font-size: 0.76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-summary-action {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 0.75rem;
}

.customer-dialog {
    width: min(760px, calc(100% - 28px));
    max-height: min(760px, calc(100vh - 40px));
    padding: 0;
    overflow: auto;
    border: 1px solid rgba(139, 170, 189, 0.28);
    border-radius: 16px;
    background: #0d202c;
    color: #f2f8fb;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.customer-dialog::backdrop {
    background: rgba(1, 9, 14, 0.76);
    backdrop-filter: blur(4px);
}

.customer-dialog-header,
.customer-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
}

.customer-dialog-header {
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: 1px solid rgba(137, 166, 184, 0.17);
    background: #0d202c;
}

.customer-dialog-header h2 {
    margin: 3px 0 0;
    font-size: 1.15rem;
}

.customer-dialog-close {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(137, 166, 184, 0.22);
    border-radius: 9px;
    background: transparent;
    color: #d9e7ee;
    cursor: pointer;
    font-size: 1.35rem;
}

.customer-dialog-body {
    padding: 18px;
}

.customer-dialog-footer {
    position: sticky;
    bottom: 0;
    justify-content: flex-end;
    border-top: 1px solid rgba(137, 166, 184, 0.17);
    background: #0d202c;
}

.customer-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.customer-modal-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.customer-delivery-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 11px 12px;
    border: 1px solid rgba(76, 222, 179, 0.2);
    border-radius: 10px;
    background: rgba(76, 222, 179, 0.07);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
}

.customer-delivery-toggle input {
    width: 17px;
    height: 17px;
    accent-color: #4adfb2;
}

[data-delivery-fields] {
    transition: opacity 150ms ease;
}

[data-delivery-fields].is-disabled {
    opacity: 0.38;
}

.customer-mobile-actions {
    display: none;
}

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

    .customer-identification-grid .customer-field:last-child {
        grid-column: 1 / -1;
    }

    .customer-modal-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .customer-compact-page {
        width: min(100% - 20px, 1120px);
        margin-top: 16px;
    }

    .customer-compact-header {
        align-items: flex-start;
    }

    .customer-compact-header-actions {
        display: none;
    }

    .customer-identification-grid,
    .customer-summary-grid,
    .customer-modal-grid,
    .customer-modal-grid-3 {
        grid-template-columns: 1fr;
    }

    .customer-identification-grid .customer-field:last-child,
    .customer-field-wide {
        grid-column: auto;
    }

    .customer-summary-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .customer-summary-action {
        grid-column: 1 / -1;
        width: 100%;
    }

    .customer-mobile-actions {
        position: sticky;
        bottom: 10px;
        z-index: 4;
        display: flex;
        justify-content: flex-end;
        padding: 10px;
        border: 1px solid rgba(137, 166, 184, 0.2);
        border-radius: 12px;
        background: rgba(9, 24, 34, 0.95);
        backdrop-filter: blur(8px);
    }
}

/* CUSTOMER_COMPACT_FORM_END */
