/* File Path: /20/acc6/public_assets/css/acc6-accounting-ui.css */

.acc6-aw {
    direction: rtl;
    display: grid;
    gap: 20px;
}

.acc6-aw * {
    box-sizing: border-box;
}

.acc6-aw a {
    text-decoration: none;
}

.acc6-aw-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: stretch;
    border-radius: 34px;
    padding: 28px;
    border: 1px solid rgba(125, 211, 252, .42);
    background:
        radial-gradient(circle at 6% 12%, rgba(14,165,233,.18), transparent 32%),
        radial-gradient(circle at 96% 4%, rgba(0,169,157,.15), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(240,249,255,.94));
    box-shadow: 0 24px 70px rgba(15, 23, 42, .09);
    overflow: hidden;
    position: relative;
}

.acc6-aw-hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -110px auto;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(14,165,233,.14), rgba(0,169,157,.14));
    pointer-events: none;
}

.acc6-aw-hero-content,
.acc6-aw-status-card {
    position: relative;
    z-index: 1;
}

.acc6-aw-overline {
    display: inline-flex;
    width: fit-content;
    padding: 9px 14px;
    border-radius: 999px;
    background: #ecfeff;
    border: 1px solid #a5f3fc;
    color: #075985;
    font-weight: 1000;
    margin-bottom: 14px;
}

.acc6-aw-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.25;
    font-weight: 1000;
    color: #0b1f3a;
}

.acc6-aw-hero p {
    margin: 0;
    max-width: 760px;
    color: #64748b;
    font-weight: 850;
    line-height: 2;
    font-size: 16px;
}

.acc6-aw-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.acc6-aw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 17px;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(14,165,233,.22);
    color: #075985;
    font-weight: 1000;
    box-shadow: 0 10px 22px rgba(15,23,42,.055);
}

.acc6-aw-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0ea5e9, #00a99d);
    border-color: transparent;
}

.acc6-aw-status-card {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 22px;
    border-radius: 26px;
    border: 1px solid rgba(125,211,252,.44);
    background: rgba(255,255,255,.78);
    box-shadow: 0 18px 45px rgba(14,165,233,.08);
}

.acc6-aw-status-card span,
.acc6-aw-status-card small {
    color: #64748b;
    font-weight: 900;
}

.acc6-aw-status-card strong {
    font-size: 30px;
    font-weight: 1000;
}

.acc6-aw-status-ok {
    color: #047857;
}

.acc6-aw-status-danger {
    color: #b91c1c;
}

.acc6-aw-status-card a {
    display: inline-flex;
    width: fit-content;
    margin-top: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-weight: 1000;
}

.acc6-aw-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 14px;
}

.acc6-aw-kpi {
    display: block;
    min-height: 150px;
    border-radius: 26px;
    padding: 20px;
    color: #102033;
    border: 1px solid rgba(125,211,252,.35);
    background:
        radial-gradient(circle at 12% 85%, rgba(14,165,233,.13), transparent 30%),
        rgba(255,255,255,.95);
    box-shadow: 0 16px 38px rgba(15,23,42,.065);
    transition: transform .16s ease, box-shadow .16s ease;
}

.acc6-aw-kpi:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(14,165,233,.13);
}

.acc6-aw-kpi span {
    display: block;
    color: #64748b;
    font-weight: 1000;
}

.acc6-aw-kpi b {
    display: block;
    direction: ltr;
    text-align: right;
    margin: 14px 0;
    color: #075985;
    font-size: 27px;
    font-weight: 1000;
}

.acc6-aw-kpi small {
    display: block;
    color: #64748b;
    font-weight: 850;
}

