/* =========================================================
   KISHTIME SPACE — ACCOUNT PORTAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    direction: rtl;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #F1E6D2;
    color: #253b39;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.9;
}

a {
    color: #0D292A;
    text-decoration: none;
    transition: opacity .2s ease;
}

a:hover {
    opacity: .72;
}


/* =========================================================
   HEADER
========================================================= */

header {
    width: 100%;
    min-height: 76px;
    padding: 15px 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    border-bottom: 1px solid rgba(13, 41, 42, .12);
}

header > a.kt-header-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: auto !important;
    height: 34px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

header > a.kt-header-logo img {
    display: block !important;

    width: auto !important;
    height: 30px !important;

    max-width: 125px !important;
    max-height: 30px !important;

    object-fit: contain !important;
    object-position: right center;

    border: 0 !important;
    box-shadow: none !important;
}

.kt-header-tagline {
    color: #68766f;
    font-size: 12px;
}


/* =========================================================
   SHELL
========================================================= */

.shell {
    width: min(1200px, 100%);
    min-height: calc(100vh - 145px);
    margin: 0 auto;
}

.shell:has(> nav) {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
}

.shell:not(:has(> nav)) {
    display: block;
}

.shell:not(:has(> nav)) > main {
    width: min(560px, calc(100% - 32px));
    margin: 0 auto;
    padding: 45px 0 65px;
    border: 0;
}


/* =========================================================
   NAVIGATION
========================================================= */

nav {
    padding: 45px 16px;

    display: flex;
    flex-direction: column;
    gap: 7px;
}

nav a {
    display: block;
    padding: 8px 11px;

    color: #253b39;

    border-radius: 8px;

    font-size: 14px;
}

nav a:hover {
    opacity: 1;
    background: rgba(13, 41, 42, .055);
}


/* =========================================================
   MAIN
========================================================= */

main {
    min-width: 0;
    padding: 48px 6%;
    border-right: 1px solid rgba(13, 41, 42, .12);
}

.eyebrow {
    margin: 0 0 5px;

    color: #6B7A71;

    font-family: Arial, sans-serif;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 3px;

    direction: ltr;
    text-align: right;
}

h1 {
    margin: 0 0 27px;

    color: #0D292A;

    font-size: 29px;
    font-weight: 500;
    line-height: 1.5;
}


/* =========================================================
   LOGIN / REGISTER SEGMENTED CONTROL
========================================================= */

.kt-auth-switch {
    width: 100%;

    margin: 0 0 14px;
    padding: 4px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;

    background: rgba(255, 253, 248, .52);

    border: 1px solid #CFC5B6;
    border-radius: 12px;
}

