@import url("font-inter.css");
:root {
    --primarycolor: #0f766e;
    --primarycolorhover: #14b8a6;
    --btnice: #ccfbf1;
    --btnnicetext: #115e59;
    --bg-color: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(255, 255, 255, 0.2);
    --text-dark: #0f172a;
    --text-muted: #475569;
}

body {
    margin: 0;
    padding: 0;
    border-spacing: 0;
    font-family: "Inter", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
}

*,
::after,
::before {
    box-sizing: border-box;
}

/*------custom-scroll-bar - from w3schools.com------------------*/
/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 12px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.input-text {
    border-radius: 4px;
    border: 0.5px solid rgb(226, 226, 226);
    padding: 10px;
    width: 92%;
    transition: 0.2s;
    outline: none;
}

.input-text {
    border: 1px solid #e9ecef;
    font-size: 14px;
    line-height: 26px;
    background-color: #fff;
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-weight: 300;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.input-text:hover {
    background-color: rgb(250, 250, 250);
    transition: 0.2s;
    outline: none;
}

.input-text:focus {
    border: 1px solid rgb(10, 118, 216);
    transition: 0.2s;
}

.input-text::placeholder {
    font-family: "Inter", sans-serif;
}

/* -----------Buttons---------------*/
.btn {
    cursor: pointer;
    padding: 10px 24px;
    outline: none;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-2px);
    font-family: "Inter", sans-serif;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--primarycolorhover) 0%,
        var(--primarycolor) 100%
    );
    border: none;
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #115e59 0%, #0f766e 100%);
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.4);
    color: #fff;
}

