:root {
        --teal-color: #116E7C;
        --teal-dark: #0b4d57;
        --teal-light: #26C6DA;
        --pink:#F0B9B2;
        --pink-dark:#d48c83;
        --plum-color: #c06a8a;
        --dark-blue: #221D48; 
        --pink-body:#ffe6e6; 
        --c-btn-bg:#945173;
    }

.therapist-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    background: var(--pink-body);
    transition: transform 0.2s;
    margin-bottom: 30px;
    
    /* --- NEW LINES FOR EQUAL HEIGHT --- */
    height: calc(100% - 30px); /* 100% height minus the bottom margin */
    display: flex;             /* Turns the card into a flex container */
    flex-direction: column;    /* Stacks Header, Body, Footer vertically */
}

.t-body {
    padding: 20px;
    text-align: center;
    
    /* --- NEW LINE --- */
    flex: 1; /* This forces the body to grow and push the footer to the bottom */
    
    /* Optional: To ensure the "Choose Counsellor" button is always at the bottom of the body */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .therapist-card:hover {
        transform: translateY(-5px);
    }

    /* 1. Header Section (Teal) */
    .t-header {
        background-color: var(--pink);
        /* The Teal Color */
        padding: 20px;
        color: #2c2c2c;
        position: relative;
    }

    .badge-role {
        position: absolute;
        top: 0;
        right: 0;
        background: var(--plum-color);
        color: white;
        padding: 5px 15px;
        border-bottom-left-radius: 10px;
        font-size: 12px;
        font-weight: bold;
    }

    .profile-pic {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        border: 3px solid rgba(255, 255, 255, 0.3);
        object-fit: cover;
    }

    .icon-btn {
        background: rgb(255 255 255 / 32%);
        color: #2c2c2c;
        width: 30px;
        height: 30px;
        border-radius: 5px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 5px;
        font-size: 14px;
    }

    /* 2. Body Section */
    /* .t-body {
        padding: 20px;
        text-align: center;
    } */

    .spec-pill {
        border: 1px solid var(--plum-color);
        color: #fff;
        border-radius: 20px;
        padding: 4px 12px;
        font-size: 13px;
        margin: 2px;
        display: inline-block;
        background: var(--plum-color);
    }

    .info-label {
        font-weight: bold;
        display: block;
        margin-top: 15px;
        margin-bottom: 5px;
        color: #000;
    }

    .info-text {
        color: #2c2c2c;
        font-size: 14px;
    }

    .check-icon {
        color: #20c997;
        margin-right: 3px;
    }

    /* 3. Action Button */
    .btn-choose {
        background-color: var(--dark-blue);
        color: white;
        border: none;
        border-radius: 8px;
        padding: 10px 0;
        font-weight: bold;
        width: 100%;
        margin-top: 20px;
    }

    .btn-choose:hover {
        background-color: #1ebbd0;
        color: white;
    }

    /* 4. Footer (Next Slot) */
    .t-footer {
        background-color: var(--pink-dark);
        color: white;
        text-align: center;
        padding: 10px;
        font-size: 13px;
        font-weight: 600;
    }


        .profile-header-card {
        border: none;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        overflow: hidden;
    }

    .profile-img-lg {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border: 5px solid var(--plum-color);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .tag-chip {
        background: #e0fffa;
        color: #00cba9;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        margin-right: 5px;
        margin-bottom: 5px;
        display: inline-block;
    }

    /* SLOT SELECTION STYLES */
    .slot-radio {
        display: none;
    }

    /* Hide actual radio button */

    .slot-label {
        display: block;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 15px;
        margin-bottom: 10px;
        cursor: pointer;
        transition: 0.2s;
        background: white;
        text-align: center;
    }

    .slot-label:hover {
        border-color: #00cba9;
        background: #f9fffe;
    }

    /* When Selected */
    .slot-radio:checked+.slot-label {
        background-color: var(--plum-color);
        color: white;
        border-color: var(--plum-color);
        box-shadow: 0 5px 15px rgb(192 106 138 / 50%);
    }

    .slot-time {
        font-size: 16px;
        font-weight: bold;
        display: block;
    }

    .slot-date {
        font-size: 12px;
        opacity: 0.9;
    }

    .sticky-booking-box {
        position: sticky;
        top: 20px;
    }

    .c-btn .default-btn {
    background-color: var(--c-btn-bg);
    color: #ffffff;
}

/* --- Filter Widget Styles (Pink Theme) --- */

.filter-wrapper {
    width: 100%;
    margin-bottom: 30px;
}

/* 1. Header & Badge */
.filter-label {
    background-color: var(--c-btn-bg);
    color: #fff;
    padding: 6px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* 2. Legend Dots */
.role-legend .legend-item {
    margin-left: 15px;
    font-size: 14px;
    color: var(--dark-blue);
    font-weight: 500;
}
.role-legend .dot {
    height: 10px;
    width: 10px;
    display: inline-block;
    margin-right: 5px;
    border-radius: 50%;
}
.role-legend .dot.therapist { background-color: var(--c-btn-bg); }
.role-legend .dot.psychiatrist { background-color: var(--plum-color); }
.role-legend .dot.nutritionist { background-color: var(--pink-dark); }

/* 3. Form Inputs - WIDTH FIXES HERE */
.advanced-search-form .form-group {
    width: 100%; /* Ensure the container fills the column */
    margin-bottom: 0;
}

.advanced-search-form .form-control {
    width: 100% !important; /* FORCE full width */
    height: 50px;
    border: 1px solid var(--c-btn-bg);
    color: var(--dark-blue);
    font-size: 15px;
    background-color: #fff;
    border-radius: 0;
    display: block; /* Ensure it behaves as a block element */
}

.advanced-search-form .form-control:focus {
    box-shadow: none;
    border-color: var(--plum-color);
}

/* Borders for merged look */
.first-input {
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}

.middle-input {
    border-left: 0; 
}

/* 4. Search Button */
.btn-filter-submit {
    width: 100%; /* Force button to fill its column */
    background-color: var(--c-btn-bg);
    color: #fff;
    height: 50px;
    border: none;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    font-weight: 600;
    transition: 0.3s;
}

.btn-filter-submit:hover {
    background-color: var(--plum-color);
    color: #fff;
}

/* 5. Custom Dropdown Arrow */
select.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23945173' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 96%;
    background-position-y: 50%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .advanced-search-form .form-control, 
    .btn-filter-submit {
        border-radius: 5px !important;
        border-left: 1px solid var(--c-btn-bg) !important;
        margin-bottom: 10px;
    }
}

/* Styling for the Clear Button */
.btn-filter-clear {
    background-color: #f1f1f1; /* Light Gray */
    color: #333;
    height: 50px;
    border: none;
    border-radius: 0;
    /* Rounded corners only on the far right */
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
    border-left: 1px solid #ddd; /* Separator line */
}

.btn-filter-clear:hover {
    background-color: #e2e2e2;
    color: #000;
}

/* Adjust Search Button to lose right-side radius since it's now in the middle */
.btn-filter-submit {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Mobile Fix: Stack buttons properly */
@media (max-width: 768px) {
    .btn-filter-clear {
        border-radius: 5px !important;
        margin-top: 10px;
        width: 100% !important;
    }
    .btn-filter-submit {
        width: 100% !important;
        border-radius: 5px !important;
    }
    .d-flex {
        display: block !important;
    }
}

.bg-pink
    {
        background-color: var(--pink) !important;
        color: #000;
    }

    .therapist-profile-section {
    position: relative; /* Required to keep the background inside */
    z-index: 1;         /* Ensures text sits on top */
    overflow: hidden;   /* Ensures the image respects the border-radius */
     background-image: url('../images/bg.jpg');
    background-size: cover; 
    background-position: center right; 
    background-repeat: no-repeat; 
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 2px 8px rgb(115 43 43 / 40%);
}

.therapist-profile-section .card {
    background-color: transparent;
}

.bg-pink-dark{
    background: var(--pink-dark);
}
.text-pink-dark{
    color: var(--c-btn-bg);
}
.row {
    --bs-gutter-x: 2.5rem;
}

.black-logo{
    width:200px;
}