.kt-auth-switch-item {
    min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px 12px;

    color: #0D292A;
    background: transparent;

    border: 1px solid transparent;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.kt-auth-switch-item:hover {
    opacity: 1;
    background: rgba(13, 41, 42, .05);
}

.kt-auth-switch-item.is-active {
    color: #F1E6D2;
    background: #0D292A;

    border-color: #0D292A;

    box-shadow:
        0 2px 7px rgba(13, 41, 42, .12);

    cursor: default;
}

.kt-auth-switch-item.is-active:hover {
    background: #0D292A;
}


/* =========================================================
   FORM / CARD
========================================================= */

form,
.card {
    width: 100%;
    max-width: 660px;

    margin: 14px 0 20px;
    padding: 28px;

    background: rgba(255, 253, 248, .8);

    border: 1px solid #DED4C4;
    border-radius: 18px;
}

.shell:not(:has(> nav)) form,
.shell:not(:has(> nav)) .card {
    max-width: none;
}


/* =========================================================
   FIELDS
========================================================= */

.kt-field {
    display: block;
    width: 100%;
    margin: 0 0 18px;
}

.kt-field-label {
    display: block !important;
    position: static !important;

    width: 100% !important;

    margin: 0 0 6px !important;
    padding: 0 !important;

    color: #344A46;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.7;

    direction: rtl !important;
    text-align: right !important;

    transform: none !important;
}

input,
select,
textarea {
    display: block;

    width: 100%;
    min-width: 0;

    height: 48px;

    margin: 0;
    padding: 9px 13px;

    color: #253B39;
    background: #FFFDF8;

    border: 1px solid #CFC5B6;
    border-radius: 9px;

    font: inherit;
    direction: rtl;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;

    border-color: #61796C;

    box-shadow:
        0 0 0 3px rgba(97, 121, 108, .12);
}


/* =========================================================
   FIELD HELP
========================================================= */

.kt-field-help {
    display: block !important;
    position: static !important;

    width: 100% !important;

    margin: -12px 0 16px !important;
    padding: 0 2px !important;

    color: #7A857F !important;

    font-size: 10px !important;
    line-height: 1.6 !important;

    direction: rtl !important;
    text-align: right !important;

    transform: none !important;
    float: none !important;
}


/* =========================================================
   PASSWORD
========================================================= */

.kt-password-wrap {
    position: relative !important;

    display: block !important;

    width: 100% !important;
}

.kt-password-wrap input {
    width: 100% !important;
    padding-left: 48px !important;
}

.kt-password-toggle {
    position: absolute !important;

    top: 50% !important;
    left: 8px !important;
    right: auto !important;

    z-index: 3;

    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;

    margin: 0 !important;
    padding: 7px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    transform: translateY(-50%) !important;

    color: #68766F !important;
    background: transparent !important;

    border: 0 !important;
    border-radius: 50% !important;

    box-shadow: none !important;

    cursor: pointer;

    opacity: .8;
}

.kt-password-toggle:hover {
    color: #0D292A !important;
    background: rgba(13, 41, 42, .06) !important;
    opacity: 1;
}

.kt-eye-svg {
    display: block;

    width: 19px;
    height: 19px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;

    pointer-events: none;
}

.kt-eye-slash {
    display: none;
}

.kt-password-toggle.is-visible .kt-eye-slash {
    display: block;
}

.kt-password-toggle.is-visible .kt-eye-outline,
.kt-password-toggle.is-visible .kt-eye-pupil {
    opacity: .55;
}


/* =========================================================
   JALALI DATE
========================================================= */

.date {
    display: block;

    width: 100%;

    margin: 2px 0 20px;
    padding: 13px 12px 12px;

    border: 1px solid #DED4C4;
    border-radius: 11px;
}

.date legend {
    padding: 0 7px;

    color: #6B7A71;

    font-size: 11px;
}

.kt-date-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;
}

.kt-date-field {
    display: block;
    min-width: 0;
    margin: 0;
}

.kt-date-field > span {
    display: block;

    margin: 0 0 4px;

    color: #6B7A71;

    font-size: 10px;
}

.kt-date-field select {
    width: 100%;
    height: 44px;

    padding: 7px 9px;

    font-size: 12px;
}


/* =========================================================
   BUTTONS
========================================================= */

button,
.button {
    min-height: 48px;

    padding: 11px 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #F1E6D2;
    background: #0D292A;

    border: 0;
    border-radius: 9px;

    font: inherit;

    cursor: pointer;
}

.kt-form > button[type="submit"],
.kt-form > button:not([type]) {
    width: 100%;
    margin-top: 3px;
    font-weight: 600;
}

.kt-form .kt-password-toggle {
    min-height: 34px !important;
    width: 34px !important;
}


/* =========================================================
   NOTICE
========================================================= */

.notice {
    width: 100%;
    max-width: 660px;

    margin: 15px 0;
    padding: 13px 15px;

    color: #4D493C;
    background: #FFF8E7;

    border-right: 3px solid #7B7250;
    border-radius: 7px;

    font-size: 13px;
}


/* =========================================================
   LINKS
========================================================= */

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.kt-login-links {
    justify-content: center;
    margin-top: 15px;

    font-size: 12px;
}

.kt-login-links a + a {
    position: relative;
}

.kt-login-links a + a::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;

    width: 1px;
    height: 12px;

    background: rgba(13, 41, 42, .18);

    transform: translateY(-50%);
}

