/* Custom styles goes here */

*{
    font-family: "Roboto", sans-serif;
}
/* Login page css */
.main-bg{
    background-color: #015c8b !important;
}
.login-title{
    color: #130E47 !important;
    font-family: sans-serif;
}
.sign-in{
    background-color: #11587c !important;
    color: white;
}
.sign-in:hover{
    background-color: #027dbc !important;
    color: white;
}
.text-light{
    color: gray !important;
}
/* End - Login page css */

.form-control.is-valid, .was-validated .form-control:valid {
     
    padding-right: calc(1.5em + .75rem);
     background-image: none !important;
     border:1px solid #ced4da;
}

.form-control:focus{
    box-shadow: none !important;
    border:1px solid #ced4da;
}

.layout-navbar.navbar-detached{
    margin:0 !important;
    width: 100% !important;
    border-radius:0% !important;
}
.app-brand-text.demo{
    text-transform: uppercase;
}

/* .btn:hover {
    color:white;
} */

.bg-total-visitor{
    background-color: #17a2b8;
}
.bg-menu-theme{
    /* background-color: #2a3042 !important; */
    /* background-color: #002042 !important; */
    /* background-color: #1a2c0c !important; */
    background-color: #015c8b !important;
}


/* Changed toggle color */
.bg-menu-theme .menu-item.active > .menu-link:not(.menu-toggle) {
    /* background-color:#2a3042; */
    background-color: #002042;
    color: #a6b0cf;
}
/* .bg-menu-theme .menu-inner > .menu-item.active > .menu-link
{
    background-color: #696cff !important;
} */
.bg-menu-theme .menu-inner > .menu-item.open .menu-item.active > .menu-link::before{
    box-shadow: none;
}
nav#layout-navbar{
    max-width: 100%;
}

.was-validated .form-control:valid:focus, .form-control.is-valid:focus {
    border-color: #ced4da !important;
    
}
.was-validated .form-control:valid, .form-control.is-valid {
    border-color: #ced4da !important;
}
.was-validated .form-select:valid, .form-select.is-valid {
    border-color: #ced4da !important;
}

.bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
    color: #ffffff !important;
    
}
.bg-menu-theme .menu-item.active > .menu-link:not(.menu-toggle) {
    color: #ffffff !important;
}
.bg-menu-theme .menu-inner-shadow{
    background: none;
}

#upload_photo {
    display: none;
}
.custom-file-upload {
    display: inline-block;
    cursor: pointer;
}


/* Height for list of Questions  */
.card-height{
    height: 31.25rem;
}
/* End- Height for list of Questions  */

/* tabs border color */
#AllVisitor-tab.active,
#TodaysVisitor-tab.active,
#contact-tab.active{
    /* border-bottom:1px solid red; */
    /* width: max-content; */
}
/* End - tabs border color */

li.navbar-items {
    position: relative;
    padding-right: 20px; /*  space for the vertical line */
}

li.navbar-items:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 4px;
    bottom: 0;
    height:30px;
    width: 1px;
    background-color: white; /* Color of the vertical line */
}

/* Dashbaord page css */
.card.card-border-shadow-primary,
.card-border-shadow-info,
.card-border-shadow-danger,
.card-border-shadow-success,
.card-border-shadow-warning,
.card-border-shadow-dark{
  position: relative;
  transition: border-bottom 0.1s ease-in-out;
 
}
.card.card-border-shadow-primary{
  border-bottom: 2px solid #36c3b1;
  background-color: #d8fffa;
  box-shadow: 0 .25rem .75rem 0 rgba(34,48,62,.14);
}
.card.card-border-shadow-warning{
  border-bottom: 2px solid #29afff;
  background-color: #ceedff;
  box-shadow: 0 .25rem .75rem 0 rgba(34,48,62,.14);
}
.card.card-border-shadow-info{
  border-bottom: 2px solid #e86d01;
  background-color: #ffe7d2;
  box-shadow: 0 .25rem .75rem 0 rgba(34,48,62,.14);
}
.card.card-border-shadow-danger{
  border-bottom: 2px solid #f8bc53;
  background-color: #fff8ec;
  box-shadow: 0 .25rem .75rem 0 rgba(34,48,62,.14);
}
.card.card-border-shadow-success{
  border-bottom: 2px solid #42a40e;
  background-color: #ebffe0;
  box-shadow: 0 .25rem .75rem 0 rgba(34,48,62,.14);
}
.card.card-border-shadow-dark{
    border-bottom: 2px solid #ff3e1d;
    background-color: #ffe5e1;
    box-shadow: 0 .25rem .75rem 0 rgba(34,48,62,.14);
}

