
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
.navbar-nav {
  
    font-size: 13px;
}



html, body {
    height: 100% !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 20px;
    font-family: "Roboto", Arial, sans-serif;
    overflow-x: hidden !important;
}
.form-control {
    font-size: 12px;
}

.form-control[readonly] {
    background-color: var(--bs-secondary-bg);
    opacity: 1;
}

/* Custom placeholder overlay for native <input type="date"> fields.
   The real placeholder attribute is ignored by browsers for type="date",
   so this shows our own text on top and hides the browser's own locale
   hint (via transparent text color) until a value is actually chosen. */
.date-placeholder-wrap {
    position: relative;
}

.date-placeholder-wrap .date-placeholder-overlay {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

.date-placeholder-wrap input.date-with-placeholder:not(.has-value) {
    color: transparent;
}

.date-placeholder-wrap input.date-with-placeholder.has-value + .date-placeholder-overlay {
    display: none;
}

.btn-login{
    background-color: #1E23AC !important;
    width: 100%;
    padding: 10px;
    border: none;
    color: white;
    border-radius: 6px;

}

.btn-primary {
    background-color: #1E23AC !important;
    
}
h4,.h4{
    color: #1E23AC !important;
}

.tp-color{
    color: #1E23AC !important;
}

.navbar .nav-link,
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: #1E23AC;
}

footer {
    background-color: #F3F4F5;
}

.btn{
    font-weight: 500 !important;
}

.tp-blue {
    color: #1E22AA;
}

.tp-green {
    color: #00C389;
}

/* Login page styles */
.login-full {
    min-height:100vh;
    display:block;
    overflow:hidden;
}

/* Full-height row */
.login-row {
    min-height:100%;
}

/* Left image area */
.login-left {
    overflow:hidden;
    background:#0d6efd; /* fallback color */
}

/* Make image fill entire panel */
.login-left-img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/*Login Form*/

.qr-container {
    width: 232px; /* or a responsive percentage value, e.g., 50% */
    height: 250px; /* fixed height for consistent card sizes */
    border: 1px solid black;
    overflow: hidden; /* hides the cropped parts of the image */
    padding: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
}

.qr-container img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* maintains aspect ratio and covers container */
        object-position: center; /* centers the image within the container */
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 72px;
    height: 72px;
}

/* Auth pages card layout (e.g. Reset Password Confirmation) */
.auth-card {
    max-width: 560px;
}

.auth-logo {
    height: 120px;
}

/*Change Password CS Html*/
.passw-container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 350px;
    place-items: center;
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center; /* vertical */
    height: 100vh;
}



.form-group {
    margin-bottom: 15px;
}


.passw-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

input:focus {
    border-color: #4facfe;
    outline: none;
}


/*
.btn:hover {
    background: #00c6ff;
}*/

.text-danger {
    color: red;
    
}

.validation-summary-errors {
    color: red;
    margin-bottom: 10px;
}

.custom-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* Mobile: image hidden automatically (Bootstrap d-none d-lg-block) */

/*menu Dropdown*/
.dropdown-menu {
    overflow: visible;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 17;
    left: 55%;
    right: auto;

    /* Move submenu down and slightly left */
    margin-top: 0.75rem;
    margin-left: -1rem;

    min-width: 220px;
    white-space: nowrap;
    z-index: 1055;
}

/* Open submenu to the left */
.dropdown-submenu.dropdown-submenu-left > .dropdown-menu {
    left: auto;
    right: 100%;

    margin-left: 0;
    margin-right: -1rem;
    margin-top: 0.75rem;
}

.dropdown-submenu > .dropdown-toggle::after {
    float: right;
    margin-top: 0.5rem;
    transform: rotate(-90deg);
}

.dropdown-submenu.dropdown-submenu-left >
.dropdown-toggle::after {
    transform: rotate(90deg);
}

/* Order status badges */


.status-pending {
    color: #ef994a;
}

.status-inprogress {
    color: #3b82f6;
}

.status-payment-collected {
    color: #5c915c;
}

.status-invoice-raised {
    color: #8b5cf6;
}

