
/* GENERAL SETTINGS */

:root {
    --forest: #303D32;
    --sage: #A8AD91;
    --sand: #D8C5A9;
    --cream: #F2E9D8;
    --text: #E2DDCE;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--forest);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

main {
    width: 100%;
}

section {
    width: 100%;
}

/* NAVIGATION */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    border-bottom: 1px solid rgba(242, 233, 216, 0.15);
}

.logo {
    color: var(--cream);
    font-family: 'DM Serif Display', serif;
    font-size: 25px;
    text-decoration: none;
}

.logo span {
    color: var(--sage);
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--sage);
}

.nav-button {
    text-decoration: none;
    color: var(--forest);
    background: var(--sage);
    padding: 11px 20px;
    border-radius: 4px;
    font-size: 13px;
}

/* BUTTONS */

.primary-button {
    display: inline-block;
    background: var(--sage);
    color: var(--forest);
    padding: 14px 25px;
    text-decoration: none;
    border: none;
    border-radius: 3px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.primary-button:hover {
    background: var(--cream);
}

/* COMMON TEXT */

.eyebrow {
    color: var(--sand);
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 25px;
    font-weight: 600;
}

/* HERO SECTION */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 100px 12%;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    color: var(--cream);
    font-family: 'DM Serif Display', serif;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-description {
    color: var(--text);
    max-width: 490px;
    font-size: 16px;
    margin-bottom: 35px;
}

/* ABOUT SECTION */

.about {
    background: var(--cream);
    color: var(--forest);
    padding: 110px 10%;
    text-align: left;
}

.about .eyebrow {
    color: #7D856A;
}

.about-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 70px;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.about-content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 30px;
}

.about-content p:not(.eyebrow) {
    color: #596052;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.9;
}

.about-content .about-ending {
    font-family: 'DM Serif Display', serif;
    font-size: 21px;
    color: var(--forest);
    margin-top: 30px;
}

.about-visual {
    min-height: 350px;
    max-width: 380px;
    margin: 0 auto;
    overflow: hidden;
}

.about-visual img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* MY APPROACH SECTION */

.support {
    padding: 110px 12%;
    text-align: center;
}

.support h2,
.contact h2 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.25;
    max-width: 700px;
    margin: 0 auto 25px;
}

.support-intro {
    max-width: 550px;
    margin: 0 auto 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 50px;
    text-align: left;
}

.service-card {
    border: 1px solid rgba(242, 233, 216, 0.25);
    padding: 35px 28px;
    min-height: 240px;
    transition: 0.3s ease;
}

.service-card:hover {
    background: #39483B;
    transform: translateY(-5px);
}

.service-card span {
    color: var(--sand);
    font-size: 13px;
}

.service-card h3 {
    color: var(--cream);
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    font-weight: 400;
    margin: 25px 0 15px;
}

.service-card p {
    color: var(--text);
    font-size: 13px;
}

/* COUNSELLING SESSIONS */

.sessions {
    background: var(--cream);
    color: var(--forest);
    padding: 100px 10%;
    text-align: center;
}

.sessions h2 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.sessions .eyebrow {
    color: #7D856A;
}

.sessions-intro {
    max-width: 600px;
    margin: 0 auto 50px;
    color: #596052;
    line-height: 1.9;
}

.session-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto 35px;
    text-align: left;
}

.session-card {
    padding: 30px;
    border: 1px solid #D8C5A9;
}

.session-card span {
    color: #78836B;
    font-size: 13px;
}

.session-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 23px;
    font-weight: 400;
    color: var(--forest);
    margin: 22px 0 12px;
}

.session-card p {
    color: #596052;
    font-size: 13px;
    line-height: 1.8;
}

.sessions-note {
    font-size: 13px;
    color: #596052;
    margin: 30px 0;
}

/* GETTING STARTED SECTION */