.card.card-border-shadow-light-blue
{
    border-bottom: 2px solid #03c3ec;
    background-color: #caf6ff;
    box-shadow: 0 .25rem .75rem 0 rgba(34,48,62,.14);
}
.card.card-border-shadow-purple
{
    border-bottom: 2px solid #8b46b4;
    background-color: #f5e4ff;
    box-shadow: 0 .25rem .75rem 0 rgba(34,48,62,.14);
    
}

.card.card-border-shadow-purple:hover
{
    border-bottom: 3px solid #8b46b4;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.card-border-shadow-dark:hover{
    border-bottom: 3px solid #ff3e1d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.card.card-border-shadow-primary:hover {
  border-bottom: 3px solid #36c3b1;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card.card-border-shadow-info:hover {
  border-bottom: 3px solid #e86d01;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card.card-border-shadow-danger:hover {
  border-bottom: 3px solid #f8bc53;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card.card-border-shadow-success:hover {
  border-bottom: 3px solid #71dd37;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card.card-border-shadow-warning:hover {
  border-bottom: 3px solid #29afff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.card.card-border-shadow-light-blue:hover {
    border-bottom: 3px solid #03c3ec;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.visitor-in-site-count
{
    color: #24b5a4;
}

.contractor-count
{
    color: #29afff;
}

.driver-count
{
    color: #f8bc53;
}
.vip-count
{
    color: #e86d01;
}
.employee-count
{
    color: #42a40e;
}
.supplier-count
{
    color: #ff3e1d;
}
.checkin-count
{
    color: #03c3ec;
}
.checkout-count
{
    color: #8b46b4;
}

.more-info
{
    color: #00194e;
}

/* End - Dashbaord page css */

/* Updated border color */
.input-group .form-control.is-valid ~ .input-group-text,
.input-group .form-control.is-valid:focus {
    border-color: #d9dee3 !important;
}

/* Responsive Code  */
@media(max-width:768px){
    .visitor-profile{
        flex-wrap: wrap;
    }
    .column-sm-width{
        width:30%;
      }
    
}
@media(max-width:767px){
    .visitor-profile-details{
        flex-direction: column;
        gap: 0 !important;
    }
}

@media(max-width:425px){
    /* .column-sm-width{ removed from 425px responsive
      width:70%;
    } */
    .visitor-details{
        width: 155px;
    }
}

@media(max-width:992px) {
    li.navbar-items:not(:last-child)::after {
        display: none;
        
    }
}
/* End - Responsive Code  */


/* Start - Select2 css */
.select2.select2-container {
    width: 100% !important;
}
  
.select2.select2-container .select2-selection {
    border: var(--bs-border-width) solid #d9dee3;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: var(--bs-border-radius);
    height: 39px;

    outline: none !important;
    transition: all .15s ease-in-out;

    font-size: 0.9375rem;
}

.select2.select2-container .select2-selection .select2-selection__rendered {
    color: #333;
    line-height: 36px;
    padding-right: 33px;
}

.select2.select2-container .select2-selection .select2-selection__arrow {
    background: #f8f8f8;
    border-left: 1px solid #ccc;
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    border-radius: 0 7px 7px 0;
    height: 37px;

}

span#select2-CountryOfOperation-container {
    color: #697a8d;
    font-size: 0.9375rem;
    font-weight: 400;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
background: #f8f8f8;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
    -webkit-border-radius: 0 3px 0 0;
    -moz-border-radius: 0 3px 0 0;
    border-radius: 0 3px 0 0;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--multiple {
    border: 1px solid #34495e;
}

.select2.select2-container .select2-selection--multiple {
    height: auto;
    min-height: 34px;
}

.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin-top: 0;
    height: 32px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: block;
    padding: 0 4px;
    line-height: 29px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: var(--bs-border-radius);
    margin: 4px 4px 0 0;
    padding: 0 6px 0 22px;
    height: 24px;
    line-height: 24px;
    position: relative;
}
.select2-dropdown{
    border-radius: var(--bs-border-radius);
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    margin: 0;
    text-align: center;
    color: #e74c3c;
    font-weight: bold;
    font-size: 16px;
}