.kt-activation-link {
    display: block;

    width: 100%;

    margin-top: 18px;

    color: #0D292A;

    text-align: center;
    font-size: 13px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 22px 6%;

    color: #6B7A71;

    border-top: 1px solid rgba(13, 41, 42, .12);

    font-size: 11px;
    text-align: center;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    header {
        min-height: 68px;
        padding: 14px 5%;
    }

    header > a.kt-header-logo {
        height: 31px !important;
    }

    header > a.kt-header-logo img {
        height: 27px !important;
        max-width: 110px !important;
        max-height: 27px !important;
    }

    .kt-header-tagline {
        display: none;
    }

    .shell,
    .shell:has(> nav) {
        display: block;
        width: 100%;
    }

    nav {
        width: 100%;

        padding: 12px 5%;

        flex-direction: row;
        gap: 8px;

        overflow-x: auto;
        white-space: nowrap;

        border-bottom:
            1px solid rgba(13, 41, 42, .12);

        scrollbar-width: none;
    }

    nav::-webkit-scrollbar {
        display: none;
    }

    nav a {
        flex: 0 0 auto;

        padding: 7px 9px;

        font-size: 12px;
    }

    main {
        width: 100%;

        padding: 30px 5% 50px;

        border: 0;
    }

    .shell:not(:has(> nav)) > main {
        width: min(100% - 28px, 560px);

        padding: 34px 0 50px;
    }

    h1 {
        margin-bottom: 22px;

        font-size: 24px;
    }

    form,
    .card {
        padding: 20px;

        border-radius: 15px;
    }

    input,
    select,
    textarea {
        font-size: 16px;
    }

    .kt-auth-switch {
        padding: 3px;
    }

    .kt-auth-switch-item {
        min-height: 42px;
        font-size: 12px;
    }

    .kt-date-grid {
        gap: 8px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {

    .shell:not(:has(> nav)) > main {
        width: calc(100% - 22px);
    }

    form,
    .card {
        padding: 17px;
    }

    .kt-date-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .kt-date-field select {
        height: 46px;
    }
}

/* =========================================================
   KISHTIME — MOBILE BOTTOM NAVIGATION
========================================================= */

.kt-mobile-bottom-nav {
    display: none;
}

@media (max-width: 700px) {

    /* Bottom navigation replaces the old horizontal account menu. */
    .kt-account-sidebar {
        display: none !important;
    }

    body {
        padding-bottom:
            calc(82px + env(safe-area-inset-bottom));
    }

    main {
        padding-bottom: 68px;
    }

    footer {
        padding-bottom: 18px;
    }

    .kt-mobile-bottom-nav {
        position: fixed;

        right: 10px;
        left: 10px;
        bottom:
            calc(8px + env(safe-area-inset-bottom));

        z-index: 9000;

        display: grid;
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 3px;

        width: auto;

        margin: 0;
        padding: 7px;

        direction: rtl;

        background:
            rgba(255, 253, 248, .96);

        border:
            1px solid rgba(13, 41, 42, .14);

        border-radius: 18px;

        box-shadow:
            0 10px 32px rgba(13, 41, 42, .16);

        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .kt-mobile-bottom-nav .kt-mobile-nav-item {
        min-width: 0;
        min-height: 54px;

        margin: 0;
        padding: 6px 2px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 3px;

        color: #53645F;
        background: transparent;

        border: 0;
        border-radius: 12px;

        box-shadow: none;

        font: inherit;
        font-size: 10px;
        font-weight: 500;
        line-height: 1.25;

        white-space: nowrap;

        cursor: pointer;

        -webkit-tap-highlight-color:
            transparent;
    }

    .kt-mobile-bottom-nav
    .kt-mobile-nav-item:hover,

    .kt-mobile-bottom-nav
    .kt-mobile-nav-item:focus-visible {

        opacity: 1;

        color: #0D292A;

        background:
            rgba(13, 41, 42, .07);

        outline: none;
    }

    .kt-mobile-bottom-nav
    .kt-mobile-nav-item.is-active {

        color: #F1E6D2;
        background: #0D292A;
    }

    .kt-mobile-bottom-nav svg {
        width: 21px;
        height: 21px;

        fill: none;

        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;

        pointer-events: none;
    }

    /*
       Support is available in the bottom bar,
       so the separate floating launcher is hidden
       on account mobile pages.
    */

    #kt-support .kt-chat-launcher {
        display: none !important;
    }

    #kt-support .kt-chat-window {
        z-index: 9100;
    }
}


/* KISHTIME - BIG HEADER LOGO */

.kt-header-logo {
    width: 150px !important;
    height: 110px !important;
    overflow: visible !important;
}

.kt-header-logo img {
    width: 150px !important;
    height: 110px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
}

@media (max-width: 768px) {
    .kt-header-logo {
        width: 120px !important;
        height: 90px !important;
    }

    .kt-header-logo img {
        width: 120px !important;
        height: 90px !important;
    }
}
/* KishTime - WiFi & Printer Icons */

.kt-connection-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 12px;
    background: #0D292A;
    color: #F1E6D2;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

.kt-connection-trigger svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kt-connection-trigger:hover {
    background: #194344;
}
/* KishTime Connection Popup - Layout Fix */

#kt-connection-overlay[hidden],
#kt-connection-fields[hidden] {
    display: none !important;
}