.getting-started {
    background: var(--forest);
    color: var(--text);
    padding: 110px 8%;
    text-align: center;
}

.getting-started > .eyebrow {
    color: var(--sand);
}

.getting-started > h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 20px;
}

.getting-started-intro {
    max-width: 650px;
    margin: 0 auto 55px;
    font-size: 15px;
}

/* CONSENT CONTENT */

.consent-content,
.client-form-section,
.booking-section {
    max-width: 850px;
    margin: 0 auto 35px;
    text-align: left;
}

.consent-content {
    background: #39483B;
    border: 1px solid rgba(242, 233, 216, 0.18);
    padding: 45px;
    border-radius: 5px;
}

.consent-content h3,
.client-form-section h3,
.booking-section h3 {
    color: var(--cream);
    font-family: 'DM Serif Display', serif;
    font-size: 25px;
    font-weight: 400;
    margin: 35px 0 15px;
}

.consent-content h3:first-child,
.client-form-section h3:first-child,
.booking-section h3:first-child {
    margin-top: 0;
}

.consent-content p,
.client-form-section p,
.booking-section p {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 16px;
    color: var(--text);
}

.consent-content ul {
    padding-left: 25px;
    margin: 15px 0 20px;
}

.consent-content li {
    padding-left: 5px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.8;
}

/* BEFORE BOOKING SECTION */

.client-form-section {
    background: #39483B;
    color: var(--text);
    border: 1px solid rgba(242, 233, 216, 0.18);
    padding: 45px;
    border-radius: 5px;
}

.client-form-section h3 {
    color: var(--cream);
}

.client-form-section p {
    color: var(--cream);
}

.client-form-section .form-note {
    font-size: 12px;
    color: var(--cream) !important;
    margin: 20px 0 0;
}

/* BOOKING SECTION */

.booking-section {
    background: #39483B;
    border: 1px solid rgba(242, 233, 216, 0.18);
    padding: 40px;
    border-radius: 5px;
}

#bookingCalendar {
    width: 100%;
    margin-top: 25px;
    overflow: hidden;
    border-radius: 4px;
    background: #69745D;
}

#bookingCalendar iframe {
    display: block;
    width: 100%;
    min-height: 650px;
    border: none;
    background: #FFFFFF;
}

/* CONTACT SECTION */

.contact {
    background: #39483B;
    padding: 100px 12%;
    text-align: center;
}

.contact h2 {
    color: var(--cream);
}

.contact p:not(.eyebrow) {
    margin-bottom: 30px;
}

/* FOOTER */

footer {
    padding: 30px 8%;
    text-align: center;
    color: var(--sand);
    font-size: 12px;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 768px) {

    .navbar {
        flex-wrap: wrap;
        gap: 18px;
        padding: 20px 6%;
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
    }

    nav a {
        font-size: 11px;
    }

    .nav-button {
        font-size: 11px;
        padding: 9px 12px;
    }

    .hero {
        min-height: 550px;
        padding: 80px 8%;
    }

    .about,
    .support,
    .sessions,
    .contact,
    .getting-started {
        padding: 75px 8%;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-visual {
        min-height: 280px;
    }

    .about-visual img {
        height: 280px;
    }

    .service-grid,
    .session-details {
        grid-template-columns: 1fr;
    }

    .consent-content,
    .client-form-section,
    .booking-section {
        padding: 25px 20px;
    }

    #bookingCalendar iframe {
        min-height: 650px;
    }
}

@media (max-width: 420px) {

    .logo {
        font-size: 21px;
    }

    nav a {
        font-size: 10px;
    }

    .getting-started,
    .sessions,
    .support {
        padding-left: 6%;
        padding-right: 6%;
    }
}

/* CLIENT FORM - SPACING AND LAYOUT */

#clientFormSection {
    max-width: 900px;
    margin: 35px auto;
    text-align: left;
}

#clientFormSection > h3 {
    text-align: center;
    margin-bottom: 35px;
}