.select2-container .select2-dropdown {
    background: transparent;
    border: none;
    margin-top: -5px;
}

.select2-container .select2-dropdown .select2-search {
    padding: 0;
}

.select2-container .select2-dropdown .select2-search input {
    outline: none !important;
    border: 1px solid #34495e !important;
    border-bottom: none !important;
    padding: 4px 6px !important;
}

.select2-container .select2-dropdown .select2-results {
    padding: 0;
}

.select2-container .select2-dropdown .select2-results ul {
    background: #fff;
    border: 1px solid #34495e;
}

.select2-container .select2-dropdown .select2-results ul .select2-results__option--highlighted[aria-selected] {
    background-color: #3498db;
}
/* End - Select2 css */

.accordion-item  {
    box-shadow: 0 0.25rem 1rem rgba(161, 172, 184, 0.45);
}

.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field
{
    height:37px !important;
}

.custom-select-sm
{
    border-color:#e0e4e8 !important;
}
.custom-select-sm:focus
{
    border-color:#696cff !important;
}

/* Custom New Design Css by Ak 29 Jan 2025 */
.bg-navbar-theme
{
    background-color: #027dbc !important;
    height: 93px !important;
}
.app-brand
{
    background-color: #015c8b !important;
    height: 93px !important;
    border-bottom: 1px solid #92a2d7;
}
a.menu-link
{
   
    color: #9cb9e9 !important;
    border-bottom:1px solid #1e6a9a !important;
}

.bg-menu-theme .menu-inner > .menu-item.active > .menu-link,
.bg-menu-theme .menu-inner > .menu-item.active:before
{
    background-color: #1e6a9a !important;
}

.layout-wrapper:not(.layout-horizontal) .bg-menu-theme .menu-inner > .menu-item.active:before {
    content: "";
    position: absolute;
    right: 0 !important;
    bottom: 0 !important;
    top: 9px;
    width: 0.25rem;
    height: 2.6845rem;
    border-radius: 0.375rem 0 0 0.375rem;
}

.menu-vertical, .menu-vertical .menu-block, .menu-vertical .menu-inner > .menu-item, .menu-vertical .menu-inner > .menu-header {
    width: 17.25rem !important;
}

@media(min-width:1200px)
{
    .layout-menu-fixed:not(.layout-menu-collapsed) .layout-page, .layout-menu-fixed-offcanvas:not(.layout-menu-collapsed) .layout-page {
        padding-left: 17.25rem !important;
    }
}

.dt-scroll-head
{
    border-top-left-radius: 10px ;
    border-top-right-radius: 10px ;
}

.bg-custom-success,
.bg-custom-success:hover{
    background-color: #089c6c;
}
.bg-custom-danger,
.bg-custom-danger:hover
{
    background-color: #ff0000;
}

td.text-custom-success {
    color: #089c6c;
}

td.text-custom-danger {
    color: #ff0000;
}

.bg-custom-primary {
    background-color: gray;
}

.bg-custom-blue,
.bg-custom-blue:hover{
    background-color: #03a8fd;
    color: white;
}
.bg-custom-dark-blue,
.bg-custom-dark-blue:hover{
    background-color: #015c8b;
    color: white;
}

.bg-custom-secondary
{
    background-color: blue;
}
input#dt-search-0,
input#dt-search-2,
input#dt-search-1 {
    /* width: 400px;*/
    width: auto; /* updated to auto */
    border-radius: 20px;
    padding: 8px 40px 8px 15px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/149/149852.png');
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.dt-search label {
    display: none;
}