#kt-connection-overlay:not([hidden]) {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    background: rgba(5, 25, 26, 0.65) !important;
    box-sizing: border-box !important;
}

#kt-connection-overlay .kt-connection-dialog {
    width: 100% !important;
    max-width: 420px !important;
    max-height: 85dvh !important;
    overflow-y: auto !important;
    padding: 24px !important;
    background: #F1E6D2 !important;
    color: #0D292A !important;
    border-radius: 18px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
    box-sizing: border-box !important;
}

.kt-connection-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.kt-connection-dialog-head h2 {
    margin: 0;
    font-size: 20px;
}

.kt-connection-close {
    border: 0;
    background: transparent;
    color: #0D292A;
    font-size: 30px;
    cursor: pointer;
}

.kt-connection-fields:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kt-connection-field-row {
    display: flex;
    gap: 8px;
}

.kt-connection-field-row input {
    flex: 1;
    min-width: 0;
    padding: 12px;
    border: 1px solid #d5ccbc;
    border-radius: 8px;
    background: #fff;
    color: #0D292A;
}

.kt-connection-field-row button {
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    background: #0D292A;
    color: #F1E6D2;
    cursor: pointer;
}

@media (max-width: 600px) {
    #kt-connection-overlay:not([hidden]) {
        padding: 16px !important;
    }

    #kt-connection-overlay .kt-connection-dialog {
        padding: 20px !important;
    }
}
/* =========================================================
   MOBILE NAV — FINAL RESPONSIVE CONFIGURATION
   Consolidated from the previous mobile overrides.
========================================================= */
@media (max-width: 768px) {
    .kt-account-sidebar { display: none !important; }
    body { padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }

    .kt-mobile-bottom-nav {
        position: fixed !important;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        align-items: center !important;
        gap: 0 !important;
        bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
        box-sizing: border-box !important;
        direction: rtl;
        transform: none !important;
        overflow: hidden !important;
        z-index: 9999 !important;
        background: #0D292A !important;
        border: 1px solid rgba(241, 230, 210, .15) !important;
        border-radius: 18px !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, .22) !important;
    }
    .kt-mobile-bottom-nav > .kt-mobile-nav-item {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 6px 0 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        white-space: nowrap !important;
        color: #F1E6D2 !important;
        background: transparent !important;
        border: 0 !important;
    }
    .kt-mobile-bottom-nav .kt-mobile-nav-item svg {
        width: 21px !important;
        height: 21px !important;
        min-width: 21px !important;
        flex-shrink: 0 !important;
        stroke: #F1E6D2 !important;
        fill: none !important;
    }
    .kt-mobile-bottom-nav .kt-mobile-nav-item span {
        display: block !important;
        width: 100% !important;
        font-size: clamp(8px, 2.5vw, 11px) !important;
        line-height: 1.4 !important;
        text-align: center !important;
        white-space: nowrap !important;
        color: #F1E6D2 !important;
    }
    .kt-mobile-bottom-nav .kt-mobile-nav-item:active {
        background: rgba(241, 230, 210, .12) !important;
        border-radius: 10px !important;
    }
    .kt-mobile-bottom-nav > :nth-child(1) { order: 3 !important; }
    .kt-mobile-bottom-nav > :nth-child(2) { order: 4 !important; }
    .kt-mobile-bottom-nav > :nth-child(3) { order: 5 !important; }
    .kt-mobile-bottom-nav > :nth-child(4) { order: 2 !important; }
    .kt-mobile-bottom-nav > :nth-child(5) { order: 1 !important; }
}

/* KishTime - Multiple Wi-Fi Networks */

#kt-wifi-network-list {
    display: grid;
    gap: 14px;
    margin: 16px 0;
    max-height: 55vh;
    overflow-y: auto;
}

#kt-wifi-network-list[hidden] {
    display: none !important;
}

.kt-wifi-network-card {
    min-width: 0;
    padding: 17px;
    border: 1px solid #ded3c0;
    border-radius: 14px;
    background: #fffaf1;
}

.kt-wifi-network-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #0D292A;
}

.kt-wifi-network-heading strong {
    font-size: 15px;
}