#clientForm {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

#clientForm .form-group {
    background: rgba(242, 233, 216, 0.035);
    border: 1px solid rgba(242, 233, 216, 0.16);
    border-radius: 5px;
    padding: 30px;
}

#clientForm .form-group h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 23px;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 18px;
}

#clientForm .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

#clientForm .form-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

#clientForm .full-width {
    grid-column: 1 / -1;
}

#clientForm label {
    color: var(--cream);
    font-size: 14px;
}

#clientForm input:not([type="checkbox"]),
#clientForm select {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 15px;
    border: 1px solid rgba(242, 233, 216, 0.3);
    border-radius: 4px;
    background: var(--cream);
    color: var(--forest);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

#clientForm input::placeholder {
    color: #77796E;
}

#clientForm .consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.7;
    margin: 20px 0 25px;
}

#clientForm .consent-checkbox input {
    margin-top: 5px;
    accent-color: var(--sage);
}

#clientForm .form-label {
    display: block;
    margin-bottom: 10px;
}

#clientForm .form-submit {
    text-align: center;
}

#clientForm .form-submit button {
    cursor: pointer;
}

@media (max-width: 600px) {
    #clientFormSection {
        margin: 25px auto;
    }

    #clientForm .form-group {
        padding: 22px;
    }

    #clientForm .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #clientForm .full-width {
        grid-column: auto;
    }
}

/* CUSTOM APPOINTMENT CALENDAR */

.calendar-shell {
    width: 100%;
    margin-top: 25px;
    padding: 30px;
    background: #626B63;
    color: var(--cream);
    border: 1px solid rgba(242, 233, 216, 0.18);
    border-radius: 5px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.calendar-eyebrow {
    color: #78836B;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 8px;
}

.calendar-header h3 {
    color: var(--forest);
    font-family: 'DM Serif Display', serif;
    font-size: 30px;
    margin: 0 0 5px;
}

.calendar-header p:not(.calendar-eyebrow) {
    color: #596052;
    font-size: 13px;
}

.calendar-navigation {
    display: flex;
    gap: 10px;
}

.calendar-navigation button {
    width: 40px;
    height: 40px;
    border: 1px solid #A8AD91;
    background: transparent;
    color: var(--forest);
    border-radius: 4px;
    font-size: 20px;
    cursor: pointer;
    transition: 0.2s ease;
}

.calendar-navigation button:hover {
    background: var(--sage);
}

.calendar-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.calendar-month-panel {
    min-width: 0;
}

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    text-align: center;
}

.calendar-weekdays {
    margin-bottom: 12px;
}

.calendar-weekdays span {
    color: #78836B;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 0;
}

.calendar-days {
    gap: 7px;
}

.calendar-days button {
    aspect-ratio: 1;
    min-width: 0;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: var(--forest);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    cursor: pointer;
    position: relative;
}

.calendar-days button:hover:not(:disabled) {
    background: #E5DFC9;
    border-color: var(--sage);
}

.calendar-days button:disabled {
    color: #B9B8AA;
    cursor: default;
}

.calendar-days button.has-availability::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    background: #78836B;
    border-radius: 50%;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.calendar-days button.selected {
    background: var(--forest);
    color: var(--cream);
}

.calendar-days button.selected::after {
    background: var(--sand);
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 25px;
    color: #596052;
    font-size: 11px;
}

.calendar-legend span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.legend-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
}

.available-dot {
    background: #78836B;
}

.selected-dot {
    background: var(--forest);
}

.unavailable-dot {
    background: #B9B8AA;
}

.calendar-slots {
    border-left: 1px solid #D8C5A9;
    padding-left: 25px;
}

.calendar-slots h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 10px;
}

.slots-description,
.empty-slots {
    color: #596052;
    font-size: 12px;
    line-height: 1.7;
}

