﻿body {
    padding-top: 85px;
    padding-bottom: 20px;
    font-size:14px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.Bodycontent {
    padding: 10px 30px 20px 30px;
    /* margin-bottom: 30px; */
    font-weight: 200;
    background-color: #eeeeee;
    border-radius: 6px;
    min-height: 550px;
    line-height: 2.1428571435;
}

/* Set width on the form input elements since they're 100% wide by default */
/* Empty rules removed */

.number {
    text-align: right;
}

.Clndr {
    text-align: right;
}

#OrderID {
    text-align: right;
}

#Voucher_No {
    text-align: right;
}

#VoucherNo {
    text-align: right;
}

.CLeft {
    float: left;
    margin-left: 5px;
}

.CRight {
    float: right;
    margin-left: 10px;
    margin-top: 13px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #ff0000;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

.Maintitle {
    color: #FFF;
    font-size: 28px;
    font-weight: bold;
}

.BodyColor {
    padding: 10px 30px 0px 30px;
    /*margin-bottom: 30px;*/
    font-weight: 200;
    line-height: 2.1428571435;
    color: inherit;
    background-color: #eeeeee;
    border-radius: 6px;
}

select .form-control {
    height: 40px !important;
}

.form-control {
    color: #000 !important;
}

/*Design Page*/
/* Empty rules removed */

.form-group1 label,
.form-group1 input {
    display: block;

    float: left;
    margin-bottom: 4px;
    line-height: none;
}

.form-group1 input {
    width: 160px;
}

.form-group1 label {
    text-align: right;
    padding-right: 20px;
}

.form-group1 input {

    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    display: block;
    font-size: 14px;
    line-height: 1.42857;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}

.inputbutton {
    background-color: #1b5484;
    padding: 4px 20px 4px 20px;
    color: #FFFFFF;
    font-weight: bold;
}

.bg {
    background-image: url(../images/edit.png);
    display: block;
    width: 16px;
    height: 16px;

}

.add {
    background-image: url(../images/add.png);
    display: block;
    width: 16px;
    height: 16px;

}

.bgdelete {
    background-image: url(../images/delete.png);
    display: block;
    width: 16px;
    height: 16px;

}

.css_button {
    border: 1px solid #77021d;
    -webkit-box-shadow: #FFFFFF 0px 0px 1px inset;
    -moz-box-shadow: #FFFFFF 0px 0px 1px inset;
    box-shadow: #FFFFFF 0px 0px 1px inset;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 12px;
    font-family: arial, helvetica, sans-serif;
    padding: 0px 10px 0px 10px;
    text-shadow: 0px 2px 0 rgba(0, 0, 0, 0.5);
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    color: #FFFFFF;
    background-color: #a90329;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#a90329), to(#6d0019));
    background-image: -webkit-linear-gradient(top, #a90329, #6d0019);
    background-image: -moz-linear-gradient(top, #a90329, #6d0019);
    background-image: -ms-linear-gradient(top, #a90329, #6d0019);
    background-image: -o-linear-gradient(top, #a90329, #6d0019);
    background-image: linear-gradient(to bottom, #a90329, #6d0019);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#a90329, endColorstr=#6d0019);
}

/*Design Page*/
.form-group1 {
    width: 100%;
}

.form-group1 label,
.form-group1 input {
    display: block;
    width: 140px;
    float: left;
    margin-bottom: 4px;
}

.form-group1 input {
    width: 160px;
}

.form-group1 label {
    text-align: right;
    padding-right: 20px;
}

.form-group2 {
    width: 666px;
}

.form-group2 label,
.form-group2 input {
    display: block;
    width: 120px;
    float: left;
    margin-bottom: 4px;
}

.form-group2 label {
    text-align: right;
    padding-right: 20px;
}

.form-group3 {
    width: 200px;
    display: inline;
}

.form-group3 label,
.form-group3 input {
    display: block;
    float: left;
    margin-bottom: 4px;
}

.form-group3 input {
    width: 45px;
    margin-right: 5px;
}

.form-group3 label {
    text-align: right;
    padding-right: 22px;
}

.form-group4 {
    width: 400px;
}

.form-group4 label,
.form-group4 input {
    display: block;
    width: 120px;
    float: left;
    margin-bottom: 4px;
}

.form-group4 input {
    width: 160px;
}

.form-group4 label {
    text-align: right;
    padding-right: 20px;
}

.errorMessage {
    font-weight: bold;
    color: red;
    background: #FFFFFF;
    font-size: 13px;
}

.ConfiromMessage {
    font-weight: bold;
    color: green;
    background: #FFFFFF;
    font-size: 13px;
}

.dropdown-menu>li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dropdown-item {
    font-size: 13px;
    padding: 0.25rem 1rem;
    letter-spacing: 0.02rem;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* Show submenu on hover for Desktop */
@media (min-width: 992px) {
    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }
}

/* Rotating arrow for submenus */
.dropdown-toggle::after {
    transition: transform 0.2s;
}

.dropdown-submenu.show>.dropdown-toggle::after {
    transform: rotate(-90deg);
}

footer {
    background-color: #ffffff;
    color: #000000;
    border-radius: 3px;
    height: 30px;
}

footer p {
    padding-top: 5px;
    vertical-align: middle;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    width: 45%;
    color: #000;
}

.form-group {
    margin-bottom: 0px;
}

.navbar-nav .nav-link {
    font-size: 13px;
    padding: 4px 12px !important;
    letter-spacing: 0.02rem;
}

.btn-signout {
    font-size: 11px !important;
    padding: 2px 8px !important;
}

/* Autofill text (Chrome fix) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
}


/* Custom CSS for compact layout */
.table-condensed>thead>tr>th,
.table-condensed>tbody>tr>th,
.table-condensed>tfoot>tr>th,
.table-condensed>thead>tr>td,
.table-condensed>tbody>tr>td,
.table-condensed>tfoot>tr>td {
    padding: 2px;
    vertical-align: middle;
}

.form-control-xs {
    height: 24px;
    padding: 2px 4px;
    /*font-size: 12px;*/
    line-height: 1.5;
    font-family: inherit;
}

.input-group-xs>.form-control,
.input-group-xs>.input-group-addon,
.input-group-xs>.input-group-btn>.btn {
    height: 24px;
    padding: 2px 6px;
    /*font-size: 12px;*/
    line-height: 1.5;
}

.form-horizontal .control-label {
    padding-top: 4px;
    /*font-size: 12px;*/
}

/* Reduce dropdown height specifically */
select.form-control-xs {
    height: 24px !important;
    padding: 0px 2px !important;
}

.badge-custom {
    background-color: #d9534f;
    font-size: 12px;
}

.panel-xs .panel-body {
    padding: 5px;
}

/* Premium Heading Redesign */
.card-header-premium {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    border-bottom: 0px !important;
    padding: 0.8rem 1.25rem !important;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.card-header-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #0dcaf0;
    /* Info color accent */
    opacity: 0.8;
}

.card-title-premium {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05rem !important;
    color: #ffffff !important;
    margin-bottom: 0 !important;
    text-transform: uppercase !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    display: flex;
    align-items: center;
}

.card-title-premium i {
    margin-right: 10px;
    font-size: 1.25rem;
    color: #0dcaf0;
}

@media (max-width: 768px) {
    .card-title-premium {
        font-size: 0.95rem !important;
    }
}

/* */
.card-body {
    padding: 10px 14px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.form-control-sm,
form-select-sm {
    height: 25px !important;
    padding: 2px 6px;
    font-size: 14px;
}

textarea.form-control-sm {
    height: 55px !important;
    resize: none;
}

.table-sm> :not(caption)>*>* {
    padding: 4px 6px;
}

.table thead th {
    font-size: 12px;
    padding: 6px;
}

.table tbody td {
    vertical-align: middle;
}

.nature-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.nature-radio {
    width: 15px;
    height: 15px;
    margin: 0;
    cursor: pointer;
}

.nature-option label {
    margin: 0;
    cursor: pointer;
}



#progressbar .ui-progressbar-value {
    background-color: #d4d8ec;
}

.ui-progressbar {
    position: relative;
}

.progress-label {
    position: absolute;
    left: 44%;
    top: 4px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
}

.notification-bell {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background-color: red;
    color: white;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
}

.swinging-bell {
    display: inline-block;
    animation: swing 2s infinite ease-in-out;
    transform-origin: top center;
}

@keyframes swing {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.select2-container-wrapper {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 27px !important;
    /* match Bootstrap input height */
    padding: 2px 2px;
    font-size: 13px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 20px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 25px !important;
    top: 2px;
}
    .select2-container--default .select2-selection--single .select2-selection__rendered {
            color: #000;
            font-size:14px;
    }