.kt-wifi-network-heading span {
    font-size: 11px;
    direction: ltr;
    color: #667b76;
    white-space: nowrap;
}

.kt-wifi-field {
    margin-top: 12px;
    min-width: 0;
}

.kt-wifi-field label {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    color: #536963;
}

.kt-wifi-field-row {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.kt-wifi-field-row input {
    flex: 1;
    width: 0;
    min-width: 0;
    padding: 11px;
    border: 1px solid #ddd3c1;
    border-radius: 9px;
    background: #fff;
    color: #0D292A;
    font-size: 13px;
}

.kt-wifi-copy-btn {
    flex: 0 0 auto;
    padding: 10px 15px;
    border: 0;
    border-radius: 9px;
    background: #0D292A;
    color: #F1E6D2;
    font-size: 12px;
    cursor: pointer;
}

.kt-wifi-copy-btn:hover {
    opacity: .88;
}

@media (max-width: 480px) {
    .kt-wifi-network-card {
        padding: 13px;
    }

    .kt-wifi-field-row {
        gap: 6px;
    }

    .kt-wifi-copy-btn {
        padding: 10px 12px;
    }
}

/* KishTime Wi-Fi Modal — Layout Fix */

#kt-connection-overlay,
#kt-connection-overlay * {
    box-sizing: border-box;
}

#kt-connection-overlay {
    overflow-x: hidden;
}

#kt-wifi-network-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    max-height: min(58vh, 520px);
    overflow-x: hidden !important;
    overflow-y: auto;
    padding: 2px 4px 2px 2px;
    margin: 12px 0 0;
    scrollbar-width: thin;
    scrollbar-color: #A6A49B transparent;
}

#kt-wifi-network-list[hidden] {
    display: none !important;
}

.kt-wifi-network-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 14px;
    margin: 0;
    flex-shrink: 0;
}

.kt-wifi-network-heading {
    margin: 0 0 10px;
}

.kt-wifi-field {
    display: block;
    margin: 8px 0 0;
    padding: 0;
}

.kt-wifi-field label {
    display: block;
    margin: 0 0 5px;
    padding: 0;
    line-height: 1.5;
}

.kt-wifi-field-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.kt-wifi-field-row input {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    height: 44px;
}

.kt-wifi-copy-btn {
    flex: 0 0 50px;
    width: 50px;
    height: 44px;
    margin: 0;
    padding: 0;
}

@media (max-width: 480px) {
    .kt-wifi-network-card {
        padding: 12px;
    }

    #kt-wifi-network-list {
        max-height: 60vh;
    }
}

/* =========================================================
   WALLET — RESPONSIVE CARDS AND JALALI TRANSACTION DATE
========================================================= */
.kt-wallet-page,
.kt-wallet-page .card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.kt-wallet-page .card { overflow-wrap: anywhere; }
.kt-wallet-page .kt-credit-balance {
    max-width: 100%;
    overflow-wrap: anywhere;
}
.kt-wallet-transactions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-width: 0;
}
.kt-wallet-page .kt-wallet-transaction {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 16px;
    border: 1px solid #e3d7c2;
    border-radius: 14px;
    background: #fff9f0;
    box-sizing: border-box;
}
.kt-wallet-page .kt-wallet-transaction > div {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}
.kt-wallet-transaction strong {
    display: block;
    font-size: 14px;
    line-height: 1.7;
    color: #0D292A;
}
.kt-wallet-page .kt-wallet-transaction .kt-wallet-date {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 6px 0 0;
    color: #68756f;
    font-size: 12px;
    line-height: 1.6;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
    text-align: left;
    font-variant-numeric: tabular-nums;
}
.kt-wallet-page .kt-wallet-transaction > span {
    flex: 0 0 auto;
    max-width: 100%;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
}
.kt-wallet-positive { color: #216044; }
.kt-wallet-negative { color: #a23f35; }
@media (max-width: 768px) {
    .kt-wallet-page {
        margin: 0;
        padding: 0 12px 110px;
    }
    .kt-wallet-page .card {
        margin: 0 0 16px;
        padding: 20px 16px;
    }
    .kt-wallet-page .kt-wallet-transaction {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px;
    }
    .kt-wallet-page .kt-wallet-transaction > span {
        align-self: flex-start;
    }
}
@media (max-width: 360px) {
    .kt-wallet-page .kt-wallet-transaction .kt-wallet-date {
        font-size: 11px;
    }
}