.btn-primary-soft {
    background-color: var(--btnice);
    color: var(--btnnicetext);
    font-weight: 600;
    font-size: 16px;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.btn-primary-soft:hover {
    background-color: var(--primarycolorhover);
    color: #fff;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35);
}

.btn-in-text {
    font-size: 15px;
    letter-spacing: 0.5px;
}

.non-style-link:link,
.non-style-link:visited,
.non-style-link:hover,
.non-style-link:active {
    text-decoration: none;
    color: rgb(43, 43, 43);
}

.btn-label {
    margin-left: 10px;
    padding: 12px 12px;
    outline: none;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border-radius: 5px;
    background-color: #f0f0f073;
    border: 1px solid rgba(57, 108, 240, 0.1);
    font-family: "Inter", sans-serif;
}

.sub-table {
    border: 1px solid #ebebeb;
    border-radius: 8px;
}

.filter-container {
    width: 100%;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    background-color: #fff;
    margin-bottom: 24px;
    border-spacing: 0;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.filter-container-items {
    margin-top: 7.5px;
    margin-left: 20px;
}
.table-headin {
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    border-bottom: 3px solid var(--primarycolor);
}

.abc {
    width: 100%;
    height: 550px;
    overflow: auto;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity 300ms ease;
    opacity: 1;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 560px;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.10);
    animation: popupIn 0.25s cubic-bezier(0.34,1.56,0.64,1);
    margin: 0 auto;
    padding: 36px 40px 32px;
}

@keyframes popupIn {
    from { opacity: 0; transform: scale(0.92) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.popup h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.popup .content {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.popup .close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 50%;
    transition: all 200ms;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: var(--text-muted);
    line-height: 1;
}
.popup .close:hover {
    background: #e2e8f0;
    color: var(--text-dark);
}

}

@media screen and (max-width: 700px) {
    .box {
        width: 70%;
    }
    .popup {
        width: 70%;
    }
}

input[type="search"] {
    background-image: url("../img/search.svg");
    background-position: 10px 50%;
    background-repeat: no-repeat;
    transition: 0.5s;
    padding: 8px 20px 8px 40px;
}

input[type="search"]:focus {
    transition: 0.5s;
}

.box {
    width: 120px;
    height: 30px;
    border: 1px solid #e9ecef;
    font-size: 14px;
    color: #212529;
    background-color: #fff;
    line-height: 26px;
    font-weight: 300;
    border-radius: 0.25rem;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    width: 100%;
    background-clip: padding-box;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.btn-primary-gray {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid var(--text-muted);
    color: var(--text-dark);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.btn-primary-gray:hover {
    background-color: var(--btnice);
    border-color: var(--primarycolor);
    color: var(--primarycolor);
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.1);
}

.button-icon {
    background-position: 10px 50%;
    background-repeat: no-repeat;
    transition: 0.5s;
    padding: 8px 20px 8px 40px;
}

.menu-btn {
    padding: 12px 16px;
    margin: 6px 16px;
    border-radius: 12px;
    color: var(--text-muted);
    background-position: 16px 50%;
    background-size: 20px;
    background-repeat: no-repeat;
    transition: all 0.2s ease;
}

.menu-text {
    padding-left: 42px;
    font-weight: 500;
    font-size: 15px;
    margin: 0;
    line-height: 24px;
}

.menu-active {
    color: var(--primarycolor);
    background-color: var(--btnice);
    border-right: none;
}

.menu-btn:hover {
    background-color: var(--btnice);
    color: var(--primarycolor);
}

.non-style-link-menu:link,
.non-style-link-menu:visited,
.non-style-link-menu:active {
    text-decoration: none;
    color: var(--text-muted);
}
.non-style-link-menu:hover {
    text-decoration: none;
    color: var(--primarycolor);
}

.non-style-link-menu-active:link,
.non-style-link-menu-active:visited,
.non-style-link-menu-active:active {
    text-decoration: none;
    color: var(--primarycolor);
}

.menu-icon-dashbord {
    background-image: url("../img/icons/dashboard.svg");
}

.menu-icon-doctor {
    background-image: url("../img/icons/doctors.svg");
}
.menu-icon-schedule {
    background-image: url("../img/icons/schedule.svg");
}
.menu-icon-appoinment {
    background-image: url("../img/icons/book.svg");
}
.menu-icon-patient {
    background-image: url("../img/icons/patients.svg");
}
.menu-icon-settings {
    background-image: url("../img/icons/settings.svg");
}

.menu-icon-session {
    background-image: url("../img/icons/session.svg");
}
.menu-icon-home {
    background-image: url("../img/icons/home.svg");
}

.menu-icon-dashbord:hover,
.menu-icon-dashbord-active {
    color: var(--primarycolor);

    background-image: url("../img/icons/dashboard-hover.svg");
}

.menu-icon-doctor:hover,
.menu-icon-doctor-active {
    color: var(--primarycolor);
    background-image: url("../img/icons/doctors-hover.svg");
}
.menu-icon-schedule:hover,
.menu-icon-schedule-active {
    color: var(--primarycolor);

    background-image: url("../img/icons/schedule-hover.svg");
}
.menu-icon-appoinment:hover,
.menu-icon-appoinment-active {
    color: var(--primarycolor);

    background-image: url("../img/icons/book-hover.svg");
}
.menu-icon-patient:hover,
.menu-icon-patient-active {
    color: var(--primarycolor);

    background-image: url("../img/icons/patients-hover.svg");
}

.menu-icon-settings:hover,
.menu-icon-settings-active {
    color: var(--primarycolor);

    background-image: url("../img/icons/settings-iceblue.svg");
}

.menu-icon-session:hover,
.menu-icon-session-active {
    color: var(--primarycolor);

    background-image: url("../img/icons/session-iceblue.svg");
}
.menu-icon-home:hover,
.menu-icon-home-active {
    color: var(--primarycolor);

    background-image: url("../img/icons/home-iceblue.svg");
}

.btn-icon-back {
    background-image: url("../img/icons/back-iceblue.svg");
    background-position: 18px 50%;
    background-repeat: no-repeat;
    transition: 0.5s;
    padding: 8px 20px 8px 40px;
}

.btn-icon-back:hover {
    background-image: url("../img/icons/back-white.svg");
}

.btn-edit {
    background-image: url("../img/icons/edit-iceblue.svg");
}
.btn-edit:hover {
    background-image: url("../img/icons/edit-white.svg");
}

.btn-view {
    background-image: url("../img/icons/view-iceblue.svg");
}
.btn-view:hover {
    background-image: url("../img/icons/view-white.svg");
}

.btn-delete {
    background-image: url("../img/icons/delete-iceblue.svg");
}
.btn-delete:hover {
    background-image: url("../img/icons/delete-white.svg");
}

.btn-filter {
    background-image: url("../img/icons/filter-iceblue.svg");
    background-position: 15px 50%;
}
.btn-filter:hover {
    background-image: url("../img/icons/filter-white.svg");
}

.dashboard-items {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--primarycolor);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    transition: all 0.3s ease;
}

.dashboard-items:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px 0 rgba(15, 118, 110, 0.15);
}

.h1-dashboard {
    margin: 0;
    padding: 0;
    font-size: 25px;
    font-weight: 600;
    line-height: 0;
    padding-top: 20px;
}

.h3-dashboard {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: 500;
    color: #212529e3;
}

.dashboard-icons {
    background-color: rgba(184, 184, 184, 0.247);
    padding-top: 30px;
    padding-bottom: 30px;
    border-radius: 7px;
    margin-left: 40px;
    margin-right: 0px;
}
.dashboard-icons-setting {
    background-color: rgba(184, 184, 184, 0.247);
    padding-top: 30px;
    padding-bottom: 30px;
    border-radius: 7px;
    margin-left: 5px;
    margin-right: 20px;
}

.setting-tabs:hover {
    background-color: #d6d6d657;
}

.doctor-header {
    background-image: url(../img/b8.jpg);
    color: rgba(0, 0, 0, 0.87);
    background-size: 100%;
    background-repeat: no-repeat;
    padding: 20px;
    padding-left: 35px;
}

.patient-header {
    background-image: url(../img/b3.jpg);
}

.search-items {
    padding: 20px;
    margin: 10px;
    width: 95%;
    display: flex;
    padding-left: 0;
    padding-left: 30px;
    box-sizing: border-box;
    line-height: 1.5;
    box-shadow: 0 3px 5px 0 rgba(95, 95, 97, 0.068);
}

.h1-search {
    margin: 0;
    padding: 0;
    font-size: 23px;
    font-weight: 600;
    padding-top: 20px;
    padding-bottom: 10px;
}

.h3-search {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 500;
    color: #212529e3;
}

.h4-search {
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 400;
    color: #212529e3;
}

.btn-book {
    background-image: url("../img/icons/book-balck.svg");
    background-position: 68% 50%;
    background-repeat: no-repeat;
    transition: 0.5s;
}
