:root {
    --tg-body-font-family: "DM Sans", sans-serif;
    --tg-heading-font-family: "Poppins", sans-serif;
    --tg-primary-color: #FEB312;
    --tg-secondary-color: #555555;
    --tg-body-font-color: #61657e;
    --tg-heading-font-color: #1c1c1c;
    --tg-paragraph-color: #61657e;
    --tg-menu-color: #0c1239;
    --tg-body-font-size: 16px;
    --tg-body-font-weight: 400;
    --tg-heading-font-weight: 700;
    --tg-body-line-height: 1.62;
    --tg-heading-line-height: 1.2;
    --tg-blue: #161c49;
    --tg-blue-two: #0f1437;
    --tg-blue-three: #0a0e21;
    --tg-border-color: #d8defc;
    --tg-input-border-color: #cfcfcf;
    --tg-indigo: #6610f2;
    --tg-purple: #6f42c1;
    --tg-pink: #d63384;
    --tg-red: #dc3545;
    --tg-orange: #fd7e14;
    --tg-seashell: #fff3ed;
    --tg-unbleached-silk: #ffdac9;
    --tg-yellow: #ffc107;
    --tg-green: #198754;
    --tg-teal: #20c997;
    --tg-cyan: #0dcaf0;
    --tg-white: #ffffff;
    --tg-gray: #f4f6ff;
    --tg-gray-two: #edf0ff;
    --tg-gray-three: #b8b8b8;
    --facebook: #3b5998;
    --twitter: #00acee;
    --linkedin: #1976d2;
    --pinterest: #3b5998;
    --youtube: #c4302b;
    --skype: #00aff0;
}

body {
    min-height: 100vh; /* Ensure body takes at least full height */
    font-family: "Poppins", sans-serif !important;
}

.dropdown-menu[data-bs-popper] {
    top: 100%;
    left: auto !important;
    right: 0;
    margin-top: var(--bs-dropdown-spacer);
}

.font-size-38 {
    font-size: 38px !important;
}

.grid-container {
    min-height: 88vh;
    background-image: url("https://static.tildacdn.com/tild6439-3362-4333-a230-356234613964/image.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.grid-logo {
    height: 150px; /* Specific height for Button1 */
}

.grid-logo-img {
    max-height: 100px;
    max-width: 210px;
}

.btn-custom-2 {
    height: 400px; /* Specific height for Button2 */
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 1rem !important;
}

.btn-custom-3,
.btn-custom-4,
.btn-custom-5,
.btn-custom-6 {
    padding: 1rem !important;
    height: 275px; /* Specific height for Buttons 3, 4, 5, 6 */
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.navbar {
    /* Optional: Customize navbar styles here if needed */
}

.text-primary {
    color: var(--tg-primary-color) !important;
}

.text-theme-primary {
    color: var(--tg-primary-color) !important;
}
.text-secondary {
    color: #d9d9d9 !important;
}
.text-dark {
    color: #000000 !important;
}


/* Buttons */
/* btn-primary CSS */
.btn-primary {
    background-color: var(--tg-primary-color) !important; /* Background color */
    border-color: var(--tg-primary-color) !important; /* Border color */
    color: #fff !important; /* Text color */
    font-weight: 600 !important;
    /* border-radius: 0 !important; */
}

.btn-primary:hover {
    background-color: var(
        --tg-secondary-color
    ) !important; /* Background color on hover */
    border-color: var(
        --tg-secondary-color
    ) !important; /* Border color on hover */
}

.btn-primary:active {
    background-color: rgb(
        255,
        162,
        45
    ) !important; /* Background color when active */
    border-color: rgb(255, 142, 40) !important; /* Border color when active */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important; /* Active shadow */
}

.btn-primary:disabled {
    background-color: var(
        --tg-primary-color
    ) !important; /* Disabled background color */
    border-color: var(
        --tg-primary-color
    ) !important; /* Disabled border color */
    color: #fff !important; /* Disabled text color */
}

/* btn-secondary CSS */
.btn-secondary {
    background-color: rgb(217, 217, 217) !important; /* Background color */
    border-color: rgb(217, 217, 217) !important; /* Border color */
    color: #fff !important; /* Text color */
    font-weight: 600 !important;
    border-radius: 0 !important;
}

.btn-secondary:hover {
    background-color: rgb(
        197,
        197,
        197
    ) !important; /* Background color on hover */
    border-color: rgb(197, 197, 197) !important; /* Border color on hover */
}

.btn-secondary:active {
    background-color: rgb(
        197,
        197,
        197
    ) !important; /* Background color when active */
    border-color: rgb(177, 177, 177) !important; /* Border color when active */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important; /* Active shadow */
}

.btn-secondary:disabled {
    background-color: rgb(
        217,
        217,
        217
    ) !important; /* Disabled background color */
    border-color: rgb(217, 217, 217) !important; /* Disabled border color */
    color: #000 !important; /* Disabled text color */
}

/* btn-dark CSS */
.btn-dark {
    background-color: rgb(0, 0, 0) !important; /* Background color */
    border-color: rgb(0, 0, 0) !important; /* Border color */
    color: #fff !important; /* Text color */
    font-weight: 600 !important;
    border-radius: 0 !important;
}

.btn-dark:hover {
    background-color: rgb(
        51,
        51,
        51
    ) !important; /* Background color on hover */
    border-color: rgb(51, 51, 51) !important; /* Border color on hover */
}

.btn-dark:active {
    background-color: rgb(
        30,
        30,
        30
    ) !important; /* Background color when active */
    border-color: rgb(30, 30, 30) !important; /* Border color when active */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important; /* Active shadow */
}

.btn-dark:disabled {
    background-color: rgb(0, 0, 0) !important; /* Disabled background color */
    border-color: rgb(0, 0, 0) !important; /* Disabled border color */
    color: #fff !important; /* Disabled text color */
}

#profileForm {
    max-width: 500px !important;
    margin: auto !important;
}

.profile-container {
    position: relative;
    display: inline-block; /* Needed for positioning the edit icon */
}
.img-preview {
    width: 100px; /* Adjust based on your needs */
    height: 100px;
    object-fit: cover;
}
.edit-icon {
    position: absolute;
    top: 50%; /* Position it vertically in the center */
    left: 50%; /* Position it horizontally in the center */
    transform: translate(-50%, -50%); /* Center it using transform */
    width: 20px;
    height: 20px;
    background: transparent; /* Optional: Add a background for better visibility */
    border-radius: 50%; /* Makes the background circular */
    display: none; /* Hide by default */
    align-items: center;
    justify-content: center;
}

.profile-container:hover .edit-icon {
    display: flex; /* Show on hover */
}

.login-container {
    min-height: auto;
    /* background-color: var(--tg-primary-color); */
}

/* .login-left-col{
    background-image: url('../../front-end/img/bg/services_bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
} */

.login-left-col {
    position: relative;
    display: inline-block; /* Ensures the overlay matches the image's size */
}

.login-left-col::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4e4e4ed9;
    z-index: 1;
}