.empty-slots {
    margin-top: 20px;
    padding: 18px;
    background: #EAE4D4;
    border-radius: 4px;
}

.calendar-timezone {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #D8C5A9;
    color: #596052;
    font-size: 11px;
}

@media (max-width: 650px) {

    .calendar-shell {
        padding: 20px 15px;
    }

    .calendar-header {
        align-items: flex-start;
    }

    .calendar-header h3 {
        font-size: 25px;
    }

    .calendar-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .calendar-slots {
        border-left: none;
        border-top: 1px solid #D8C5A9;
        padding: 25px 0 0;
    }

    .calendar-days {
        gap: 3px;
    }

    .calendar-days button {
        font-size: 12px;
    }

    .calendar-legend {
        gap: 12px;
    }
}

/* CALENDAR CREAM TEXT */

.calendar-header h3,
.calendar-header p:not(.calendar-eyebrow),
.calendar-weekdays span,
.calendar-days button,
.calendar-slots h4,
.calendar-slots p,
.calendar-legend,
.calendar-timezone {
    color: var(--cream);
}

/* DATE BUTTONS */

.calendar-days button:hover:not(:disabled) {
    background: #7B876D;
    border-color: var(--cream);
}

.calendar-days button.selected {
    background: var(--cream);
    color: #303D32;
}

.calendar-days button:disabled {
    color: rgba(242, 233, 216, 0.4);
}

/* CALENDAR DIVIDERS */

.calendar-slots {
    border-color: rgba(242, 233, 216, 0.25);
}

.calendar-timezone {
    border-color: rgba(242, 233, 216, 0.25);
}

/* EMPTY APPOINTMENT MESSAGE */

.empty-slots {
    background: #59634F;
    color: var(--cream);
}

/* ENSURE HIDDEN SECTIONS STAY HIDDEN */

[hidden] {
    display: none !important;
}

/* =================================
   ADMIN LOGIN PAGE
================================= */

.admin-login-page {
    min-height: 100vh;
    background: #203B30;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.admin-login {
    width: 100%;
    max-width: 460px;
    text-align: center;
}

.admin-eyebrow {
    color: #D2D9CB;
    font-size: 11px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.admin-login h1 {
    color: #F1EBDD;
    font-family: 'DM Serif Display', serif;
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 8px;
}

.admin-login h1 span {
    color: #B9C5A8;
}

.admin-tagline {
    color: #D2D9CB;
    font-size: 14px;
    margin-bottom: 35px;
}

.admin-login-card {
    background: #F2EFE5;
    padding: 42px 35px 28px;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.admin-login-card h2 {
    color: #263D32;
    font-family: 'DM Serif Display', serif;
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 8px;
}

.admin-description {
    color: #687466;
    font-size: 14px;
    margin-bottom: 30px;
}

.admin-login-card .form-field {
    margin-bottom: 22px;
}

.admin-login-card label {
    display: block;
    color: #35483A;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 9px;
}

.admin-login-card input {
    width: 100%;
    padding: 14px;
    border: 1px solid #D6D8CB;
    border-radius: 7px;
    background: #FAF9F4;
    color: #263D32;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.admin-login-card input:focus {
    outline: none;
    border-color: #69745D;
    box-shadow: 0 0 0 3px rgba(105, 116, 93, 0.12);
}

.admin-login-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 7px;
    background: #294638;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.admin-login-button:hover {
    background: #3D5B47;
}

.login-message {
    color: #A13E35;
    font-size: 13px;
    margin-top: 15px;
}

.admin-card-footer {
    color: #7C8276;
    font-size: 12px;
    text-align: center;
    margin-top: 28px;
}

.admin-footer {
    color: #D2D9CB;
    font-size: 12px;
    margin-top: 30px;
}

@media (max-width: 480px) {
    .admin-login-card {
        padding: 32px 23px 25px;
    }

    .admin-login h1 {
        font-size: 32px;
    }
}

/* ADMIN DASHBOARD LAYOUT */

.admin-dashboard {
    width: 100%;
    min-height: 100vh;
    background: #203B30;
    padding: 40px 6%;
    box-sizing: border-box;
}

.admin-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 1px solid #D6D8CB;
    gap: 20px;
}

