html {
  font-size: 14px;
}

@font-face {
    font-family: 'Brown';
    src: url('../fonts/brown-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
    font-family: 'Brown', Arial, Helvetica, sans-serif;
    margin-bottom: 60px;
}

.left-logo-img {
    height: 82px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background: transparent !important;
}

.right-logo-img {
    width: 130px;
    height: auto;
}

.navbar-title-text {
    color: #fff !important;
}

.lang-btn {
    color: #fff !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.375rem 0.75rem; /* Optional: keeps button sizing */
    font-size: 1rem;
    transition: none !important;
}

    .lang-btn:hover,
    .lang-btn:focus,
    .lang-btn:active {
        color: #fff !important;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
    }

/* Styles for action buttons */    
.custom-action-btn {
    background-color: #fff !important;
    color: #6c757d !important;
    border-radius: 16px !important;
    border: 1px solid #ddd !important;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
}

    /* Font Awesome icon color in normal state */
    .custom-action-btn i {
        color: #6c757d !important;
        transition: color 0.2s;
    }

    /* Hover and focus state */
    .custom-action-btn:hover,
    .custom-action-btn:focus {
        background-color: #50AA1B !important;
        color: #fff !important;
        border-color: #50AA1B !important;
    }

        /* Font Awesome icon color on hover/focus */
        .custom-action-btn:hover i,
        .custom-action-btn:focus i {
            color: #fff !important;
        }

/* Style for all dxButton widgets */
.dx-button {
    background-color: #fff !important;
    color: #6c757d !important; /* Bootstrap gray-600 */
    border-radius: 16px !important; /* Adjust as needed for roundness */
    border: 1px solid #ddd !important;
    transition: background 0.2s, color 0.2s;
}

    /* Button content (text/icon) */
    .dx-button .dx-button-content {
        color: #6c757d !important;
    }

    /* Hover state */
    .dx-button.dx-state-hover,
    .dx-button:hover {
        background-color: #50AA1B !important;
        color: #fff !important;
        border-color: #50AA1B !important;
    }

        /* Ensure button content is white on hover */
        .dx-button.dx-state-hover .dx-button-content,
        .dx-button:hover .dx-button-content {
            color: #fff !important;
        }

    /* Ensure Font Awesome icons in dxButton are visible on white background */
    .dx-button .dx-icon,
    .dx-button .fa,
    .dx-button [class^="fa-"],
    .dx-button [class*=" fa-"] {
        color: #6c757d !important; /* Gray for normal state */
        transition: color 0.2s;
    }

    /* On hover, make icon white */
    .dx-button.dx-state-hover .dx-icon,
    .dx-button.dx-state-hover .fa,
    .dx-button.dx-state-hover [class^="fa-"],
    .dx-button.dx-state-hover [class*=" fa-"],
    .dx-button:hover .dx-icon,
    .dx-button:hover .fa,
    .dx-button:hover [class^="fa-"],
    .dx-button:hover [class*=" fa-"] {
        color: #fff !important;
    }

/* For alert message on Receipt page */
.alert-transparent {
    background-color: transparent !important;
    color: #fff !important;
    border: none !important;
}

 

/*	The @media (max-width: 576px) media query applies styles only when the screen 
    width is 576px or less (mobile devices).
*/
@media (max-width: 576px) {
    .left-logo-img {
        max-width: 50px;
        height: auto;
        width: auto;
    }

    .right-logo-img {
        max-width: 50px;
        height: auto;
        width: auto;
    }

    .header-btn {
        font-size: 0.75rem; /* Smaller button size for mobile */
        padding: 0.25rem 0.5rem; /* Adjust padding for smaller buttons */
    }
}

/* Remove borders from dxTabPanel; leave only bottom border for selected tab */
.dx-tabpanel > .dx-tabpanel-tabs .dx-tabs {
    box-shadow: none !important;
}

.dx-tabpanel > .dx-tabpanel-tabs .dx-tab.dx-tab-selected {
    border-bottom: 2px solid #000 !important;
    box-shadow: none !important;
}

.dx-tab-selected:after {    
    border: none !important;
    box-shadow: none !important;
}

.dx-tabpanel.dx-state-focused .dx-multiview-wrapper {
    border: none !important;
    -moz-box-shadow: inherit;
    -webkit-box-shadow: inherit;
    box-shadow: inherit;
}

.dx-tabpanel.dx-state-focused .dx-tab:not(.dx-tab-selected):before {
    border-bottom: 1px solid #ddd !important;
}

.dx-tabpanel > .dx-tabpanel-tabs .dx-tabs-expanded .dx-tab:not(.dx-tab-selected):first-of-type {
    border: none !important;
    box-shadow: none !important;
}

.dx-tabpanel > .dx-tabpanel-tabs .dx-tab {
    border: none !important;
    box-shadow: none !important;
}

/*
    Hacks to prevent font-family inheritance issues with DevExtreme widgets.
*/
.dx-theme-generic-typography, .dx-theme-generic-typography body {
    font-family: 'Brown', Arial, Helvetica, sans-serif !important;
}

.dx-label {
    font-family: 'Brown', Arial, Helvetica, sans-serif !important;
}

.dx-form-group-caption {
    font-family: 'Brown', Arial, Helvetica, sans-serif !important;
}

.dx-texteditor-input-container {
    font-family: 'Brown', Arial, Helvetica, sans-serif !important;
}

.dx-field-item-label-text {
    font-family: 'Brown', Arial, Helvetica, sans-serif !important;
}

.dx-button-text {
    font-family: 'Brown', Arial, Helvetica, sans-serif !important;
}
.dx-tab-text {
    /* Reset font for all children */
    font-family: inherit;
}

.dx-tab-text {
    /* Set font for the whole span */
    font-family: 'Brown', Arial, Helvetica, sans-serif;
}

    .dx-tab-text i,
    .dx-tab-text .dx-icon {
        /* Reset font for icons */
        font-family: 'DXIcons' !important;
        font-style: normal;
        font-weight: normal;
    }