.acc6-aw-tone-red b { color: #b91c1c; }
.acc6-aw-tone-green b { color: #047857; }
.acc6-aw-tone-amber b { color: #b45309; }
.acc6-aw-tone-rose b { color: #be123c; }
.acc6-aw-tone-violet b { color: #6d28d9; }
.acc6-aw-tone-teal b { color: #0f766e; }
.acc6-aw-tone-cyan b { color: #0369a1; }

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

.acc6-aw-span-2 {
    grid-column: span 2;
}

.acc6-aw-panel {
    border-radius: 28px;
    border: 1px solid rgba(148, 188, 207, .42);
    background:
        radial-gradient(circle at 8% 8%, rgba(14,165,233,.055), transparent 28%),
        rgba(255,255,255,.95);
    box-shadow: 0 18px 48px rgba(15,23,42,.07);
    padding: 22px;
    overflow: hidden;
}

.acc6-aw-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.acc6-aw-title h2 {
    margin: 0;
    font-size: 24px;
    color: #102033;
    font-weight: 1000;
}

.acc6-aw-title span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #075985;
    font-weight: 900;
    white-space: nowrap;
}

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

.acc6-aw-workflow {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff, #f8fcff);
    border: 1px solid rgba(125,211,252,.30);
}

.acc6-aw-workflow-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: 1000;
    background: linear-gradient(135deg, #0ea5e9, #00a99d);
    box-shadow: 0 12px 26px rgba(14,165,233,.18);
}

.acc6-aw-workflow h3 {
    margin: 0 0 6px;
    color: #0f172a;
    font-weight: 1000;
}

.acc6-aw-workflow p {
    margin: 0 0 12px;
    color: #64748b;
    font-weight: 800;
    line-height: 1.8;
}

.acc6-aw-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.acc6-aw-links a,
.acc6-aw-action-grid a,
.acc6-aw-report-list a,
.acc6-aw-checklist a,
.acc6-aw-mini-list a {
    transition: transform .14s ease, background .14s ease, border-color .14s ease;
}

.acc6-aw-links a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ecfeff;
    color: #075985;
    border: 1px solid #bae6fd;
    font-weight: 900;
}

.acc6-aw-links a:hover,
.acc6-aw-report-list a:hover,
.acc6-aw-action-grid a:hover,
.acc6-aw-mini-list a:hover,
.acc6-aw-checklist a:hover {
    transform: translateY(-2px);
}

.acc6-aw-checklist {
    display: grid;
    gap: 10px;
}

.acc6-aw-checklist a {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 11px;
    align-items: center;
    min-height: 62px;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid #dbeafe;
    background: #fff;
}

.acc6-aw-checklist b {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 1000;
}

.acc6-aw-checklist .is-ok b {
    background: #10b981;
}

.acc6-aw-checklist .is-warning b {
    background: #f59e0b;
}

.acc6-aw-checklist span {
    color: #102033;
    font-weight: 1000;
}

.acc6-aw-checklist small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-weight: 850;
}

.acc6-aw-report-list,
.acc6-aw-mini-list {
    display: grid;
    gap: 10px;
}

.acc6-aw-report-list a {
    display: block;
    padding: 14px 15px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #dbeafe;
}

.acc6-aw-report-list strong {
    display: block;
    color: #102033;
    font-weight: 1000;
}

.acc6-aw-report-list small {
    display: block;
    color: #64748b;
    margin-top: 5px;
    font-weight: 850;
}

.acc6-aw-mini-list a {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    min-height: 48px;
    padding: 11px 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #dbeafe;
}

.acc6-aw-mini-list b {
    color: #0f766e;
    font-weight: 1000;
}

.acc6-aw-mini-list span {
    color: #64748b;
    font-weight: 850;
}

.acc6-aw-mini-list strong {
    direction: ltr;
    color: #075985;
    font-weight: 1000;
}

.acc6-aw-empty {
    padding: 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    font-weight: 900;
    text-align: center;
}

.acc6-aw-action-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(130px, 1fr));
    gap: 10px;
}

.acc6-aw-action-grid a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #075985;
    font-weight: 1000;
}

.acc6-aw-action-grid a.is-primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #0ea5e9, #00a99d);
    box-shadow: 0 14px 30px rgba(14,165,233,.16);
}

@media (max-width: 1220px) {
    .acc6-aw-kpis {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .acc6-aw-grid {
        grid-template-columns: 1fr;
    }

    .acc6-aw-span-2 {
        grid-column: auto;
    }

    .acc6-aw-workflows {
        grid-template-columns: 1fr;
    }

    .acc6-aw-action-grid {
        grid-template-columns: repeat(3, minmax(130px, 1fr));
    }
}

@media (max-width: 840px) {
    .acc6-aw-hero {
        grid-template-columns: 1fr;
        padding: 20px;
        border-radius: 24px;
    }

    .acc6-aw-kpis {
        grid-template-columns: 1fr;
    }

    .acc6-aw-title {
        display: block;
    }

    .acc6-aw-title span {
        margin-top: 8px;
    }

    .acc6-aw-workflow {
        grid-template-columns: 1fr;
    }

    .acc6-aw-action-grid {
        grid-template-columns: 1fr;
    }

    .acc6-aw-mini-list a {
        grid-template-columns: 1fr;
    }
}
