/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

table.table.text-small {
    font-size: 0.8em;
}

table.table.text-small th,
table.table.text-small td {
    padding: 0.3rem 0.5rem;
    vertical-align: middle;
}

table.table.text-small thead th {
    padding: 0.4rem 0.5rem;
}

.card-body > table.table.text-small {
    margin-bottom: 0;
}

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

table.text-small .btn-sm,
table.text-small .btn-group-sm > .btn {
    font-size: 0.75em;
    padding: 0.15rem 0.35rem;
    line-height: 1.3;
}

table.text-small .btn-sm i,
table.text-small .btn-group-sm > .btn i {
    font-size: 0.85em;
}

table.table-zak tbody td,
table.table-zak tfoot td, 
table.table-zak tfoot th {
    text-align: center;
    padding:4px;
}

table.table-bordered {
    border-color: #dedede
}

table.table-bordered-none {
    border:none
}

table.table-zak  {
    border: 1px solid #000;
    color: #000;
}
table.table-zak thead th {
    background-color: #9ec981;
    vertical-align: middle;
}

table.mb-0 {
    margin-bottom: 0;
}

table.table-fixed {
    table-layout: fixed
}

.radio-padding  {
    padding-top: 8px;
}

.label-amount {
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.card-title-zak {
    background-color: #9ec981;
    padding: 4px;
}

.empty-label {
    margin-top: 13px;
}

.tiada-transaksi {
    font-style: italic;
    padding: 10px !important;
}

.text-uppercase {
    text-transform: uppercase;
}

.zak-logo > img {
    height: 35px;
}

/* Hide empty navbar-brand-box */
.navbar-brand-box {
    display: none !important;
}

#page-topbar {
    left: 250px;
}

.vertical-menu {
    top: 0 !important;
}

body.vertical-collpsed #page-topbar {
    left: 70px;
}

/* Sidebar logo */
#sidebar-logo {
    background: #2a3042;
    padding: 0;
    text-align: center;
}

#sidebar-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.form-control {
    text-transform: none;
}

/* Seragamkan saiz input, select, textarea — lebih compact */
.form-control,
.form-select {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
    height: auto;
}

textarea.form-control {
    padding: 0.4rem 0.6rem;
}

.input-group-text {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
}

.col-form-label {
    font-size: 0.85rem;
}

/* Card title & desc — compact */
.card-title {
    font-size: 0.95rem;
}

.card-title-desc {
    font-size: 0.82rem;
}

.btn-primary {
    background-color: #3A1078 !important;
}

@media screen {
    .sheet {
        border:1px solid #000;
        width: 210mm;
        height: 148mm;
        padding: 5mm;
    }    

    section.resit-header {
        height: 49mm;
    }

    section.jualan-data {
        height: 65mm;
    }
    
    section.footer-notes {
        height: 25mm;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    section.footer-notes > .notes > .notes-area {
        height: 10mm;
    }
    section.footer-notes > .info {
        display: flex;
        justify-content: space-between;
    }
}