.login-left-col img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-right-col {
    background-image: url("../../front-end/img/bg/appointment_bg.jpg");
    background-position: left;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* List view / grid view CSS Starts */
.grid-list-view .filter-buttons {
    display: flex;
    margin-bottom: 20px;
}

.grid-list-view .list-view-button, .grid-list-view .grid-view-button {
    color: white;
    border: 1px solid white;
    padding: 7px 5px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 3px !important;
}

.grid-list-view .list-view-button:hover, .grid-list-view .grid-view-button:hover {
    background: white;
    color: #0e2439;
}

.grid-list-view .list-view-button {
    margin-right: 10px;
}

.grid-list-view .list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.grid-list-view li {
    /* margin-bottom: 10px; */
    transition: 0.3s;
    background: var(--tg-white);
    box-shadow: 0px 0px 36px rgba(0, 0, 0, 0.08);
}

.grid-list-view .list.list-view-filter {
    flex-direction: column;
}

.grid-list-view .list.list-view-filter li, .grid-list-view .list-view-table-header {
    padding: 10px 30px;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 4fr 4fr 2fr;
    align-items: center;
    border-bottom: 1px solid #72727233;
    font-size: 15px;
}

.grid-list-view .list.grid-view-filter {
    flex-flow: row wrap;
}

.grid-list-view .list.grid-view-filter {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 1500px) {
    .grid-list-view .list.grid-view-filter {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) and (min-width: 992px) {
    .grid-list-view .list.grid-view-filter {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) and (min-width: 768px) {
    .grid-list-view .list.grid-view-filter {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-list-view .list.grid-view-filter {
        grid-template-columns: 1fr;
    }
    .grid-list-view .list.list-view-filter li, .grid-list-view .list-view-table-header, .grid-list-view .list.list-view-filter h6 {
        font-size: 13px;
        padding: 10px 20px;
    }
}

.grid-list-view .list.grid-view-filter li {
    padding: 25px;
    display: grid;
    text-align: left;
    font-size: 15px;
    gap: 5px;
    border-radius: 5px;
    border: 1px solid #72727233;
}


/* List view / grid view CSS Ends */


@media (min-width: 576px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 500px !important;
    }
}
@media (min-width: 768px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 600px !important;
    }
}

@media (min-width: 999px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 950px !important;
    }
}

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1150px !important;
    }
}
