
.password-field {
    position: relative;
}

.password-input-container {
    position: relative;
    width: 100%;
}

.password-input-container .input_field {
    padding-right: 45px; /* Space for the eye icon */
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    z-index: 2;
}

.eye-icon {
    font-size: 16px;
    transition: color 0.3s ease;
}

.password-toggle:hover .eye-icon {
    color: #333;
}

/* If you're not using Font Awesome, you can use these SVG icons */
.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}




.highlight-amount {
    color: #ff0000 !important;
    font-weight: bold !important;
    font-size: 18px !important;
    background-color: #fff3cd;
    /*padding: 2px 5px;*/
    /*border-radius: 3px;*/
    /*border: 1px solid #ffc107;*/
}

/* Style for amount input when value > 500 */
#amount.highlight-input {
    color: #ff0000 !important;
    font-weight: bold !important;
    font-size: 18px !important;
    border-color: #ff0000 !important;
    background-color: #fff3cd !important;
}



.container{
    width:100%;
}
.skin-blue .main-header .navbar{
    padding-left: 30px;
}
.highlight{
    background-color: red;
}
/*.table-container div{*/
/*    font-size: 25px;*/
/*}*/
.menu-item{
    height: 100%;
    width: 100px;
}
/*.width-30.no-more-than-500 {*/
/*    color: #F44336;*/
/*}*/
.flex{
    display: flex;
}
.full-width{
    width: 100%;
    height: 28px;
}
.width-25{
    width: 25%;
}
.width-60{
    width: 60%;
}
.width-50{
    width: 50%;
}
.width-30{
    /*width: 30%;*/
    width: 31%;
    margin-right: 12px;
        font-weight: 800;
}
.width-40{
    width: 40%;
}
.width-45{
    width: 45%;
}
.width-55{
    width: 55%;
}
.right-container{
    display: flex;
    width: 40%;
    justify-content: right;
    align-items: center;
}
.margin-right-10{
    margin-right: 10px;
}
.margin-top-bottom-10{
    margin-top: 10px;
    margin-bottom: 10px;
}
.total-container{
    width: 23%;
    height:100%;
    text-align: center;
}
.akda-div{
    border: 1px solid black;
    overflow: auto;
    background-color: white;
    font-size: 14px;
}

.highlight-amount {
    font-size: 13px !important;

}

.width-85{
    width: 85%;
}
.red-box{
    width: 70%;
    border:1px solid #000000;
    /*height: 28px;*/
}
.ten-width-div{
    width: 10%;
    padding-right: 10px;
    text-align: center;
}
.margin-bottom-10{
    margin-bottom:10px;
}
.akda-back{
    width: 30%;
    background-color: #007ff1;
    color: white;
    font-weight: bold;
        border-radius: 3px;
    line-height: 27px;
}
.button{
    width: 100px;
}
button#delbtn,button#clrbtn{
    background: #f10000ed;
    padding: 7px 5px;
    border-radius: 5px;
    border: none;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}
button#delbtn{
        margin-left: 7px;
    margin-right: 5px;
}
button#syncbtn{
    background: #37a000;
    padding: 7px 5px;
    border-radius: 5px;
    border: none;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}
.form-control{
    height: 25px;
}
.margin-left-10{
    margin-left: 10px;
}
.margin-left-35{
    margin-left: 35px;
}
.margin-top-35{
    margin-top: 35px;
}
.radio-pad > input{
    margin-right: 5px;
    margin-left: 5px;
}

/* 2023-08-26 */
.container-out{
     background:#fff;
   color:#000000;
}
#akda , #pan {
	color:black;
	border-radius: 10px;
}
#akda > div , #pan > div{
	font-size:13px;
	cursor:pointer;
}
input#number ,input#amount ,input#code{
    border: 1px solid #FF9800;
}



/* CSS to fix table layout for LAPTOP  */

