body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #334155;
    padding-bottom: 3rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    height: auto;
}

.calculator-list-col > .glass-card {
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.calculator-list-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.calculator-list-main .table-responsive {
    min-height: 0;
}

.calculator-list-main.is-empty .table-responsive {
    flex: 0 0 auto;
}

.calculator-list-main.is-empty #emptyState {
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.calculator-list-main:not(.is-empty) .table-responsive {
    flex: 1 1 auto;
}

.calculator-formula-foot {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #f8f9fa;
}

.calculator-main-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.calculator-main-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.label-xs {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.input-plain {
    border: none;
    background: #f7f7f7;
    font-weight: 700;
    font-size: 1.25rem;
    width: 100%;
    outline: none;
    padding: 5px 10px;
    border-radius: 10px;
}

.table thead th {
    border-top: none;
    background-color: #F6F6F6;
    font-size: 1rem;
    color: #64748b;
}

.total-row {
    background-color: #F2F2F2;
    color: #000000;
}

.total-row td {
    font-size: inherit;
    vertical-align: middle;
}

/*        .text-emerald { color: #e4002b; }*/
.bg-custom-blue {
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
}

.glass-card .btn.btn-red,
.glass-card .btn.btn-white {
    text-transform: none;
}

.glass-card .btn.btn-white:disabled,
.glass-card .btn.btn-white:disabled:hover,
.glass-card .btn.btn-white:disabled:focus,
.glass-card .btn.btn-white:disabled:active {
    background-color: #fff;
    color: #adb5bd;
    border-color: #dee2e6;
    opacity: 1;
    cursor: not-allowed;
    box-shadow: none;
}

.remove-item-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.45);
}

.remove-item-modal.d-none {
    display: none !important;
}

.remove-item-modal-dialog {
    max-width: 400px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.remove-item-modal-dialog .modal-delete-icon {
    font-size: 1.75rem;
    color: #DB0025;
}

#removeItemModal .btn.btn-red,
#removeItemModal .btn.btn-white {
    text-transform: none !important;
}

.remove-item-modal .btn.btn-red {
    background-color: #DB0025;
    border-color: #DB0025;
    color: #fff;
}

.remove-item-modal .btn.btn-red:hover,
.remove-item-modal .btn.btn-red:focus,
.remove-item-modal .btn.btn-red:active {
    background-color: #c40021;
    border-color: #c40021;
    color: #fff;
}

@media print {
    .no-print {
        display: none;
    }
}

html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    background: #fff;
    color: #333;
}

.form-group label {
    font-size: 1rem;
}

section#esc {
    font-weight: 500;
}

#esc .uk-tab li a {
    font-weight: 700;
    font-size: 18px;
}

#resultSection {
    background: #F5FBFF;
    border: #B2D7F1 1px solid;
    border-radius: 10px;
}

#resultSection h4 {
    color: #222;
    font-weight: 600
}

#resultSection h4 small {
    font-size: 17px;
    line-height: 2;
}

.calculatorResult p {
    font-size: 28px;
    font-weight: 600;
    border-bottom: 1px solid #B2D7F1;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

#calculatorSection h2 {
    font-size: 26px;
    font-weight: 600;
    padding-bottom: 25px;
}

#resultBtn {
    border-width: 1px;
    background-color: #DB0025;
    border-color: #DB0025;
    color: #FFF;
    font-weight: 700;
    font-size: 22px;
    border-radius: 100px;
    padding: 10px;
    text-transform: capitalize;
}

.desc h2 {
    font-weight: 700;
    font-size: 38px;
}

.desc i img {
    max-width: 100px;
    padding-right: 20px;
}

.uk-form-label {
    color: #333;
    font-size: .875rem;
    font-weight: 700;
}

@media (max-width: 997px) {
    .desc h2 {
        font-weight: 700;
        font-size: 22px;
        line-height: 2;
    }

    .desc i img {
        max-width: 50px;
        padding-right: 10px;
    }

    #resultBtn {
        font-size: inherit;
    }

    #esc .uk-width-5-6 {
        width: 100%;
    }
}