/* =========================================================
   PRIVATE CHEF BOOKING FORM
   CSS 2
========================================================= */


/* =========================================================
   BOOKING BUTTON
========================================================= */

.open-booking-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 24px;

    border: 0;
    border-radius: 4px;

    background: #111111;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    line-height: 1.2;

    cursor: pointer;

    transition: all 0.25s ease;
}

.open-booking-modal:hover {
    background: #333333;
}


/* =========================================================
   MODAL
========================================================= */

.private-chef-modal {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 999999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    box-sizing: border-box;
}


/* When JavaScript adds "active" */

.private-chef-modal.active {
    display: flex;
}


/* =========================================================
   DARK BACKGROUND
========================================================= */

.private-chef-overlay {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.65);

    backdrop-filter: blur(4px);
}


/* =========================================================
   MODAL BOX
========================================================= */

.private-chef-modal-content {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 500px;

    max-height: 88vh;

    overflow-y: auto;

    box-sizing: border-box;

    margin: auto;

    padding: 32px;

    background: #ffffff;

    border-radius: 8px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    animation:
        private-chef-modal-in
        0.25s
        ease;
}


/* =========================================================
   MODAL ANIMATION
========================================================= */

@keyframes private-chef-modal-in {

    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.private-chef-close {

    position: absolute;

    top: 14px;
    right: 16px;

    width: 32px;
    height: 32px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #777777;

    font-family: Arial, sans-serif;

    font-size: 26px;

    font-weight: 300;

    line-height: 32px;

    text-align: center;

    cursor: pointer;

    transition: color 0.2s ease;
}

.private-chef-close:hover {
    color: #111111;
}


/* =========================================================
   HEADER
========================================================= */

.private-chef-header {

    margin-bottom: 24px;

    padding-right: 30px;
}

.private-chef-header h2 {

    margin: 0 0 6px;

    color: #111111;

    font-family: inherit;

    font-size: 25px;

    font-weight: 600;

    line-height: 1.25;
}

.private-chef-header p {

    margin: 0;

    color: #777777;

    font-family: inherit;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   FORM GROUP
========================================================= */

.private-chef-form-group {

    margin-bottom: 15px;
}


/* =========================================================
   LABEL
========================================================= */

.private-chef-form-group label {

    display: block;

    margin-bottom: 6px;

    color: #333333;

    font-family: inherit;

    font-size: 13px;

    font-weight: 500;

    line-height: 1.4;
}


/* =========================================================
   INPUT / SELECT / TEXTAREA
========================================================= */

.private-chef-form-group input,
.private-chef-form-group select,
.private-chef-form-group textarea {

    display: block;

    width: 100%;

    box-sizing: border-box;

    padding: 11px 12px;

    margin: 0;

    border: 1px solid #dddddd;

    border-radius: 4px;

    outline: none;

    background: #ffffff;

    color: #222222;

    font-family: inherit;

    font-size: 13px;

    line-height: 1.5;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.private-chef-form-group input::placeholder,
.private-chef-form-group textarea::placeholder {

    color: #aaaaaa;

}


/* =========================================================
   FOCUS
========================================================= */

.private-chef-form-group input:focus,
.private-chef-form-group select:focus,
.private-chef-form-group textarea:focus {

    border-color: #555555;

    box-shadow:
        0 0 0 2px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   TEXTAREA
========================================================= */

.private-chef-form-group textarea {

    min-height: 90px;

    resize: vertical;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.private-chef-submit {

    display: block;

    width: 100%;

    margin-top: 5px;

    padding: 12px 18px;

    border: 0;

    border-radius: 4px;

    background: #111111;

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 600;

    line-height: 1.4;

    cursor: pointer;

    transition:
        background 0.2s ease,
        opacity 0.2s ease;
}

.private-chef-submit:hover {
    background: #333333;
}

.private-chef-submit:disabled {

    opacity: 0.55;

    cursor: not-allowed;
}


/* =========================================================
   STATUS MESSAGE
========================================================= */

.private-chef-status {

    display: none;

    margin-top: 12px;

    padding: 10px;

    border-radius: 4px;

    font-size: 13px;

    line-height: 1.4;

    text-align: center;
}

.private-chef-status.success {

    display: block;

    background: #edf8f0;

    color: #27663b;
}

.private-chef-status.error {

    display: block;

    background: #fceeee;

    color: #a32929;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .private-chef-modal {

        padding: 12px;
    }

    .private-chef-modal-content {

        width: 100%;

        max-width: 430px;

        max-height: 92vh;

        padding: 26px 20px;

        border-radius: 7px;
    }

    .private-chef-header h2 {

        font-size: 22px;
    }

    .private-chef-header p {

        font-size: 12px;
    }

    .private-chef-form-group {

        margin-bottom: 13px;
    }

}
/* =========================================================
   PRIVATE CHEF FORM — TWO COLUMN LAYOUT
========================================================= */

.private-chef-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}


/* Keep individual fields aligned */

.private-chef-form-row .private-chef-form-group {
    margin-bottom: 16px;
}


/* Full-width fields */

#privateChefBookingForm > .private-chef-form-group {
    width: 100%;
}


/* Mobile — one column */

@media (max-width: 600px) {

    .private-chef-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

}
/* =========================================================
   CREATE MY EXPERIENCE BUTTON
========================================================= */

.open-booking-modal {

    background: #9a7b37 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 15px 30px !important;
    border: none !important;
}

.open-booking-modal:hover {

    background: #9a7b37 !important;
    color: #313131 !important;
}

/* Hover */

.header-btn .open-booking-modal:hover {
    background: #9a7b37 !important;
    color: #313131 !important;
}
/* =========================================================
   BOOKING SUCCESS ANIMATION
========================================================= */

/* =========================================================
   BOOKING SUCCESS OVERLAY
========================================================= */

.private-chef-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    padding: 30px;

    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;

    text-align: center;

    animation: private-chef-success-fade 0.35s ease;
}

.private-chef-success-icon {
    width: 75px;
    height: 75px;

    border-radius: 50%;
    background: #9a7b37;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    animation: private-chef-success-pop 0.45s ease;
}

.private-chef-success-icon::after {
    content: "";

    width: 22px;
    height: 38px;

    border-right: 4px solid #ffffff;
    border-bottom: 4px solid #ffffff;

    transform: rotate(45deg) translate(-2px, -3px);

    opacity: 0;

    animation:
        private-chef-check-draw
        0.35s
        ease
        0.3s
        forwards;
}

.private-chef-success h3 {
    margin: 0 0 8px;

    font-size: 22px;
    font-weight: 600;

    color: #111111;
}

.private-chef-success p {
    margin: 0;

    font-size: 14px;
    line-height: 1.5;

    color: #777777;
}


/* =========================================================
   SUCCESS ANIMATIONS
========================================================= */

@keyframes private-chef-success-pop {

    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }

}


@keyframes private-chef-check-draw {

    0% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }

    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }

}


@keyframes private-chef-success-fade {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}