/* =========================================================
   ARTHVEDAM — NET WORTH DASHBOARD
   dashboard.css
   ========================================================= */


/* =========================================================
   GLOBAL DASHBOARD RESET
   ========================================================= */

.nw-dashboard,
.nw-dashboard * {
    box-sizing: border-box;
}

.nw-dashboard {
    width: 100%;
    min-height: calc(100vh - 80px);
    background:
        linear-gradient(
            135deg,
            #f5fbf9 0%,
            #f7faff 48%,
            #faf7ff 100%
        );
    color: #172033;
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;
}


/* =========================================================
   DASHBOARD LAYOUT
   ========================================================= */

.nw-dashboard {
    display: flex;
    align-items: stretch;
    position: relative;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.nw-sidebar {
    width: 285px;
    min-width: 285px;

    min-height: calc(100vh - 80px);

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f5fbfa 100%
        );

    border-right: 1px solid #dfe8e7;

    padding: 28px 18px 20px;

    display: flex;
    flex-direction: column;

    position: sticky;
    top: 80px;

    align-self: flex-start;

    z-index: 50;

    overflow-y: auto;
}


/* =========================================================
   SIDEBAR BRAND
   ========================================================= */

.nw-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 4px 8px 25px;

    border-bottom: 1px solid #e6eeee;

    margin-bottom: 20px;
}

.nw-brand-mark {
    width: 46px;
    height: 46px;

    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #0c9b82,
            #168bd4
        );

    color: #ffffff;

    font-size: 22px;
    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(12, 155, 130, 0.18);
}

.nw-sidebar-brand strong {
    display: block;

    font-size: 19px;
    line-height: 1.2;

    color: #162b35;
}

.nw-sidebar-brand span {
    display: block;

    margin-top: 4px;

    font-size: 14px;
    line-height: 1.3;

    color: #72848c;
}


/* =========================================================
   SIDEBAR NAVIGATION
   ========================================================= */

.nw-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nw-nav-item {
    min-height: 48px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 10px 13px;

    border-radius: 12px;

    text-decoration: none;

    color: #53666e;

    font-size: 16px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.nw-nav-item:hover {
    background: #eaf6f4;

    color: #087e6d;

    transform: translateX(2px);
}

.nw-nav-item.active {
    background:
        linear-gradient(
            135deg,
            #dff7f0,
            #e5f3fc
        );

    color: #087c6b;

    box-shadow:
        inset 4px 0 0 #0a9c83;
}

.nw-nav-icon {
    width: 26px;
    min-width: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;

    color: #0b927d;
}


/* =========================================================
   SIDEBAR PROMO
   ========================================================= */

.nw-sidebar-promo {
    margin-top: auto;

    padding: 20px 17px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #063f4a,
            #075f66,
            #087f75
        );

    color: #ffffff;

    box-shadow:
        0 15px 35px rgba(4, 78, 85, 0.18);
}

.nw-promo-rocket {
    font-size: 25px;

    margin-bottom: 10px;
}

.nw-sidebar-promo h3 {
    margin: 0;

    font-size: 17px;
    line-height: 1.35;

    color: #ffffff;
}

.nw-sidebar-promo p {
    margin: 9px 0 15px;

    font-size: 14px;
    line-height: 1.5;

    color: rgba(255,255,255,0.82);
}

.nw-promo-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    min-height: 42px;

    border-radius: 10px;

    background: #ffffff;

    color: #075e65;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.nw-promo-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.15);
}


/* =========================================================
   SIDEBAR USER
   ========================================================= */

.nw-sidebar-user {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 18px;

    padding: 13px 8px 2px;

    border-top: 1px solid #e3eceb;
}

.nw-user-avatar {
    width: 40px;
    height: 40px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #0b9b83,
            #247cc3
        );

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}

.nw-user-details {
    min-width: 0;
    flex: 1;
}

.nw-user-details strong {
    display: block;

    font-size: 14px;

    color: #263942;
}

.nw-user-details span {
    display: block;

    margin-top: 3px;

    font-size: 12px;

    color: #7b8c92;
}