.admin-content {
    width: 100%;
    max-width: 1200px;
    margin: 45px auto;
}

.admin-appointments {
    width: 100%;
    margin-top: 35px;
    padding: 30px;
    background: #FAF9F4;
    border-radius: 14px;
    box-sizing: border-box;
}

.admin-header h1 {
    margin-bottom: 5px;
}

.admin-header p {
    margin: 0;
}

@media (max-width: 600px) {
    .admin-dashboard {
        padding: 25px 18px;
    }

    .admin-header {
        align-items: flex-start;
    }

    .admin-appointments {
        padding: 20px;
    }
}

/* TEXT INSIDE THE CREAM APPOINTMENT PANEL */

.admin-appointments,
.admin-appointments h3,
.admin-appointments p,
.admin-appointments div {
    color: #263D32;
}

/* ADMIN CALENDAR DASHBOARD */

.dashboard-welcome {
    color: #F2EFE5;
    margin-bottom: 30px;
}

.dashboard-welcome h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 8px;
}

.dashboard-welcome p {
    color: #D2D9CB;
}

.admin-calendar-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 25px;
    align-items: start;
}

.admin-calendar-card,
.admin-availability-card {
    background: #F2EFE5;
    color: #263D32;
    padding: 28px;
    border-radius: 14px;
    box-sizing: border-box;
}

.calendar-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.calendar-heading h3,
.admin-availability-card h3 {
    color: #263D32;
    font-family: 'DM Serif Display', serif;
    font-size: 23px;
    font-weight: 400;
}

.calendar-heading button {
    background: #69745D;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 9px 14px;
    cursor: pointer;
}

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 8px;
}

.calendar-weekdays {
    color: #69745D;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.calendar-days {
    color: #263D32;
}

.admin-availability-card p {
    color: #687466;
    font-size: 14px;
    margin: 12px 0 25px;
}

.admin-availability-card label {
    display: block;
    color: #35483A;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 9px;
}

.admin-availability-card input {
    width: 100%;
    padding: 12px;
    border: 1px solid #D6D8CB;
    border-radius: 7px;
    background: #FAF9F4;
    box-sizing: border-box;
    margin-bottom: 15px;
}

#addSlotButton {
    width: 100%;
    padding: 13px;
    background: #294638;
    color: #FFFFFF;
    border: none;
    border-radius: 7px;
    cursor: pointer;
}

@media (max-width: 750px) {
    .admin-calendar-layout {
        grid-template-columns: 1fr;
    }
}

/* ADMIN CALENDAR DATE NUMBERS */

.admin-calendar-card .calendar-days button.admin-date {
    color: #263D32 !important;
    background: transparent;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.admin-calendar-card .calendar-days button.admin-date:hover {
    background: #DDE2D3;
}

.admin-calendar-card .calendar-days button.admin-date.selected-date {
    background: #69745D;
    color: #FFFFFF !important;
    font-weight: 600;
}

.admin-date:hover {
    background: #DDE2D3;
}

.admin-date.selected-date {
    background: #69745D;
    color: #FFFFFF;
    font-weight: 600;
}

/* ADMIN AVAILABILITY - CLEAN LAYOUT */

.admin-availability-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-availability-card h3 {
    margin-bottom: 0;
}

.admin-availability-card p {
    margin: 0;
    line-height: 1.6;
}

.admin-availability-card label {
    margin: 8px 0 -8px;
}

.admin-availability-card input[type="time"] {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    background: #FAF9F4;
    border: 1px solid #D6D8CB;
    border-radius: 8px;
    color: #263D32;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}

.admin-availability-card #addSlotButton {
    min-height: 48px;
    margin-top: 4px;
}

.admin-availability-card #adminSlots {
    margin-top: 10px;
    padding: 18px;
    background: #E8E8DC;
    border-radius: 8px;
    color: #263D32;
    min-height: 65px;
}