/* Make the layout responsive */
@media screen and (max-width: 1366px) { /* Laptop breakpoint */
    
    /* Make the main container scrollable */
    .table-container {
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
        margin-left: 0;
    }
    
    .ten-width-div {
        display: inline-block;
        width: auto;
        min-width: 70px; /* Reduced from 10% to fixed smaller width */
        padding-right: 5px;
        vertical-align: top;
    }
    
    /* Reduce font sizes for better fit */
    .width-30 {
        font-size: 14px;
        width: 35%; /* Adjusted for smaller screens */
        margin-right: 5px;
    }
    
    .red-box {
        font-size: 12px;
    }
    
    .akda-back {
        font-size: 13px;
        line-height: 24px;
    }
    
    /* Adjust the totals container */
    .total-container {
        width: 30%;
        height: auto;
    }
    
    .akda-div {
        /*font-size: 9px;*/
        height: 350px; /* Fixed height for consistency */
        overflow-y: auto;
    }
    
    .full-width {
        height: 25px;
    }
    
    /* Adjust the header section */
    .flex.width-60.titles h3 {
        font-size: 14px;
    }
    
    .right-container {
        width: 35%;
    }
    
    button#syncbtn, 
    button#delbtn, 
    button#clrbtn {
        width: 80px;
        font-size: 12px;
        padding: 5px 3px;
    }
    
    /* Adjust input fields */
    .form-control {
        height: 22px;
        font-size: 12px;
    }
    
    .container-out {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* For very small screens */
@media screen and (max-width: 1024px) {
    .ten-width-div {
        min-width: 65px;
    }
    
    .total-container {
        width: 25%;
    }
    
    .flex.width-60.titles {
        flex-wrap: wrap;
        width: 100%;
    }
    
    .flex.width-60.titles > div {
        width: 50%;
        margin-bottom: 5px;
    }
    
    .right-container {
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
    }
    
    .container-out {
        padding-top: 15px;
    }
}


/* Additional responsive improvements */
@media screen and (max-width: 768px) {
    .table-container {
        margin-top: 10px;
    }
    
    .ten-width-div {
        min-width: 60px;
    }
    
    .width-30 {
        font-size: 11px;
        width: 40%;
    }
    
    .akda-back {
        font-size: 11px;
        line-height: 22px;
    }
    
    .total-container {
        display: none; /* Hide on very small screens, or keep with adjustments */
    }
    
    .flex.width-50 {
        flex-wrap: wrap;
    }
    
    .flex.width-50 > div {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Horizontal scrollbar styling */
.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Make amounts more compact */
.highlight-amount {
    /*font-size: 11px !important;*/
    padding: 1px 3px;
}

/* Optional: Add a visual indicator for scroll */
.table-container {
    position: relative;
}

.table-container:after {
    content: "→";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #007ff1;
    font-size: 20px;
    opacity: 0.5;
    display: none;
}

@media screen and (max-width: 1366px) {
    .table-container:after {
        display: block;
    }
}



/* Add or replace these styles in your style.css */

/* Main layout adjustments */
.flex {
    display: flex;
}

/* Table container optimization */
.table-container {
    display: flex;
    width: 100%;
    margin-left: 10px;
    flex-wrap: nowrap;
    overflow-x: auto; /* Keep for safety, but shouldn't be needed */
}

.ten-width-div {
    flex: 1; /* This makes each column take equal space */
    min-width: 0; /* Important for flex items to shrink properly */
    padding-right: 8px; /* Reduced padding */
    text-align: center;
}

/* Reduce internal spacing */
.width-30 {
    width: 35%; /* Increased from 31% to use more space */
    margin-right: 6px; /* Reduced from 12px */
    font-weight: 800;
    font-size: 13px; /* Slightly smaller font */
}

.red-box {
    width: 65%; /* Adjusted to match width-30 change */
    border: 1px solid #000000;
    font-size: 12px;
    padding: 2px 0; /* Add some vertical padding */
}

.akda-back {
    width: 35%; /* Match width-30 */
    background-color: #007ff1;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    line-height: 24px; /* Reduced from 27px */
    font-size: 13px;
}

/* Adjust totals container to take less space */
.total-container {
    width: 18%; /* Reduced from 23% */
    height: 100%;
    text-align: center;
}

.width-85 {
    width: 82%; /* Increased from 85% to take more space */
}

/* Make the main content container use full width */
.container-out {
    background: #fff;
    color: #000000;
    padding: 20px 10px;
    width: 100%;
    box-sizing: border-box;
}

/* Reduce spacing in full-width rows */
.full-width {
    width: 100%;
    height: 28px; /* Reduced from 28px */
    margin-bottom: 4px; /* Add small margin between rows */
}

/* Optimize for laptop screens (1366px and below) */
@media screen and (max-width: 1366px) {
    .full-width {
    height: 21px; /* Reduced from 28px */
}
    .table-container {
        width: 100%;
        margin-left: 0;
        padding-right: 5px;
    }
    
    .ten-width-div {
        padding-right: 5px;
    }
    
    .width-30 {
        width: 40%; /* Use more of the column width */
        margin-right: 4px;
        font-size: 14px;
    }
    
    .red-box {
        width: 60%;
        font-size: 11px;
    }
    
    .akda-back {
        width: 40%;
        font-size: 13px;
        line-height: 22px;
    }
    
    /* Adjust totals section */
    .total-container {
        width: 22%;
        min-width: 150px; /* Prevent it from getting too small */
    }
    
    .width-85 {
        width: 78%;
        margin-left: 7px;
    }
    
    .akda-div {
        /*font-size: 8px;*/
        /*height: 320px;*/
        height: 570px;
    }
}

/* For screens between 1367px and 1600px (larger laptops) */
@media screen and (min-width: 1367px) and (max-width: 1600px) {
    .ten-width-div {
        padding-right: 6px;
    }
    
    .width-30 {
        font-size: 12px;
    }
    
    .red-box {
        font-size: 12px;
    }
}

/* For very wide screens (desktop) */
@media screen and (min-width: 1601px) {
    .ten-width-div {
        padding-right: 12px; /* More spacing on wide screens */
    }
    
    .width-30 {
        font-size: 14px;
    }
    
    .red-box {
        font-size: 14px;
    }
}

/* Ensure no horizontal scrollbar appears unless absolutely necessary */
.table-container {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

/* Optional: Add subtle grid lines for better readability */
.red-box {
    background-color: #fff;
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make the first column slightly different if needed */
.ten-width-div:first-child .akda-back {
    background-color: #0056b3; /* Darker blue */
}

/* Remove the scroll indicator arrow since we're fitting to screen */
.table-container:after {
    display: none !important;
}

/* Ensure all parent containers don't limit width */
.container-fluid {
    padding-left: 10px;
    padding-right: 10px;
}

.main-content {
    padding: 0 5px;
}