.nw-user-arrow {
    color: #7b8c92;

    font-size: 18px;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.nw-main {
    flex: 1;

    min-width: 0;

    padding: 36px 42px 55px;

    overflow: hidden;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.nw-mobile-menu {
    display: none;

    width: 46px;
    height: 46px;

    border: 0;

    border-radius: 12px;

    background: #ffffff;

    color: #087e6d;

    font-size: 22px;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.08);

    cursor: pointer;
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.nw-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 28px;
}

.nw-page-kicker {
    display: inline-block;

    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.12em;

    color: #07866f;
}

.nw-page-header h1 {
    margin: 0;

    font-size: clamp(30px, 3vw, 42px);

    line-height: 1.15;

    letter-spacing: -0.03em;

    color: #152c36;
}

.nw-page-header p {
    margin: 9px 0 0;

    font-size: 17px;

    line-height: 1.55;

    color: #697b82;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.nw-header-actions {
    display: flex;

    gap: 11px;

    flex-shrink: 0;
}

.nw-outline-button,
.nw-primary-button {
    min-height: 46px;

    padding: 0 18px;

    border-radius: 11px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.nw-outline-button {
    border: 1px solid #cbdad9;

    background: #ffffff;

    color: #35535c;
}

.nw-primary-button {
    border: 0;

    background:
        linear-gradient(
            135deg,
            #079b83,
            #157fca
        );

    color: #ffffff;

    box-shadow:
        0 8px 20px rgba(8, 143, 125, 0.2);
}

.nw-outline-button:hover,
.nw-primary-button:hover {
    transform: translateY(-2px);
}


/* =========================================================
   KPI GRID
   ========================================================= */

.nw-kpi-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 22px;
}

.nw-kpi-card {
    position: relative;

    padding: 23px;

    min-height: 145px;

    border-radius: 18px;

    border: 1px solid #e0e9e8;

    background: #ffffff;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(28, 63, 70, 0.055);
}

.nw-kpi-card::after {
    content: "";

    position: absolute;

    right: -25px;
    top: -25px;

    width: 95px;
    height: 95px;

    border-radius: 50%;

    opacity: 0.12;
}

.nw-kpi-assets::after {
    background: #08a886;
}

.nw-kpi-liabilities::after {
    background: #e65757;
}

.nw-kpi-networth::after {
    background: #378ad0;
}

.nw-kpi-ratio::after {
    background: #a56cd4;
}

.nw-kpi-title {
    font-size: 15px;
    font-weight: 700;

    color: #687b82;
}

.nw-kpi-card > strong {
    display: block;

    margin-top: 9px;

    font-size: clamp(24px, 2.2vw, 31px);

    line-height: 1.2;

    color: #182f38;
}

.nw-kpi-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-top: 15px;

    font-size: 13px;

    color: #7b8c92;
}

.nw-kpi-bottom b {
    color: #079579;
}


/* =========================================================
   INSIGHT
   ========================================================= */

.nw-insight {
    display: flex;

    align-items: center;

    gap: 16px;

    padding: 19px 21px;

    margin-bottom: 22px;

    border: 1px solid #d8eee8;

    border-radius: 16px;

    background:
        linear-gradient(
            90deg,
            #effaf7,
            #f4fbff
        );
}

.nw-insight-icon {
    width: 45px;
    min-width: 45px;

    height: 45px;

    border-radius: 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #d7f2ea;

    color: #07836f;

    font-size: 20px;
}

.nw-insight-copy {
    flex: 1;
}

.nw-insight-copy strong {
    display: block;

    font-size: 16px;

    color: #193a42;
}

.nw-insight-copy p {
    margin: 4px 0 0;

    font-size: 14px;

    line-height: 1.5;

    color: #647a81;
}

.nw-insight-button {
    border: 0;

    background: transparent;

    color: #087f6c;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;
}


/* =========================================================
   TWO COLUMN
   ========================================================= */

.nw-two-column {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 22px;
}


/* =========================================================
   FINANCIAL PANELS
   ========================================================= */