.status-completed {
    color: #5c915c;
}

.status-cancelled {
    color: #d15752;
}

/* Available Products page (productmaster/availableproducts) only.
   Scoped under .page-wrapper - that class only exists on this page's
   root element, so none of this leaks onto other pages. */
.page-wrapper {
    background: #f6f8fb;
    min-height: 100vh;
    padding: 25px;
    font-family: Arial, sans-serif;
}

.page-wrapper .top-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.page-wrapper .top-search-form input[name="generalSearch"] {
    flex: 1 1 auto;
}

.page-wrapper .top-search-form .btn {
    flex-shrink: 0;
}

.page-wrapper .results-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.page-wrapper .step-header {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-bottom: 25px;
}

.page-wrapper .step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #777;
    font-size: 14px;
}

.page-wrapper .step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #d7dce5;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.page-wrapper .step.active .step-number {
    background: #2563eb;
    color: white;
}

.page-wrapper .product-box,
.page-wrapper .cart-footer {
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 18px;
}

.page-wrapper .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
}

.page-wrapper .btn {
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
}

.page-wrapper .btn-primary {
    background: #2563eb;
    color: white;
}

.page-wrapper .btn-light {
    background: #f3f4f6;
    color: #111827;
    border: 1px solid #d1d5db;
}

.page-wrapper .product-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.page-wrapper .cart-footer {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-wrapper .cart-summary {
    font-weight: 600;
}

.page-wrapper .main-panel {
    display: flex;
    flex-direction: column;
}

.page-wrapper .product-table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    overflow: hidden;
}

.page-wrapper .product-table th {
    white-space: nowrap;
    background: #ffffff;
    color: #111827;
    font-weight: 700;
    border: none;
    padding: 16px 18px;
}

.page-wrapper .product-table td {
    border: none;
    padding: 16px 18px;
}

.page-wrapper .product-table tbody tr:nth-child(odd),
.page-wrapper .product-table tbody tr.odd {
    background-color: #f2f2f2 !important;
}

.page-wrapper .product-table tbody tr:nth-child(even),
.page-wrapper .product-table tbody tr.even {
    background-color: #ffffff !important;
}

.page-wrapper .product-table tbody tr:nth-child(odd) > td,
.page-wrapper .product-table tbody tr.odd > td {
    background-color: #f2f2f2 !important;
}

.page-wrapper .product-table tbody tr:nth-child(even) > td,
.page-wrapper .product-table tbody tr.even > td {
    background-color: #ffffff !important;
}

/* Product table column sizing (Available Products and Product Management lists - add
   class "product-table" plus col-nowrap / col-title / col-text on the cells).
   site.css lets every DataTable cell break anywhere (overflow-wrap: anywhere), which split
   short values mid-word ("Editi/on", "201/6"). These selectors are more specific, so they
   win for these tables only: short columns stay on one line, text columns wrap between words. */
.page-wrapper .product-box {
    overflow-x: auto;
}

.page-wrapper .product-table th,
.page-wrapper .product-table td,
div.dt-container table.dataTable.product-table th,
div.dt-container table.dataTable.product-table td {
    overflow-wrap: normal;
    word-break: normal;
}

.page-wrapper .product-table th,
.page-wrapper .product-table .col-nowrap,
div.dt-container table.dataTable.product-table th,
div.dt-container table.dataTable.product-table .col-nowrap {
    white-space: nowrap;
}

.page-wrapper .product-table .col-title,
div.dt-container table.dataTable.product-table td.col-title {
    white-space: normal;
    min-width: 260px;
    max-width: 380px;
}

.page-wrapper .product-table td.col-text,
div.dt-container table.dataTable.product-table td.col-text {
    white-space: normal;
    min-width: 130px;
}

/* Product Management search box: wide enough to show the full placeholder. */
.product-search-group {
    width: 380px;
    max-width: 100%;
}

.page-wrapper .cart-icon-btn {
    background: none;
    border: none;
    padding: 4px 8px;
    font-size: 18px;
    color: #2563eb;
    cursor: pointer;
}

.page-wrapper .cart-icon-btn:hover {
    color: #1e40af;
}