/* Medibox v350 — debt-age setting + debt notifications */
body.app-body .debt-setting-card {
    margin: 0 0 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid #dde5ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(28, 40, 70, .045);
}
body.app-body .debt-setting-copy {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
body.app-body .debt-setting-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border: 1px solid #f3dfbc;
    border-radius: 12px;
    background: #fffaf0;
    color: #a16207;
}
body.app-body .debt-setting-icon .ui-icon { width: 19px; height: 19px; }
body.app-body .debt-setting-copy > div { min-width: 0; display: grid; gap: 2px; }
body.app-body .debt-setting-copy small {
    color: #9a6a17;
    font-size: 8.5px;
    font-weight: 850;
    letter-spacing: .09em;
}
body.app-body .debt-setting-copy strong { color: #263247; font-size: 14px; line-height: 1.2; }
body.app-body .debt-setting-copy span { color: #7a8596; font-size: 10.5px; line-height: 1.4; }
body.app-body .debt-setting-form {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
body.app-body .debt-setting-form label { margin: 0; color: #697586; font-size: 10px; font-weight: 750; white-space: nowrap; }
body.app-body .debt-setting-input-wrap {
    height: 34px;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d9e1eb;
    border-radius: 9px;
    background: #fff;
}
body.app-body .debt-setting-input-wrap:focus-within { border-color: #9ba8e8; box-shadow: 0 0 0 3px rgba(79,70,229,.08); }
body.app-body .debt-setting-input-wrap input {
    width: 64px;
    height: 32px;
    padding: 0 7px 0 10px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #273249;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    text-align: right;
}
body.app-body .debt-setting-input-wrap b {
    height: 100%;
    padding: 0 9px 0 7px;
    display: inline-flex;
    align-items: center;
    border-left: 1px solid #edf0f4;
    background: #f8fafc;
    color: #7a8596;
    font-size: 9px;
    font-weight: 750;
}
body.app-body .debt-setting-form .btn { min-height: 34px; padding: 6px 12px; font-size: 10px; border-radius: 9px; }

body.app-body .notification-item.notification-item-debt .notification-item-icon {
    color: #a16207;
    background: #fff8e8;
    border-color: #f3dfbc;
}
body.app-body .notification-item.notification-item-debt .notification-item-copy em {
    color: #7c4a08;
    font-style: normal;
    font-weight: 650;
}
body.app-body .notification-item.notification-item-debt .notification-item-date { color: #9a670d; }
body.app-body .notification-popover-footer-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
body.app-body .notification-popover-footer-split a { white-space: nowrap; }

@media (max-width: 900px) {
    body.app-body .debt-setting-card { align-items: flex-start; flex-direction: column; }
    body.app-body .debt-setting-form { width: 100%; flex-wrap: wrap; }
}
@media (max-width: 520px) {
    body.app-body .debt-setting-form label { width: 100%; }
    body.app-body .debt-setting-input-wrap { flex: 1 1 140px; }
    body.app-body .debt-setting-form .btn { flex: 0 0 auto; }
}
