/* Fonts */
@font-face {
    font-family: 'InterMedium';
    src: url('../fonts/inter/InterMedium.eot');
    src: url('../fonts/inter/InterMedium.eot') format('embedded-opentype'),
    url('../fonts/inter/InterMedium.woff2') format('woff2'),
    url('../fonts/inter/InterMedium.woff') format('woff'),
    url('../fonts/inter/InterMedium.ttf') format('truetype'),
    url('../fonts/inter/InterMedium.svg#InterMedium') format('svg');
}
@font-face {
    font-family: 'InterBold';
    src: url('../fonts/inter/InterBold.eot');
    src: url('../fonts/inter/InterBold.eot') format('embedded-opentype'),
    url('../fonts/inter/InterBold.woff2') format('woff2'),
    url('../fonts/inter/InterBold.woff') format('woff'),
    url('../fonts/inter/InterBold.ttf') format('truetype'),
    url('../fonts/inter/InterBold.svg#InterBold') format('svg');
}
@font-face {
    font-family: 'InterRegular';
    src: url('../fonts/inter/InterRegular.eot');
    src: url('../fonts/inter/InterRegular.eot') format('embedded-opentype'),
    url('../fonts/inter/InterRegular.woff2') format('woff2'),
    url('../fonts/inter/InterRegular.woff') format('woff'),
    url('../fonts/inter/InterRegular.ttf') format('truetype'),
    url('../fonts/inter/InterRegular.svg#InterRegular') format('svg');
}
body{
    /*background-color: #F9F9F9;*/
    background-color: rgba(148, 170, 141, 0.275);
}
/* Typography */
body,
p {
    font-family: "InterRegular";
}
h1,
h2,
h3,
h4,
h5,
h6{
    font-family: 'InterBold';
}
/* Forms */
form label{
    font-size: 16px;
    font-family: 'InterBold';
    letter-spacing: 1px;
    margin-bottom: 5px;
}
input,
select,
textarea{
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #dedede;
    width: 100%;
}
input:hover,
input:focus{
    outline: none;
}
input[type="submit"]{
    background-color: #1C3759;
    color: #fff;
    transition: all 0.3s;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
}
input[type="submit"]:hover,
input[type="submit"]:focus{
    background-color: #253B5A;
    transition: all 0.3s;
}
.err-msg {
    color: #EF3826;
}
.success-icon{
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 8px;
    background-image: url(../images/success.svg);
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
}
.gallery-items .processing-icon {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 8px;
    background-image: url(../images/processing.gif); /* Replace with your processing icon */
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
}
.gallery-items .error-icon {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 8px;
    background-image: url(../images/error.svg); /* Your error icon */
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: center;
}
.btn-primary{
    background-color: #1C3759;
    border-color: #1C3759;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active{
    background-color: #253B5A;
}
.file-upload-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.file-upload-button.disabled span {
    color: #fff; /* Or any other style you want for disabled text */
}
/* Login Page */
.wt-login{
    padding: 0 20px;
}
.wt-login--logo img{
    max-width: 80px;
    margin-bottom: 20px;
}
.wt-login h2{
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 30px;
}
.wt-login .wt-login--error{
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 15px;
}
.wt-login form{
    border: 1px solid #c1bcbcb0;
    padding: 20px 25px;
    border-radius: 8px;
    background-color: #fff;
}
/* Site header */
.site-header{
    padding: 15px 0;
    background-color: #fff;
}
.site-header .logo{
    max-width: 40px;
}
.site-header .app-name{
    font-family: 'InterBold';
    font-size: 18px;
    padding-left: 10px;
}
.site-header .logout-icon{
    width: 35px;
}
.site-header .logout-link{
    text-align: right;
}
a.site-logo{
    text-decoration: none;
    display: inline-flex;
    color: #212529;
}
.site-header a.site-logo .app-name{
    margin-top: 5px;
}
/* Start Page */
.start-page .appointments h3{
    font-size: 16px;
}
/* Appointments listing */
.appointments{
    margin: 30px 0;
}
.appointments h2{
    font-size: 16px;
    margin-bottom: 20px;
    text-align: right;
}
.appointments .welcome-msg{
    font-size: 16px;
    margin-bottom: 20px;
}
.appointment_wrap{
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 15px;
}
.appointment_name,
.appointment_time{
    color: #303030;
}
.appointment_name{
    font-size: 16px;
    font-family: 'InterMedium';
}
.appointment_conf_no{
    font-size: 13px;
}
.appointment_time{
    font-size: 15px;
    float: right;
}
.appointment_status div{
    font-size: 13px;
    background-color: #e5dfdfbd;
    padding: 3px 10px;
    min-width: 90px;
    text-align: center;
    display: inline-block;
    border: 1px solid #e5dfdfbd;
    border-radius: 8px;
    letter-spacing: 0.5px;
}
.appointment_status .appointment_Completed{
    background-color: rgb(0 182 155 / 20%);
    color: #00B69B;
    border-color: #00B69B;
}
.appointment_status .appointment_Cancelled{
    background-color: rgba(239 56 38 / 20%);
    color: #EF3826;
    border-color: #EF3826;
}
.appointment_status .appointment_Scheduled{
    background-color: #FDF7EB;
    color: #EAA218;
    border-color: #EAA218;
}
.app_date img,
.app_time img{
    margin-right: 8px;
    max-width: 20px;
}
.appointment_more{
    margin: 10px 0 0 0;
    font-size: 14px;
    letter-spacing: 0.75px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 140px;
    margin: 0 auto;
    cursor: pointer;
    color: #1C3759;
    font-weight: bold;
}
.appointment_more .more-arrow,
.appointment_more .less-arrow{
    background-image: url("../images/down-arrow.svg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 18px;
    height: 18px;
    display: inline-block;
    margin-left: 5px;
    transform: rotate(270deg);
    top: 2px;
    position: relative;
}
.appointment_more .less-arrow {
    transform: rotate(180deg);
}
.appointment_more svg{
    max-width: 18px;
}
#appointments-tab{
    justify-content: space-between;
    font-size: 14px;
}
.appointment_tabs{
    display: none;
}
.nav-pills li{
    color: #000;
    width: 50%;
    font-size: 14px;
}
.nav-pills li button{
    width: 100%;
}
.nav-pills .nav-link{
    background-color: rgba(148, 170, 141, 0.275);
    color: #000;
}
.nav-pills .nav-link.active{
    color: #fff;
    background-color: #1C3759;
}
.tab-content{
    font-size: 13px;
}
.gallery-items{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 -5px;
}
.gallery-items a {
    padding: 0 5px;
    flex: 1 0 86px;
    align-items: center;
    justify-content: center;
    display: flex;
}
.gallery-items img{
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 8px;
    margin: 10px 0;
}
.no-pics-available{
    font-size: 14px;
    text-align: center;
    /*border: 1px solid #dedede;*/
    padding: 8px 10px;
    /*background-color: #FDF7EB;
    border-radius: 5px;*/
    margin-left: 5px;
    margin-right: 5px;
}
.placeholder {
    height: 86px;
    width: 86px;
    border-radius: 8px;
    animation: skeleton 1s linear infinite alternate;
}
.gallery-items div {
    margin-bottom: 10px;
    margin-top: 10px;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.gallery-items div.err-msg{
    width: 100%;
    text-align: center;
}
@keyframes skeleton {
    0% {
        background-color: hsl(200, 20%, 80%);
    }
    100% {
        background-color: hsl(200, 20%, 95%);
    }
}

/* Hide the actual file input */
.file-input {
    display: none;
}

/* Style the label to look like a button */
.file-upload-button {
    display: inline-block;
    padding: 8px 20px;
    background-color: #94AA8D;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.file-upload-button:active {
    background-color: #94AA8D;
}

/* Style wrapper for better responsiveness on mobile */
.file-upload-wrapper {
    text-align: center;
    margin: 10px 0;
}
.file-upload-wrapper button {
    margin-bottom: 10px;
}
.file-name {
    display: block;
    font-size: 14px;
    color: #666;
}
.back-btn{
    text-decoration: none;
    color: #212529;
}
.back-btn img{
    height: 20px;
    margin-right: 3px;
    margin-top: -1px;
}
.search-appointment-badge{
    position: relative;
    bottom: 15px;
    font-weight: normal;
}
/* Search Form */
.search-appointment input[type="text"]{
    max-width: 260px;
}
.search-appointment button{
    background-color: #1C3759;
    color: #fff;
    min-height: 40px;
    border-radius: 5px;
    min-width: 100px;
}
/* Welcome Box */
.welcome-box{
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
}
.welcome-box h3{
    border-bottom: 1px solid rgba(148, 170, 141, 0.275);
    padding-bottom: 15px;
}
/* Pagination */
.pagination{
    font-size: 15px;
}
.page-link{
    color: #1C3759;
}
.page-item.active .page-link{
    background-color: #1C3759;
    border-color: #1C3759;
}
/* single-appointment */
.single-appointment .welcome-box h3{
    padding-bottom: 10px;
    font-size: 18px;
}
/* site footer */
.site-footer{
    color: #fff;
    padding: 22px 0;
    background-color: #1C3759;
}

@media(max-width:767.9px){
    .search-appointment input[type="text"]{
        max-width: calc(100% - 110px);
    }
}

/*test */
.image-container {
    position: relative;
    display: inline-block; /* Or your preferred display style */
}

.placeholder-image {
    /* Your placeholder image styles */
    /* For example: */
    background-color: #f0f0f0;
    /* Add any other styles you want for the placeholder */
}

.loading-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Styles for the loading message */
    display: none; /* Initially hide the message */
    z-index: 10;
}

.image-container.loading .loading-message {
    display: block; /* Show the message when loading */
}