:root {
    --yantra-pink: #f46e8f;
    --yantra-navy: #00244a;
    --yantra-navy-2: #07396d;
    --yantra-gold: #dce463;
    --yantra-cream: #eacfba;
    --yantra-green: #28a745;
    --ink: #111827;
    --line: #191919;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--yantra-pink);
    color: var(--ink);
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    margin: 0;
}

a {
    color: var(--yantra-navy);
    font-weight: 700;
    text-decoration: none;
}

.app-page {
    min-height: 100vh;
}

.login-page {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.legacy-shell {
    border-collapse: collapse;
    margin: 0 auto;
    table-layout: fixed;
    width: 1000px;
}

.legacy-shell td {
    background: transparent;
    border: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    padding: 0;
}

.shell-pad {
    width: 35px;
}

.pink-row {
    background: var(--yantra-pink) !important;
    height: 24px;
}

.pink-row.right {
    text-align: right;
}

.pink-row form {
    display: inline;
    margin: 0;
}

.boldText {
    color: #000;
    font-size: 13px;
    font-weight: 700;
}

.balanceText {
    color: #000;
    font-size: 18px;
    font-weight: 700;
}

.Label4 {
    color: #000;
    font-size: 13px;
    font-weight: 700;
}

.legacy-tabs {
    align-items: end;
    display: flex;
    gap: 0;
    min-height: 30px;
}

.legacy-tabs a {
    border-left: 1px solid #7a7a7a;
    border-right: 1px solid #7a7a7a;
    border-top: 1px solid #7a7a7a;
    color: #000;
    display: inline-flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    height: 27px;
    justify-content: center;
    min-width: 130px;
    padding-top: 6px;
}

.tab-on {
    background: #ffeeb4;
}

.tab-off {
    background: #d4d4d4;
}

.legacy-small-button,
.btn,
button {
    background: var(--yantra-navy);
    border: 1px solid #000;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    min-height: 30px;
    padding: 8px 12px;
    text-align: center;
}

.legacy-small-button:hover,
.btn:hover,
button:hover {
    background: var(--yantra-navy-2);
}

.container {
    background: #fff;
    border: 0;
    margin: 0 auto;
    max-width: 1000px;
    min-height: 520px;
    padding: 0 35px 12px;
}

.login-container {
    max-width: 760px;
    padding: 24px;
    width: 100%;
}

.legacy-login-wrap {
    margin: 0 auto;
    max-width: 360px;
    padding-top: 110px;
}

.legacy-login-panel {
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.legacy-login-heading {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 15px;
    text-align: center;
}

.legacy-login-body {
    padding: 15px;
}

.login-brand-line {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 12px;
}

.login-brand-line img {
    height: 35px;
    width: auto;
}

.captcha-row {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.captcha-box {
    background: #ffeeb4;
    border: 1px solid #999;
    color: #333;
    flex: 1;
    font-family: "Courier New", monospace;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 9px;
    text-align: center;
}

.captcha-change {
    background: #5cb85c;
    border: 1px solid #4cae4c;
    min-height: 32px;
    padding: 8px 10px;
}

.card,
.panel {
    background: #fff;
    border: 2px solid var(--line);
    margin-bottom: 12px;
    padding: 12px;
}

.panel-title,
.card h1,
.card h2,
.panel h1,
.panel h2 {
    background: var(--yantra-navy);
    color: var(--yantra-gold);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin: -12px -12px 12px;
    padding: 8px 10px;
}

.grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.menu-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.stat-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.stat-box {
    background: var(--yantra-cream);
    border: 2px inset #000;
    font-weight: 700;
    padding: 12px;
}

.stat-box strong {
    display: block;
    font-size: 20px;
    margin-top: 4px;
}

input,
select {
    background: #fff;
    border: 1px solid #222;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 30px;
    padding: 6px 8px;
    width: 100%;
}

label {
    color: #000;
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.field {
    margin-bottom: 10px;
}

.login-submit {
    background: #5cb85c;
    border: 1px solid #4cae4c;
    border-radius: 4px;
    color: #fff;
    display: block;
    font-size: 18px;
    font-weight: 700;
    min-height: 46px;
    width: 100%;
}

.alert {
    border: 2px solid #000;
    font-weight: 700;
    margin-bottom: 12px;
    padding: 10px;
}

.alert.error {
    background: #ffe0e0;
    color: #8b0000;
}

.alert.status {
    background: #e2ffe2;
    color: #145214;
}

table {
    border-collapse: separate;
    border-spacing: 2px;
    width: 100%;
}

th {
    background: var(--yantra-navy);
    color: var(--yantra-gold);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    padding: 6px;
    text-align: left;
}

td {
    background: #fff;
    border: 1px inset #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    padding: 6px;
}

.muted {
    color: #333;
    font-size: 12px;
}

.coupon-total {
    background: var(--yantra-cream);
    border: 2px inset #000;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 10px;
    padding: 8px 10px;
}

.receipt-actions {
    margin-top: 12px;
}

.entry-meta {
    border-collapse: collapse;
    margin-bottom: 0;
    width: 100%;
}

.entry-meta td {
    background: var(--yantra-pink);
    border: 0;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    padding: 4px;
}

.legacy-date,
.legacy-time {
    display: inline-block;
    margin-left: 4px;
    margin-right: 10px;
    min-height: 24px;
    padding: 2px 4px;
    width: auto;
}

.coupon-grid {
    background: #ffeeb4;
    border: 1px solid #000;
    border-collapse: separate;
    border-spacing: 1px;
    table-layout: fixed;
    width: 100%;
}

.coupon-grid th {
    background: #ffeeb4;
    border: 1px inset #000;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    height: 35px;
    padding: 2px;
    text-align: center;
}

.coupon-grid td {
    background: #fff;
    border: 1px inset #000;
    color: #000;
    font-size: 12px;
    height: 25px;
    padding: 2px;
    text-align: center;
}

.coupon-grid .Trbgcolor td {
    background: #f7e6c8;
}

.coupon-grid .Label1 {
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
}

.coupon-grid .td_content {
    text-align: center;
}

.cell_text {
    border: 1px solid #666;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    height: 20px;
    min-height: 20px;
    padding: 1px 2px;
    text-align: center;
    width: 38px;
}

.all-cell {
    width: 32px;
}

.legacy-action-row {
    background: var(--yantra-pink);
    padding: 8px 0;
    text-align: center;
}

.sumbitButton {
    background: var(--yantra-navy);
    border: 0;
    color: #fff;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    height: 28px;
    min-height: 28px;
    min-width: 85px;
    padding: 4px 12px;
}

.right {
    text-align: right;
}

.legacy-dashboard {
    border-collapse: collapse;
    min-height: 520px;
    width: 100%;
}

.legacy-dashboard td {
    border: 0;
    vertical-align: top;
}

.legacy-side {
    background: var(--yantra-pink) !important;
    width: 190px;
}

.legacy-main {
    background: #fff !important;
    padding: 8px !important;
    width: 810px;
}

.navbar {
    padding-top: 8px;
}

.mainDiv {
    margin-bottom: 5px;
}

.topItem {
    background: var(--yantra-navy);
    border: 1px solid #001326;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 8px;
}

.subMenu {
    background: #fff;
    border-left: 1px solid #001326;
    border-right: 1px solid #001326;
}

.subItem a {
    border-bottom: 1px solid #ddd;
    color: #000;
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 8px;
}

.subItem a:hover {
    background: #ffeeb4;
}

.summary-table th {
    text-align: center;
}

@media (max-width: 720px) {
    .legacy-shell,
    .container {
        min-width: 1000px;
    }

    .login-container {
        min-width: 360px;
    }
}