.admin-availability-card #adminSlots p {
    color: #596052;
    font-size: 13px;
}

/* ADMIN TIME SLOT DESIGN */

.admin-availability-card .slot-instruction {
    color: #7A8173;
    font-size: 13px;
    margin: 12px 0 18px;
}

.admin-time-slots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0 25px;
}

.admin-time-slot {
    min-height: 58px;
    padding: 10px 6px;
    border: 1px solid #D8DDCF;
    border-radius: 9px;
    background: #FAF9F4;
    color: #35483A;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-time-slot:hover {
    border-color: #69745D;
    background: #E8EBE1;
}

.admin-time-slot.time-selected {
    background: #69745D;
    border-color: #69745D;
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(41, 70, 56, 0.12);
}

#saveAvailabilityButton {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: #294638;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

#saveAvailabilityButton:hover {
    background: #3D5B47;
}

@media (max-width: 480px) {
    .admin-time-slots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* PUBLIC APPOINTMENT SLOT DESIGN */

.available-slot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    margin: 6px;
    min-width: 145px;
    background: #F2EFE5;
    color: #294638;
    border: 1px solid #D6DCCF;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.available-slot:hover {
    background: #E8EBE1;
    border-color: #69745D;
}

.available-slot.selected {
    background: #69745D;
    color: #FFFFFF;
    border-color: #69745D;
}

#continueBookingButton {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 25px auto 0;
    padding: 15px 20px;
    background: #294638;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

#continueBookingButton:hover {
    background: #3D5B47;
}

#continueBookingButton[hidden] {
    display: none !important;
}

/* BOOKING CONFIRMATION BUTTON */

#confirmBookingButton {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 28px auto 10px;
    padding: 15px 24px;
    background: #294638;
    color: #F2EFE5;
    border: 1px solid #294638;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s ease;
}

#confirmBookingButton:hover {
    background: #69745D;
    border-color: #69745D;
    transform: translateY(-1px);
}

/* DATE MANAGEMENT */

.date-management {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #D6D8CB;
}

.date-management h4 {
    color: #263D32;
    font-family: 'DM Serif Display', serif;
    font-size: 19px;
    font-weight: 400;
    margin-bottom: 15px;
}

.date-management label {
    display: block;
    color: #35483A;
    font-size: 13px;
    margin-bottom: 8px;
}

.date-management input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #D6D8CB;
    border-radius: 7px;
    background: #FAF9F4;
    color: #263D32;
    box-sizing: border-box;
}

#blockDateButton,
#unblockDateButton {
    width: 100%;
    padding: 13px;
    border: 1px solid #69745D;
    border-radius: 8px;
    background: #69745D;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

#unblockDateButton {
    background: #294638;
    border-color: #294638;
}

#blockDateButton:hover,
#unblockDateButton:hover {
    opacity: 0.88;
}

#dateActionMessage {
    color: #69745D;
    font-size: 13px;
    margin-top: 12px;
}

[hidden] {
    display: none !important;
}

/* BLOCKED CALENDAR DATES */

.admin-calendar-card .calendar-days button.admin-date.blocked-date {
    background: #E9DDD5;
    color: #9A5144 !important;
    text-decoration: line-through;
}

.admin-calendar-card .calendar-days button.admin-date.blocked-date.selected-date {
    background: #69745D;
    color: #FFFFFF !important;
}

/* SAVED APPOINTMENT SLOTS */

.admin-saved-slots {
    margin-top: 20px;
}

.saved-slot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #E0E3D9;
}

.saved-slot-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.saved-slot-details strong {
    color: #35483A;
    font-size: 13px;
    font-weight: 600;
}