.nw-financial-panel,
.nw-chart-card,
.nw-info-card,
.nw-quick-actions,
.nw-notes-card {
    background: #ffffff;

    border: 1px solid #e0e9e8;

    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(28, 63, 70, 0.05);
}

.nw-financial-panel {
    overflow: hidden;
}

.nw-panel-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 21px 22px;

    border-bottom: 1px solid #edf2f1;
}

.nw-panel-heading > div {
    display: flex;

    align-items: center;

    gap: 10px;
}

.nw-panel-heading h2 {
    margin: 0;

    font-size: 20px;

    color: #213943;
}

.nw-panel-heading > strong {
    font-size: 19px;

    color: #087e6c;
}

.nw-panel-heading-icon {
    width: 37px;
    height: 37px;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e8f7f3;

    color: #07866f;
}


/* =========================================================
   TABLE HEAD
   ========================================================= */

.nw-table-head {
    display: grid;

    grid-template-columns: 1fr auto;

    padding: 12px 22px;

    background: #f8fbfb;

    color: #819197;

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   FINANCIAL ROW
   ========================================================= */

.nw-financial-list {
    width: 100%;
}

.nw-financial-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    min-height: 63px;

    padding: 9px 22px;

    border-bottom: 1px solid #edf2f1;

    transition:
        background 0.2s ease;
}

.nw-financial-row:hover {
    background: #f8fcfb;
}

.nw-row-name {
    display: flex;

    align-items: center;

    gap: 11px;

    min-width: 0;

    font-size: 15px;
    font-weight: 600;

    color: #344b53;
}

.nw-row-name > span:last-child {
    overflow: hidden;

    text-overflow: ellipsis;
}

.nw-row-icon {
    width: 37px;
    height: 37px;

    min-width: 37px;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
    font-weight: 700;
}

.nw-icon-green {
    background: #ddf6ed;
    color: #078b69;
}

.nw-icon-blue {
    background: #e3f0fc;
    color: #287bc1;
}

.nw-icon-teal {
    background: #dff6f4;
    color: #078f87;
}

.nw-icon-orange {
    background: #fff0dc;
    color: #d47a12;
}

.nw-icon-gold {
    background: #fff5d8;
    color: #bd8a0c;
}

.nw-icon-purple {
    background: #f0e8fb;
    color: #8651bb;
}

.nw-icon-cyan {
    background: #e1f7fb;
    color: #138ba0;
}

.nw-icon-red {
    background: #ffe5e5;
    color: #d24444;
}

.nw-icon-pink {
    background: #fde6f0;
    color: #c63c78;
}

.nw-icon-grey {
    background: #edf0f1;
    color: #69797e;
}

.nw-row-value {
    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.nw-row-value strong {
    font-size: 15px;

    color: #273f47;
}

.nw-row-value small {
    min-width: 45px;

    font-size: 12px;

    color: #849399;

    text-align: right;
}

.nw-row-value > span {
    color: #9aabad;

    font-size: 21px;
}


/* =========================================================
   ADD ROW
   ========================================================= */

.nw-add-row {
    width: 100%;

    min-height: 52px;

    border: 0;

    background: #fbfdfd;

    color: #087f6d;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease;
}

.nw-add-row:hover {
    background: #eef8f5;
}


/* =========================================================
   CHART CARDS
   ========================================================= */

.nw-chart-card {
    padding: 22px;
}

.nw-card-title {
    font-size: 19px;
    font-weight: 800;

    color: #233b44;

    margin-bottom: 20px;
}

.nw-chart-content {
    display: grid;

    grid-template-columns:
        minmax(180px, 0.8fr)
        minmax(200px, 1.2fr);

    align-items: center;

    gap: 22px;
}


/* =========================================================
   DONUT
   ========================================================= */

.nw-donut {
    width: 185px;
    height: 185px;

    border-radius: 50%;

    margin: auto;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        conic-gradient(
            #0a9c83 0deg 115deg,
            #2e86c8 115deg 210deg,
            #7a62ca 210deg 275deg,
            #e7a32b 275deg 325deg,
            #e65a5a 325deg 360deg
        );
}

.nw-liabilities-donut {
    background:
        conic-gradient(
            #e55757 0deg 150deg,
            #e79a2a 150deg 230deg,
            #7c63c7 230deg 285deg,
            #d44d83 285deg 330deg,
            #8c989d 330deg 360deg
        );
}

.nw-donut-hole {
    width: 115px;
    height: 115px;

    border-radius: 50%;

    background: #ffffff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    box-shadow:
        0 2px 10px rgba(0,0,0,0.04);
}

.nw-donut-hole strong {
    font-size: 18px;

    color: #263d45;
}

.nw-donut-hole span {
    margin-top: 4px;

    font-size: 11px;

    color: #849399;
}


/* =========================================================
   LEGEND
   ========================================================= */

.nw-legend {
    display: flex;

    flex-direction: column;

    gap: 10px;

    max-height: 205px;

    overflow-y: auto;
}

.nw-legend-item {
    display: grid;

    grid-template-columns:
        10px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 9px;

    font-size: 13px;

    color: #63777e;
}

.nw-legend-item strong {
    color: #344a52;
}

.nw-legend-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;
}

