body {
    /* background-color: rgb(250, 255, 258); */
}

[v-cloak] {
    display: none;
}

.link-active,
.nav-link:hover {
    /* color: darkblue; */
    text-decoration: underline;
    text-underline-offset: 8px;
    /* text-decoration-color: red */
    font-weight: bold;
}

select.no-arrow {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.no-boarder {
    border: none;
}

.hidden {
    display: none;
}

.nav-main {
    /* font-weight: bold; */
}

.recipe-item:hover,
.recipe-item:active {
    /*font-size: x-large;*/
}

.recipe-item:hover .hidden,
.recipe-item:active .hidden {
    display: inline;
}


.ingredient-selected,
.ingredient-selected:hover {
    background-color: #fffffa;
    /* text-underline-offset: 5px; */
}

.form-label {
    font-weight: bold;
}

.small-text {
    font-size: small !important;
}

div.header {
    font-size: small !important;
    /* font-weight: bold; */
}

td {
    min-width: 50px;
}

.td-input {
    width: 100px
}

.xscroll {
    overflow-x: auto;
}

.table-compact td {
    font-size: 12px;
    /* padding: 0px; */
    vertical-align: middle;
}

.tableFixHead {
    overflow: auto;
    max-height: 500px !important;
}

.tableFixHead thead th {
    position: sticky !important;
    top: 0;
    z-index: 1;
}

input[type=number] {
    text-align: right;
}

/* .plan-year {
    height: 20px;
} */

.plantable {
    width: auto;
    /* min-width: 1080px; */
    overflow-x: scroll;
}

.plantable td.number-cell {
    width: 70px;
    z-index: -999;
}

.plantable td.number-cell label {
    /* font-size: 10px; */
    width: 50px;
    color: blue;
    margin-right: 1px;
    text-align: right;
    text-decoration: underline dashed 1px;
    /* font-weight: bold; */
}

.plantable td.unit-cell {
    min-width: 50px;
    z-index: -999;
    max-width: 200px !important;
}


.plantable th,
.plantable td {
    border: 1px solid #89c4ff;
    text-align: center;
    color: #333;
    padding: 2px;
    width: 70px;
}

.plantable th {
    background-color: #89c4ff;
    border: 2px solid #0080ff;
    /* color: #fff */
}

.plantable .title {
    font-family: '宋体';
}

.plantable .sep-cell {
    border: 2px solid black;
}

.plantable .cell-plan {

    background-color: #eff;
    /*border-left: 2px solid #0080ff;*/
    border-top: 2px solid #0080ff;

}

.plantable .cell-actual {
    background-color: #d8ebff;
    border-top: 2px solid #0080ff;
    border-right: 2px solid black;
}

.plantable .cell-total {
    background-color: #eee;
    /*border-top: 2px solid black !important;*/
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}

.plantable .cell-actual .cell-total {
    border-right: 2px solid black !important;
}

.plantable td div {
    padding: 0 5px;
}


.plantable .row-head {
    position: sticky;
    left: 0;
}

.plantable a.cell-btn {
    font-size: 12px;
    text-align: left;
    padding: 0px;
    margin: 0px;
}

/* .plan-entry {
} */
/* .plantable td, .plantable th {
    border-bottom: 1px solid #333;
} */
.plantable td div {
    font-size: small;
    vertical-align: middle;
    margin: 2px 0;
}

input.plan-entry {
    width: 50px;
    text-align: right;
    font-size: small;
    margin-right: 5px;
}

.plan-entry::-webkit-outer-spin-button,
.plan-entry::-webkit-inner-spin-button {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    margin: 0;
}

select.plan-entry {
    width: 80%;
    text-align: center;
}

.plan-entry-selected {
    color: blue;
    background-color: beige;
}

#tb_daily_record tr:nth-of-type(odd) {
    background-color: azure;
}

#tb_daily_record tr:nth-of-type(even) {
    background-color: #ffffff;
}

select.unit-sel {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    background-color: snow;
    font-size: smaller;
    border: 0px;
    border-bottom: 1px dashed;
}

select.unit-sel.pot {
    color: #333;
}

select.unit-sel.bag {
    color: blue;
}

td.daily-cell {
    width: 200px;
    text-align: center;
    vertical-align: middle;
}


#successMsg {
    display: none;
    position: fixed;
    /* bottom: 0; */
    top: 0;
    width: 100%;
    background-color: aliceblue;
    color: green;
    text-align: center;
    height: 50px;
    padding: 5px;
    font-size: 15px;
    user-select: none;
}

.xs-text {
    font-size: 12px;
}

.digits-text {
    width: 150px;
    margin-right: 2px;
    text-align: right;
}


table.overview td {
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid #eee;
}

table.overview .text-danger {
    text-align: right;
    font-size: 12px;
}

table.overview tr td:first-child {
    text-align: left;
    border-left: 1px solid #eee;
}

table.overview input {
    max-width: 120px;
    text-align: right;
}

table.overview input:read-only {
    border: 0px;
}

.diary-input {
    text-align: right;
    width: 100px;
    margin-right: 2px;
}

.font-effect-neon {
    text-shadow: 0 0 0.1em #fff, 0 0 0.2em #fff, 0 0 0.3em #fff, 0 0 0.4em #eee, 0 0 0.6em #0f0, 0 0 0.8em #0f0, 0 0 1.0em #0f0, 0 0 1.2em #0f0;
    font-weight: bold;
    /* color: #000; */
}

table.overview .data_cell,
table.overview input,
table.plantable .number-cell,
input[type=number] {
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

table.overview .data_cell {
    /* width: 100%; */
    text-align: right;

}

#inventory_item_table th {
    /* background-color: #bbb; */
}

tr.item-row-main {
    /* font-weight: bold; */
    background-color: #fffff1;
}

tr.item-row-main td {
    vertical-align: middle;
}

tr.item-row {
    font-size: 13px;
}

tr.item-row td {
    padding: 2px 5px;
}

#inventory_item_table.table-hover tbody tr:hover {
    background-color: #effffd;
}

#inventory_item_table td button {
    padding: 2px;
}

tr.io-1 {
    background-color: #eefff3;
}

tr.io-0 {
    background-color: #D6FFFF;
}

table.overview div.need_repln {
    color: #dc3545;
    font-weight: bold;
    /* font-size: 13px; */
}

table.overview div.not_need_repln {
    color: #6c757d;
    font-size: 12px;
}

.btn-xs {
    border-radius: 5px;
    box-shadow: 2px 2px 2px 1px #eee;
    font-size: 0.7em;
    padding: 2px 5px;
}

@media print {

    .no-print,
    .no-print * {
        display: none !important;
    }

    button {
        display: none !important;
    }
}


tr.row-sum {
    background-color: #eee;
    height: 10px !important;
}

tr.row-sum td,
tr.row-sum th {
    padding: 5;
    margin: 0;
    font-size: small;
}

.no-spin::-webkit-outer-spin-button,
.no-spin::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spin {
    -moz-appearance: textfield;
}

[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;

    background: black;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease; /* appear fast */
}

[data-tooltip]:hover::after {
    opacity: 1;
}

/* Navigation Link Styling */
.nav-link {
    color: #4a5568 !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.nav-link:hover {
    background-color: #f8f9fa;
    color: #0d6efd !important;
}

.nav-link i {
    font-size: 1.1rem;
}

/* Active State (add this class via JS based on current URL) */
.nav-link.link-active {
    color: #0d6efd !important;
    background-color: #f8f9fa;
}

/* Clean up the logo */
.navbar-brand {
    letter-spacing: -0.5px;
}