
body, html {
    font-variant: small-caps;
    height: 100%;
/*     background-image: url('../image/background.jpg'); */
}

.container:first-of-type{
   max-width: 1920px;
   min-height: 100vh;
}

a{
    text-decoration: none;
}

h1,h2{
    text-shadow: 1px 1px 1px #000000;
}


.header, .footer{
    background-color: #17A2B8 !important;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 1px #000000;
}
footer{
    bottom: 0px !important;
}
footer p {
    margin: 0;
}

.bg-info{
    background-color: #17a2b8 !important;
}

.custom-btn{
    border-color: #17a2b8 !important;
    color: #17a2b8 !important;
    box-shadow: 0 1px 7px #17A2B8;
    transition: transform 0.2s;
}

.custom-btn:hover {
    transform: scale(1.05);
}

.btn-block{
    background-color: #17a2b8 !important;
    color: white !important; 
}
.btn-block:hover{
    background-color: #0DCAF0 !important;
}

.btn-outline-info:hover{
    color: #fff !important;
}

/* table-pagination.js file*/
.pagination .btn-outline-primary{
    color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}

/* table-pagination.js file*/
.pagination .btn-primary{
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}

/* table-pagination.js file*/
.pagination .btn-outline-primary:hover{
    background-color: #17a2b8 !important;
    color: white !important;
}

.scan-btn{
    background-color: #17A2B8;
    color: #fff;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}
.scan-btn:hover{
    border: 1px solid #17A2B8;
}

img {
    transition: transform 0.3s ease; /* Smooth transition */
    max-width: 100%;
    max-height: 100%;
}

img:hover {
    transform: scale(3); /* Enlarge the image by 3 times */
    cursor: pointer; /* Change cursor to pointer on hover */
}

.text-info{
    color: #17A2B8 !important;
}

.table-custom {
    max-height: 100vh; /* enables vertical scrolling inside the table container */
    max-width: 100%;
    overflow-x: auto; /* horizontal scroll if table is too wide */
    -webkit-overflow-scrolling: touch; /* smoother scroll on iOS */
    border: 1px solid #17A2B8;
    border-radius: 16px !important;
    box-shadow: 0px 1px 7px #17A2B8;

}
.table-custom th {
    font-weight: 500 !important;
    color: #17A2B8 !important;
    /* sticky table header */
    position: sticky;
    top: 0;
    z-index: 1020; /* ensures it stays above other content */
}

.table-custom td {
    color: gray;
}
.table-custom td:first-child {
    border-left-color: transparent;
}

.table-custom td:last-child {
    border-right-color: transparent;
}

/*thead{*/
/*    border-top-color: transparent !important;*/
/*}*/



th:first-child, th:last-child{
    border: 0px;
}

.product_table{
    max-width: 100%;
    overflow-x: auto;
}

.product_table th{
    font-weight: 400 !important;
    color: #17a2b8 !important;
    padding: 2px !important;
    border: 1px solid #17a2b8 !important;
}

.product_table td{
   padding: 2px !important;
   border: 1px solid #17a2b8 !important; 
}

.alert_product_table{
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid red;
    border-radius: 16px !important;
    box-shadow: 0px 1px 7px red;
}
.sale_edit_product_name{
    background-color: transparent !important;
    border: none;
    color: gray;
    
}
.form-custom{
    border: 1px solid #17A2B8;
    border-radius: 15px !important;
    box-shadow: 0 1px 7px #17A2B8;
    transition: transform 0.2s;
}


.form-control{
    background-color: transparent !important;
    border-color: #17A2B8 !important;
    color: gray !important;
}

.filter{
    border: 1px solid #17A2B8;
    box-shadow: 0 1px 7px #17A2B8;
    color: #17A2B8 !important;
}

.form-select{
    border: 1px solid #17A2B8;
}

::placeholder{
    color: gray !important;
    opacity: 0.8 !important;
}

form .row {
   margin-right: -4px;  
    margin-left: -4px; 
}

form .row > [class*='col-'] {
    padding-right: 4px; 
    padding-left: 4px; 
}

#purchase-form .row .row:nth-child(1), #purchase-form .row .row:nth-child(2) {
    margin-right: -4px; 
    margin-left: -4px; 
}

legend{
    padding: 0 10px !important;
}