.custom-card-color{
    background-color: #cbedff;
}
.btn-submit,
.btn-submit:hover
{
    background-color: #2261b8;
    color: white;
}

.page-item.active .page-link
{
    background-color: #015c8b !important;
}
a{
    color: #027dbc !important;
}
.custom-header
{
    color: #015c8b !important;
}
.hr-color hr{
    color: #027dbc;
}
h5.hr-color
{
    border-bottom-color: #027dbc !important;
}
.input-field-color{
    background-color: #cbedff;
}
.nav-link.text-dark.active
{
    color: white !important;
}


.responsive-card {
    flex: 1;
    min-width: 0; 
    width: 100%;
}
nav#layout-navbar {
    z-index: 500 !important;
} 

/* Responsive code 04 Apr 2025 */
@media (max-width: 768px)
{
    .dropdown-container {
        width: auto !important;
    }
}

@media (max-width: 575.98px) {
    /* .d-flex {
        flex-wrap: nowrap !important;
    } */
    .responsive-card {
        flex: 1 1 100%; 
    }

    .nav-item{
        padding-right:5px !important;
        padding-left:5px !important;
    }
    
}

.fit-content {
    width: fit-content !important;
  }


.bx-menu:before {
    
    color: white !important;
}
/*POB Content CSS*/
.editor-error {
    border: 1px solid #ff3e1d !important;
    transition: border-color 0.15s ease-in-out;
}
/*End - POB Content CSS*/

/* End - Custom New Design Css by Ak 29 Jan 2025 */
/*Visitor Details Page Admin Responsive Code */
@media (max-width: 992px) {
    .detail-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .detail-column {
        padding: 0 !important;
    }

    .divider {
        display: none;
    }
}

@media (max-width: 576px) {
    .detail-item-list {
        flex-direction: column;
        gap: 0.25rem;
    }

    .detail-label, .detail-value {
        flex: 1;
        width: 100%;
    }
}
    /*Added by AKS for UPDATE Profile Pic for VISITOR Later on during edit -start*/

    /* Visitor Details page New css  - (TOASTR )*/
    @keyframes pulse {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.1);
        }

        100% {
            transform: scale(1);
        }
    }

    .photo-upload-btn.pulse {
        animation: pulse 1s infinite;
    }

    /* Toast notification container at top center */
    .visitor-toast-container {
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
        max-width: 500px;
    }

        .visitor-toast-container .toast {
            background: white !important;
            border-radius: 12px;
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
            padding: 15px 25px;
            display: flex;
            align-items: center;
            width: 100%;
            margin-bottom: 15px;
            border-left: 5px solid;
            transform: translateY(-100px);
            opacity: 0;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

    .toast.show {
        transform: translateY(0);
        opacity: 1;
    }

    .toast-icon {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        font-size: 16px;
    }

    .toast-success {
        border-left-color: #4ade80;
    }

        .toast-success .toast-icon {
            background: #4ade80;
            color: white;
        }

    .toast-error {
        border-left-color: #f87171 !important;
    }

        .toast-error .toast-icon {
            background: #f87171;
            color: white;
        }

    .toast-info {
        border-left-color: #60a5fa;
    }

        .toast-info .toast-icon {
            background: #60a5fa;
            color: white;
        }

    .toast-content {
        flex: 1;
    }

    .toast-title {
        font-weight: 600;
        margin-bottom: 4px;
        font-size: 16px;
    }

    .toast-message {
        font-size: 14px;
    }

    .toast-close {
        background: transparent;
        border: none;
        font-size: 18px;
        cursor: pointer;
        margin-left: 10px;
        opacity: 0.6;
        transition: opacity 0.2s;
    }

        .toast-close:hover {
            opacity: 1;
        }

    /* Animation for the toast */
    @keyframes slideIn {
        from {
            transform: translateY(-100px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes slideOut {
        from {
            transform: translateY(0);
            opacity: 1;
        }

        to {
            transform: translateY(-100px);
            opacity: 0;
        }
    }
/*Added by AKS for UPDATE Profile Pic for VISITOR Later on during edit -end */