.slot-status {
    font-size: 11px;
    font-weight: 600;
}

.status-available {
    color: #55734E;
}

.status-booked {
    color: #42677C;
}

.status-blocked {
    color: #A15A4C;
}

.remove-slot-button {
    padding: 8px 12px;
    border: 1px solid #C58B7C;
    border-radius: 6px;
    background: transparent;
    color: #9A5144;
    font-size: 12px;
    cursor: pointer;
}

.remove-slot-button:hover {
    background: #F3E7E2;
}

.admin-time-slot.slot-exists {
    opacity: 0.55;
    cursor: not-allowed;
}

/* CONFIRMED APPOINTMENTS */

.confirmed-appointment-card {
    padding: 22px;
    margin-top: 16px;
    background: #F2EFE5;
    border: 1px solid #E0E3D9;
    border-radius: 10px;
}

.confirmed-appointment-card h4 {
    color: #294638;
    font-family: 'DM Serif Display', serif;
    font-size: 21px;
    font-weight: 400;
    margin: 0 0 12px;
}

.confirmed-appointment-card p {
    color: #687466;
    font-size: 13px;
    margin: 7px 0;
}

.cancel-booking-button {
    margin-top: 15px;
    padding: 10px 15px;
    border: 1px solid #B97869;
    border-radius: 7px;
    background: transparent;
    color: #9A5144;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.cancel-booking-button:hover {
    background: #F3E7E2;
}

@media (max-width: 480px) {
    .saved-slot-row {
        align-items: flex-start;
    }

    .confirmed-appointment-card {
        padding: 17px;
    }
}

/* ==========================================
   CANCELLATION & RESCHEDULING POLICY
   HOMEPAGE SECTION
========================================== */

.cancellation-policy {
    background-color: var(--forest);
    color: var(--text);
    padding: 100px 8%;
}

.cancellation-container {
    max-width: 950px;
    margin: 0 auto;
}

.cancellation-policy h2 {
    color: var(--cream);
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 20px;
}

.cancellation-intro {
    max-width: 700px;
    margin-bottom: 45px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.9;
}

.cancellation-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.cancellation-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    border: 1px solid rgba(242, 233, 216, 0.18);
    border-radius: 8px;
    background: rgba(242, 233, 216, 0.04);
}

.cancellation-item span {
    flex-shrink: 0;
    color: var(--sage);
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
}

.cancellation-item h3 {
    color: var(--cream);
    font-family: 'DM Serif Display', serif;
    font-size: 21px;
    font-weight: 400;
    margin-bottom: 8px;
}

.cancellation-item p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.8;
}

.cancellation-note {
    margin: 35px 0 25px;
    color: var(--sand);
    font-size: 13px;
    line-height: 1.8;
}

/* CANCELLATION POLICY MOBILE RESPONSIVENESS */

@media (max-width: 700px) {

    .cancellation-policy {
        padding: 70px 8%;
    }

    .cancellation-details {
        grid-template-columns: 1fr;
    }

    .cancellation-item {
        padding: 20px;
    }
}

@media (max-width: 420px) {

    .cancellation-policy {
        padding: 60px 6%;
    }

    .cancellation-item {
        gap: 15px;
        padding: 18px;
    }

    .cancellation-item h3 {
        font-size: 19px;
    }
}

/* FOOTER LINKS */

footer a {
    color: var(--sand);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--cream);
}

/* ==========================================
   CLIENT RECORDS SECTION
========================================== */

#clientRecordsSection {
    margin-top: 35px;
    padding: 30px;
    background: #FAF9F5;
    border: 1px solid #E0E3D9;
    border-radius: 14px;
}

#clientRecordsSection > h3 {
    color: #294638;
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 8px;
}

#clientRecordsSection > p {
    color: #687466;
    font-size: 14px;
}

/* Search and filter controls */

.client-record-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 18px;
}