.form-label{
    padding-left: 5px;
    margin-bottom: 0 !important;
}

.reset {
/*  Any css can be reset to its default by using revert. it's use for fildset and legend */
    all: revert; 
    border-width: 1px;
    border-radius: 10px;
    border-color: #17A2B8;
}

#barcodeContainer{
    overflow: hidden!important;
}

.barcode-item{
    overflow: auto !important;
}
.navbar-toggler {
    border-color: #17A2B8;
    
}
.navbar-toggler-icon {
    
color: #17A2B8 !important;
}

.navbar {
   max-width: 1150px;
}

.navbar-brand, .nav-link {
    padding: 0 15px;
}
.navbar-brand:hover, .nav-link:hover {
    color: #ddd !important;
}
.navbar-collapse{
    margin-right: 1rem !important;
}
.navbar-nav .nav-item + .nav-item {
    margin-left: 1rem;
}

.card-custom {
    background-color: #17A2B8 !important;
    border-radius: 15px;
    text-shadow: 1px 1px 2px #000000;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    transition: transform 0.4s ease-in-out;
    transform: translateY(7px);
}

.card-custom:hover {    
    transform: translateY(-7px);
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}
.card-custom .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.card-custom .card-title {  
    color: #fff;
    z-index: 1;
}

.card-header{
    border-top-right-radius: 14px !important;
    border-top-left-radius: 14px !important;
}

.card {
    color: #fff !important;
    position: relative;
}

.card i {
    position: absolute;
    top: 5%;
    left: 2%;
    color: #17A2B8;
    font-size: 3rem !important;    
}

.daily, .monthly {
    flex: 1;
    text-align: center;
}
.card h6{
    font-weight: 400;
}

a .card{
    min-height: 110px !important;
}

.balance_custom{    
    padding: 5px 0px;
    color: #17A2B8;
    border:  1px solid #17A2B8;
    box-shadow: 0 0 5px #17A2B8;
    border-radius: 10px;
}

.voucher {
    max-width: 105mm; /* A4 width when folded vertically */
    margin: 0 auto;
    padding: 5px 10px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.voucher-header, .voucher-footer {
    text-align: center;
}
.voucher-body table {
    width: 100%;
    border-collapse: collapse;
}
.voucher-body table th, .voucher-body table td {
    border: 1px solid #ccc;
    padding: 5px;
    text-align: left;
}
.voucher-summary {
    margin-top: 20px;
}
.voucher-summary table {
    width: 100%;
    border-collapse: collapse;
}
.voucher-summary table th, .voucher-summary table td {
    padding: 4px;
    text-align: left;
}
.voucher-summary .total {
    font-weight: bold;
}
.voucher-footer-credit {
    font-size: 0.8em;
    color: #555;
    text-align: center;
}

 /* Payment Form Container Styling */
    .payment-form-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    /* Payment Form Card Styling */
    .payment-form-content {
        max-width: 400px;
        width: 100%;
        border-radius: 15px;
        overflow: hidden;
    }

    /* Input Styling */
    .payment-form-content .form-control {
        border-radius: 30px;
        padding: 15px;
        font-size: 16px;
    }

    /* Button Styling */
    .payment-form-content .btn {
        border-radius: 30px;
        font-size: 16px;
        padding: 10px 20px;
    }

    /* Card Header Styling */
    .payment-form-content .card-header {
        border-bottom: none;
        padding: 20px;
    }




@media (max-width: 430px) { /* Medium devices (tablets, 768px and up) */
    h1 {
        font-size: 2rem;
    }

    .card-custom .card-icon {
        font-size: 2rem;
        margin-bottom: 0px !important;
    }

    .card-custom .card-title {
            font-size: 1.3rem;
        }

    .form-group.inline-radio .radio-label {
    display: inline-flex;
    align-items: center;
    }
    .form-group.inline-radio input[type="radio"] {
        margin-left: 10px;
        margin-right: 5px;
    }

}

@media (max-width: 576px) { /* Small devices (landscape phones, 576px and up) */
    
}

@media (min-width: 768px) { /* Medium devices (tablets, 768px and up) */
  
}

@media (min-width: 992px) { /* Large devices (desktops, 992px and up) */
    
}

@media (min-width: 1200px) { /* Extra large devices (large desktops, 1200px and up) */
    
}