/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 14 2025 | 01:53:09 */
/* =========================================
   172 Powers – Booking Form Styling
   Uses theme colors:
   - Deep Wine:    #481D24
   - Primary Red:  #C5283D
   - Neutral Gray: #7A7A7A
   - Accent Gold:  #FFC857
   ========================================= */

/* Outer wrapper */
.mphb_sc_search-wrapper.is-style-horizontal-form {
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 2rem 2.5rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(72, 29, 36, 0.08); /* subtle border using #481D24 */
}

/* "Required fields" message */
.mphb_sc_search-wrapper .mphb-required-fields-tip {
    margin: 0 0 1.25rem;
    color: #7A7A7A;
    font-size: 0.8rem;
    font-style: italic;
}

.mphb_sc_search-wrapper .mphb-required-fields-tip abbr[title] {
    color: #C5283D;
    text-decoration: none;
}

/* Layout: horizontal on desktop, stacked on mobile */
.mphb_sc_search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 1.5rem;
    align-items: flex-end;
}

/* Each form field group */
.mphb_sc_search-form p[class^="mphb_sc_search-"] {
    margin: 0;
    flex: 1 1 150px;
}

/* Submit button wrapper */
.mphb_sc_search-submit-button-wrapper {
    flex: 0 0 auto;
}

/* Labels */
.mphb_sc_search-form label {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #481D24;
}

.mphb_sc_search-form label abbr[title] {
    color: #C5283D;
    margin-left: 0.15rem;
}

/* Base input + select styles */
.mphb_sc_search-form input[type="text"],
.mphb_sc_search-form select {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(122, 122, 122, 0.6);
    background-color: #ffffff;
    color: #481D24;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.1s ease;
}

/* Placeholder text */
.mphb_sc_search-form input[type="text"]::placeholder {
    color: #7A7A7A;
    opacity: 0.8;
}

/* Focus state (inputs + selects) */
.mphb_sc_search-form input[type="text"]:focus,
.mphb_sc_search-form select:focus {
    outline: none;
    border-color: #C5283D;
    box-shadow: 0 0 0 3px rgba(197, 40, 61, 0.18);
    background-color: #fff;
    transform: translateY(-1px);
}

/* Datepick inputs – can share same style, but let's make them feel clickable */
.mphb_sc_search-form .mphb-datepick {
    cursor: pointer;
    background-image:
        linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
        url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='%237A7A7A' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2V4M17 2V4M5 8H19M6 5H18C19.1046 5 20 5.89543 20 7V19C20 20.1046 19.1046 21 18 21H6C4.89543 21 4 20.1046 4 19V7C4 5.89543 4.89543 5 6 5Z' stroke='%237A7A7A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 18px 18px;
    padding-right: 2.4rem;
}

/* Select dropdown arrow (for Adults / Children) */
.mphb_sc_search-form select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    padding-right: 2.4rem;
    background-image:
        linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
        url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='%237A7A7A' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%237A7A7A' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 18px 18px;
}

/* Hover state (inputs + selects) */
.mphb_sc_search-form input[type="text"]:hover,
.mphb_sc_search-form select:hover {
    border-color: rgba(122, 122, 122, 0.9);
}

/* -----------------------------------------
   Button Styling
   ----------------------------------------- */

.mphb_sc_search-submit-button-wrapper .button,
.mphb_sc_search-submit-button-wrapper input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.4rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #C5283D, #481D24);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease;
    white-space: nowrap;
}

/* Button hover */
.mphb_sc_search-submit-button-wrapper .button:hover,
.mphb_sc_search-submit-button-wrapper input[type="submit"]:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
    background: linear-gradient(135deg, #481D24, #C5283D);
}

/* Button focus */
.mphb_sc_search-submit-button-wrapper .button:focus-visible,
.mphb_sc_search-submit-button-wrapper input[type="submit"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px #FFC857, 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Button active */
.mphb_sc_search-submit-button-wrapper .button:active,
.mphb_sc_search-submit-button-wrapper input[type="submit"]:active {
    transform: translateY(1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

/* Disabled button (if used by plugin) */
.mphb_sc_search-submit-button-wrapper .button[disabled],
.mphb_sc_search-submit-button-wrapper input[type="submit"][disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

/* Optional: accent border on hover using #FFC857 */
.mphb_sc_search-submit-button-wrapper .button:hover,
.mphb_sc_search-submit-button-wrapper input[type="submit"]:hover {
    border: 1px solid #FFC857;
}

/* -----------------------------------------
   Error & Validation States (optional)
   ----------------------------------------- */

/* If plugin adds mphb-error class to inputs wrapper */
.mphb_sc_search-form p.mphb-error input[type="text"],
.mphb_sc_search-form p.mphb-error select {
    border-color: #C5283D;
    box-shadow: 0 0 0 2px rgba(197, 40, 61, 0.15);
}

/* -----------------------------------------
   Responsive tweaks
   ----------------------------------------- */

@media (max-width: 768px) {
    .mphb_sc_search-wrapper.is-style-horizontal-form {
        padding: 1.5rem 1.25rem;
    }

    .mphb_sc_search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .mphb_sc_search-submit-button-wrapper {
        width: 100%;
    }

    .mphb_sc_search-submit-button-wrapper .button,
    .mphb_sc_search-submit-button-wrapper input[type="submit"] {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mphb_sc_search-wrapper.is-style-horizontal-form {
        margin: 1.5rem 1rem;
        border-radius: 12px;
    }
}

/* Make Check-in and Check-out wider than Adults / Children */
.mphb_sc_search-form p.mphb_sc_search-check-in-date,
.mphb_sc_search-form p.mphb_sc_search-check-out-date {
    flex: 2 1 220px; /* wider */
}

.mphb_sc_search-form p.mphb_sc_search-adults,
.mphb_sc_search-form p.mphb_sc_search-children {
    flex: 1 1 120px; /* narrower */
}

/* On small screens, just let them stack naturally (optional but clean) */
@media (max-width: 768px) {
    .mphb_sc_search-form p.mphb_sc_search-check-in-date,
    .mphb_sc_search-form p.mphb_sc_search-check-out-date,
    .mphb_sc_search-form p.mphb_sc_search-adults,
    .mphb_sc_search-form p.mphb_sc_search-children {
        flex: 1 1 100%;
    }
}

/* Simplified Search button hover effect */
.mphb_sc_search-submit-button-wrapper .button,
.mphb_sc_search-submit-button-wrapper input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.4rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #C5283D, #481D24);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
    white-space: nowrap;
}

/* Simple hover: tiny lift + slight fade, no extra border tricks */
.mphb_sc_search-submit-button-wrapper .button:hover,
.mphb_sc_search-submit-button-wrapper input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
    opacity: 0.95;
}

/* Keep focus style accessible but clean */
.mphb_sc_search-submit-button-wrapper .button:focus-visible,
.mphb_sc_search-submit-button-wrapper input[type="submit"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px #FFC857, 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Tighter horizontal spacing between Check-in, Check-out, Adults, Children */
.mphb_sc_search-form {
    /* row-gap | column-gap */
    row-gap: 1.1rem;      /* vertical space between rows */
    column-gap: 0.7rem;   /* horizontal space between boxes (reduced) */
}