.client-record-controls input,
.client-record-controls select {
    flex: 1;
    min-width: 180px;
    padding: 12px 14px;
    border: 1px solid #D9DED4;
    border-radius: 8px;
    background: #FFFFFF;
    color: #294638;
    font-family: inherit;
    font-size: 13px;
}

.client-record-controls button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #294638;
    color: #FFFFFF;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    transition: background 0.2s ease;
}

.client-record-controls button:hover {
    background: #3C5B49;
}

.client-record-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Record count */

#clientRecordsCount {
    margin: 18px 0;
    color: #687466;
    font-size: 13px;
}

/* Individual client cards */

#clientRecordsList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

#clientRecordsList .confirmed-appointment-card {
    margin-top: 0;
    padding: 22px;
    background: #FFFFFF;
    border: 1px solid #E0E3D9;
    border-radius: 12px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

#clientRecordsList .confirmed-appointment-card:hover {
    box-shadow: 0 5px 18px rgba(41, 70, 56, 0.08);
    transform: translateY(-2px);
}

#clientRecordsList .confirmed-appointment-card h4 {
    color: #294638;
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
}

#clientRecordsList .confirmed-appointment-card p {
    color: #687466;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* Individual record details */

#clientRecordDetails {
    margin-top: 24px;
    padding: 26px;
    background: #F2EFE5;
    border: 1px solid #D9DED4;
    border-radius: 12px;
}

#clientRecordDetails h3 {
    color: #294638;
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 18px;
}

#clientRecordDetailsContent {
    color: #526354;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

#closeClientDetailsButton {
    margin-top: 20px;
    padding: 11px 20px;
    border: 1px solid #294638;
    border-radius: 7px;
    background: transparent;
    color: #294638;
    cursor: pointer;
    font-family: inherit;
}

#closeClientDetailsButton:hover {
    background: #294638;
    color: #FFFFFF;
}

/* Mobile responsiveness */

@media (max-width: 600px) {
    #clientRecordsSection {
        padding: 18px;
    }

    .client-record-controls {
        flex-direction: column;
    }

    .client-record-controls input,
    .client-record-controls select,
    .client-record-controls button {
        width: 100%;
    }

    #clientRecordsList {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   ADMIN DASHBOARD ICON BUTTONS
========================================== */

/* LOGOUT BUTTON */

#logoutButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 17px;
    border: 1px solid rgba(242, 233, 216, 0.3);
    border-radius: 9px;
    background: rgba(242, 233, 216, 0.07);
    color: #F2EFE5;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

#logoutButton svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

#logoutButton:hover {
    background: #F2E9E2;
    border-color: #F2E9E2;
    color: #9A5144;
}

#logoutButton:hover svg {
    transform: translateX(2px);
}

#logoutButton:focus-visible {
    outline: 2px solid #D8C5A9;
    outline-offset: 3px;
}

/* VIEW CLIENT DETAILS BUTTON */

#clientRecordsList .confirmed-appointment-card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 14px;
    padding: 10px 15px;
    border: 1px solid #D9DED4;
    border-radius: 8px;
    background: #F2EFE5;
    color: #405541;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Eye icon */

#clientRecordsList .confirmed-appointment-card button::before {
    content: "◉";
    font-size: 16px;
    line-height: 1;
    color: #69745D;
}

#clientRecordsList .confirmed-appointment-card button:hover {
    background: #294638;
    border-color: #294638;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 3px 9px rgba(41, 70, 56, 0.12);
}

#clientRecordsList .confirmed-appointment-card button:hover::before {
    color: #D8C5A9;
}

#clientRecordsList .confirmed-appointment-card button:focus-visible {
    outline: 2px solid #69745D;
    outline-offset: 3px;
}

/* MOBILE ADJUSTMENT */

@media (max-width: 600px) {
    #logoutButton {
        padding: 9px 12px;
        font-size: 12px;
    }
}
