* {
    margin: 0;
    padding: 0;
}

@keyframes clickAnim {
    from {
        transform: scale(1);
        opacity: 1;
    }

    to {
        transform: scale(5);
        opacity: 0;
    }
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    padding: 30px;
    transition: 0.3s ease;
    color: white;
}

/* PUSH CONTENT WHEN PANEL OPENS */
.layout.active .main-content {
    margin-left: 320px;
}

/* ===== LEFT PANEL ===== */
.settings-panel {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background-color: #2e7072;
    color: white;
    padding: 25px 20px;
    transition: 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.settings-panel.active {
    left: 0;
}

/* ===== USER ===== */
.user-box {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.user-box img {
    width: 50px;
    border-radius: 50%;
}

/* ===== MENU ITEMS ===== */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

/* ===== SWITCH ===== */
.switch {
    position: relative;
    width: 45px;
    height: 24px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    inset: 0;
    background: red;
    border-radius: 50px;
}

.slider:before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: 0.3s;
}

input:checked+.slider {
    background: #22c55e;
}

input:checked+.slider:before {
    transform: translateX(20px);
}

.dropdown-box {
    color: white;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
}

.dropdown-content {
    display: none;
    padding: 10px;
    margin-top: 5px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);

}

.dropdown-content.active {
    display: block;
}

.option {
    display: flex;
    justify-content: space-between;
    padding: 8px 5px;
    cursor: pointer;
}

.option input {
    display: none;
}

.radio {
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
}

.option input:checked+.radio {
    background: #00a23b;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {
    .layout.active .main-content {
        margin-left: 0;
    }
}

/* BACKDROP BLUR */
.modal-backdrop.show {
    opacity: 0.6;
}

/* CUSTOM MODAL */
.custom-modal {
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: none;
}

/* ICON */
.icon-box {
    width: 70px;
    height: 70px;
    background: #e8f6f8;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    color: #4fb6c2;
}

/* TEXT */
.popup-title {
    font-size: 16px;
    color: #555;
}

.popup-time {
    font-size: 26px;
    font-weight: 600;
    margin: 10px 0;
}

.popup-name {
    font-size: 18px;
    font-weight: 500;
}

.popup-sub {
    font-size: 12px;
    color: #777;
    margin-bottom: 20px;
}

/* BUTTON */
.btn-main {
    background: #4fb6c2;
    color: white;
    border-radius: 25px;
    padding: 10px 30px;
    border: none;
}

.btn-main:hover {
    background: #3aa4b0;
}

/* CLOSE */
.close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    border: none;
    background: transparent;
    font-size: 20px;
}

/* MAIN CARD */
.schedule-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* DOCTOR */
.doctor-box {
    display: flex;
    gap: 20px;
    align-items: center;
}

.doctor-box img {
    width: 80px;
    border-radius: 10px;
}

.rating {
    color: #ff7a00;
    font-weight: 600;
}

/* OPTIONS */
.option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    cursor: pointer;
}

.option input {
    accent-color: #ff4d4d;
}

/* CALENDAR */
.calendar {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.day {
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

.day:hover {
    background: #e9ecef;
}

.active-day {
    background: #ff4d4d;
    color: white;
}

/* BUTTON */
.btn-main {
    background: #499FB6;
    color: white;
    border-radius: 25px;
    padding: 10px 25px;
    border: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .doctor-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #1f6f78;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #fff;
    border-radius: 50%;
    animation: spin 5s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.col-md-12 {
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    font-family: sans-serif;
}

/* Navbar */
.navbar {
    background: #23585a;
    color: white;
}

.logo-center {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

/* MOBILE FIX */
@media (max-width: 991px) {
    .logo-center {
        position: static;
        transform: none;
        width: 100%;
        text-align: center;
        margin-top: -40px;
        margin-left: 30px;
    }
}

/* Doctor's Cards */
.doctors-section {
    padding: 60px 0;
}

.doctor-card {
    border-radius: 15px;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.doctor-card:hover {
    transform: translateY(-10px);
}

.img-box {
    position: relative;
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
}

.doctor-card:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(31, 111, 120, 0.7);
    top: 0;
    left: 0;
    opacity: 0;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-card:hover .overlay {
    opacity: 1;
}

.icons i {
    color: white;
    margin: 0 10px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.icons i:hover {
    transform: scale(1.2);
}

.content {
    padding: 20px;
    text-align: center;
}

.speciality {
    color: #1f6f78;
    font-weight: 500;
}

.desc {
    font-size: 14px;
    color: #555;
}

.experience {
    display: inline-block;
    background: #e6f4f5;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 10px;
}


.btn-primary {
    background: #1f6f78;
    border: none;
}

.btn-primary:hover {
    background: #14565e;
}

.page-link {
    color: #1f6f78;
    border-radius: 8px;
    margin: 0 5px;
}

.page-item.active .page-link {
    background: #1f6f78;
    border-color: #1f6f78;
}

/* Main Section */
.containerschedule {
    width: 100%;
    max-width: 1100px;
    margin: 50px auto;
}

.left {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: #76b9cb;
    border-radius: 50%;
}

.left img {
    width: 260px;
    position: relative;
    z-index: 2;
    border-radius: 100%;
}

.right {
    padding: 40px;
}

.rating {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.rating span {
    color: #ff7a00;
    font-weight: 600;
}

.name {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 6px;
}

.hospital {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}


.tabs {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.tab {
    padding-bottom: 10px;
    cursor: pointer;
    font-weight: 500;
    color: #aaa;
}

.tab.active {
    color: #ff4d4d;
    border-bottom: 2px solid #ff4d4d;
}


.desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    color: #ff4d4d;
    font-weight: 500;
    cursor: pointer;
}

.info {
    display: flex;
    gap: 50px;
    margin: 30px 0;
}

.info div {
    font-size: 13px;
}

.info strong {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    color: #333;
}

.footerr {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 26px;
    font-weight: 600;
}

.price span {
    font-size: 14px;
    color: #777;
    font-weight: normal;
}

.btn {
    background: #1f6f78;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.3);
}

@media (max-width: 900px) {
    .containerschedule {
        grid-template-columns: 1fr;
        width: 90%;
    }
}

.left {
    height: 300px;
}

.left img {
    width: 300px;
}

.right {
    padding: 25px;
}

.info {
    flex-direction: column;
    gap: 15px;

}

.view-more-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.view-more-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 30px;
    background: #76b9cb;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(77, 166, 255, 0.3);
}

/* Footer */
.footer-section {
    margin-top: 20px;
    background: #f2f8f9;
}

.footer-section h6 {
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    font-size: 13px;
    color: rgb(70, 70, 70);
    margin-bottom: 8px;
    cursor: pointer;
}

.footer-section ul li:hover {
    color: rgb(58, 58, 58);
}

.footer-section a {
    color: #000000;
    font-size: 18px;
}

.footer-section a:hover {
    color: rgb(0, 0, 0);
}