.nw-dot-green { background: #0a9c83; }
.nw-dot-blue { background: #2e86c8; }
.nw-dot-teal { background: #078f87; }
.nw-dot-orange { background: #e79a2a; }
.nw-dot-gold { background: #d0a027; }
.nw-dot-purple { background: #7c63c7; }
.nw-dot-cyan { background: #28a8bd; }
.nw-dot-red { background: #e55757; }
.nw-dot-pink { background: #d44d83; }
.nw-dot-grey { background: #8c989d; }


/* =========================================================
   THREE COLUMN
   ========================================================= */

.nw-three-column {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 22px;
}

.nw-info-card {
    padding: 22px;
}

.nw-info-card-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-bottom: 16px;

    border-bottom: 1px solid #edf2f1;

    margin-bottom: 12px;
}

.nw-info-card-header h2 {
    margin: 0;

    font-size: 18px;

    color: #253d46;
}

.nw-info-card-header > span {
    font-size: 12px;

    color: #849399;

    font-weight: 700;
}


/* =========================================================
   INFO LIST
   ========================================================= */

.nw-info-list {
    display: flex;

    flex-direction: column;
}

.nw-info-list > div {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 11px 0;

    border-bottom: 1px solid #f0f3f3;

    font-size: 14px;
}

.nw-info-list span {
    color: #687b82;
}

.nw-info-list strong {
    color: #293f47;
}


/* =========================================================
   TOTAL ROW
   ========================================================= */

.nw-total-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-top: 17px;

    font-size: 14px;
    font-weight: 800;

    color: #334b54;
}

.nw-total-row strong {
    color: #07846f;
}


/* =========================================================
   CASH FLOW
   ========================================================= */

.nw-cash-summary {
    display: flex;

    flex-direction: column;

    gap: 11px;
}

.nw-cash-summary > div {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    font-size: 14px;
}

.nw-cash-summary span {
    color: #6c7d83;
}

.nw-positive {
    color: #078d6e;
}

.nw-negative {
    color: #dc4d4d;
}

.nw-surplus {
    margin-top: 3px;

    padding-top: 14px;

    border-top: 1px solid #e9eeee;
}

.nw-surplus strong {
    color: #078d6e;
}

.nw-saving-message {
    display: flex;

    gap: 10px;

    margin-top: 18px;

    padding: 12px;

    border-radius: 12px;

    background: #eef9f5;
}

.nw-saving-icon {
    color: #078d6e;

    font-size: 20px;
}

.nw-saving-message strong {
    display: block;

    font-size: 13px;

    color: #246054;
}

.nw-saving-message p {
    margin: 3px 0 0;

    font-size: 12px;

    color: #71858a;
}


/* =========================================================
   CARD ACTION
   ========================================================= */

.nw-card-action {
    display: inline-flex;

    margin-top: 17px;

    border: 0;

    background: transparent;

    color: #087f6d;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    cursor: pointer;
}


/* =========================================================
   OBLIGATIONS
   ========================================================= */

.nw-obligation-list {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.nw-obligation {
    display: grid;

    grid-template-columns:
        38px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 10px;
}

.nw-obligation-icon {
    width: 38px;
    height: 38px;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
}

.nw-obligation strong {
    display: block;

    font-size: 13px;

    color: #344a52;
}

.nw-obligation small {
    display: block;

    margin-top: 3px;

    font-size: 11px;

    color: #87979c;
}

.nw-obligation > b {
    font-size: 13px;

    color: #3c5158;
}


/* =========================================================
   BOTTOM GRID
   ========================================================= */

.nw-bottom-grid {
    display: grid;

    grid-template-columns:
        1.4fr
        1fr;

    gap: 20px;

    margin-bottom: 22px;
}

.nw-quick-actions,
.nw-notes-card {
    padding: 22px;
}


/* =========================================================
   QUICK ACTIONS
   ========================================================= */

.nw-action-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 11px;
}

.nw-action-tile {
    min-height: 105px;

    border: 1px solid #e1e9e8;

    border-radius: 13px;

    background: #ffffff;

    cursor: pointer;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 12px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.nw-action-tile:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(30,70,80,0.09);
}

.nw-action-tile > span {
    font-size: 24px;
}

.nw-action-tile strong {
    text-align: center;

    font-size: 12px;

    color: #3c5259;
}

.nw-action-green > span { color: #078f6e; }
.nw-action-red > span { color: #df5050; }
.nw-action-blue > span { color: #3286c7; }
.nw-action-orange > span { color: #df9428; }
.nw-action-purple > span { color: #825dc2; }


/* =========================================================
   NOTES
   ========================================================= */

.nw-notes-card textarea {
    display: block;

    width: 100%;

    min-height: 145px;

    resize: vertical;

    padding: 14px;

    border: 1px solid #dce7e6;

    border-radius: 12px;

    outline: none;

    background: #fbfdfd;

    font-family: inherit;

    font-size: 14px;

    line-height: 1.5;

    color: #31484f;
}

.nw-notes-card textarea:focus {
    border-color: #6db8ac;

    box-shadow:
        0 0 0 3px rgba(8, 156, 131, 0.08);
}

.nw-save-note {
    margin-top: 11px;

    min-height: 42px;

    padding: 0 17px;

    border: 0;

    border-radius: 10px;

    background: #087f6d;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}


/* =========================================================
   DISCLAIMER
   ========================================================= */

.nw-disclaimer {
    display: flex;

    align-items: flex-start;

    gap: 11px;

    padding: 16px 18px;

    border: 1px solid #e1e9e8;

    border-radius: 13px;

    background: rgba(255,255,255,0.72);
}

.nw-disclaimer > span {
    color: #0b8b77;

    font-size: 17px;
}

.nw-disclaimer p {
    margin: 0;

    font-size: 13px;

    line-height: 1.55;

    color: #728389;
}


/* =========================================================
   MODAL
   ========================================================= */

.nw-modal {
    position: fixed;

    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    z-index: 10000;
}

.nw-modal.is-open {
    display: flex;
}

.nw-modal-overlay {
    position: absolute;

    inset: 0;

    background:
        rgba(11, 35, 42, 0.58);

    backdrop-filter: blur(4px);
}

.nw-modal-box {
    position: relative;

    width: min(500px, 100%);

    padding: 30px;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 25px 70px rgba(0,0,0,0.22);

    z-index: 2;
}

.nw-modal-close {
    position: absolute;

    right: 16px;
    top: 14px;

    width: 38px;
    height: 38px;

    border: 0;

    border-radius: 10px;

    background: #f1f5f5;

    color: #53656b;

    font-size: 22px;

    cursor: pointer;
}

.nw-modal-box h2 {
    margin: 5px 0 7px;

    font-size: 25px;

    color: #203840;
}

.nw-modal-box > p {
    margin: 0 0 22px;

    font-size: 14px;

    color: #718389;
}

.nw-modal-field {
    margin-bottom: 16px;
}

.nw-modal-field label {
    display: block;

    margin-bottom: 7px;

    font-size: 14px;
    font-weight: 700;

    color: #40565d;
}

.nw-modal-field input {
    width: 100%;

    height: 46px;

    padding: 0 13px;

    border: 1px solid #d6e2e1;

    border-radius: 10px;

    outline: none;

    font-size: 15px;
}

.nw-modal-field input:focus {
    border-color: #0b9b83;

    box-shadow:
        0 0 0 3px rgba(11,155,131,0.08);
}

.nw-modal-submit {
    width: 100%;

    margin-top: 4px;
}


/* =========================================================
   RESPONSIVE — LARGE TABLET
   ========================================================= */

@media (max-width: 1200px) {

    .nw-sidebar {
        width: 245px;
        min-width: 245px;
    }

    .nw-main {
        padding-left: 28px;
        padding-right: 28px;
    }

    .nw-kpi-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .nw-three-column {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .nw-three-column .nw-info-card:last-child {
        grid-column: 1 / -1;
    }

    .nw-action-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .nw-dashboard {
        display: block;
    }

    .nw-sidebar {
        position: fixed;

        left: 0;
        top: 0;
        bottom: 0;

        width: 285px;

        min-height: 100vh;

        transform: translateX(-105%);

        transition:
            transform 0.25s ease;

        z-index: 1000;

        box-shadow:
            10px 0 30px rgba(0,0,0,0.12);
    }

    .nw-sidebar.is-open {
        transform: translateX(0);
    }

    .nw-main {
        width: 100%;

        padding: 25px 22px 45px;
    }

    .nw-mobile-menu {
        display: flex;

        align-items: center;
        justify-content: center;

        margin-bottom: 18px;
    }

    .nw-page-header {
        flex-direction: column;
    }

    .nw-header-actions {
        width: 100%;
    }

    .nw-outline-button,
    .nw-primary-button {
        flex: 1;
    }

    .nw-two-column {
        grid-template-columns: 1fr;
    }

    .nw-chart-content {
        grid-template-columns:
            1fr 1fr;
    }

    .nw-bottom-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .nw-main {
        padding: 18px 14px 35px;
    }

    .nw-page-header h1 {
        font-size: 30px;
    }

    .nw-page-header p {
        font-size: 15px;
    }

    .nw-header-actions {
        flex-direction: column;
    }

    .nw-kpi-grid {
        grid-template-columns: 1fr;
    }

    .nw-three-column {
        grid-template-columns: 1fr;
    }

    .nw-three-column .nw-info-card:last-child {
        grid-column: auto;
    }

    .nw-chart-content {
        grid-template-columns: 1fr;
    }

    .nw-donut {
        width: 165px;
        height: 165px;
    }

    .nw-donut-hole {
        width: 103px;
        height: 103px;
    }

    .nw-financial-row {
        padding-left: 14px;
        padding-right: 14px;
    }

    .nw-table-head {
        padding-left: 14px;
        padding-right: 14px;
    }

    .nw-row-value small {
        display: none;
    }

    .nw-row-name {
        font-size: 14px;
    }

    .nw-row-icon {
        width: 34px;
        min-width: 34px;
        height: 34px;
    }

    .nw-action-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .nw-insight {
        align-items: flex-start;

        flex-wrap: wrap;
    }

    .nw-insight-button {
        width: 100%;

        text-align: left;

        padding-left: 61px;
    }

    .nw-sidebar {
        width: 285px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .nw-main {
        padding-left: 11px;
        padding-right: 11px;
    }

    .nw-kpi-card {
        padding: 19px;
    }

    .nw-chart-card,
    .nw-info-card,
    .nw-quick-actions,
    .nw-notes-card {
        padding: 18px;
    }

    .nw-panel-heading {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nw-action-grid {
        grid-template-columns: 1fr 1fr;
    }
}