/* =========================================================
   AMAROO – WEDDING ENQUIRY EXTERNAL FORM
   ========================================================= */

.embed-form {
    --amaroo-text: #4a4340;
    --amaroo-dark: #2c2925;
    --amaroo-border: #d8d3ce;
    --amaroo-bg: #faf9f7;
    --amaroo-focus: #5b9ca7;
    --amaroo-error: #b9473f;
	--bark: #2B2823;
	--stone: #f2efea;
	--teal: #5c9097;

	--font-body: 'Inter', sans-serif;
	--font-size: 16px;
	--section-pad: 7.5rem;

    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    font-family: inherit;
    color: var(--amaroo-text);
}


/* Remove Bootstrap-like container spacing */
.embed-form .container-fluid,
.embed-form .contacta-webform-table {
    width: 100%;
    max-width: none;
    padding: 0 0 var(--section-pad);
}


/* ---------------------------------------------------------
   ROWS / COLUMNS
   --------------------------------------------------------- */

.embed-form .contacta-row {
    display: flex !important;
    flex-wrap: wrap;
    gap: 28px 30px;
    width: 100%;
    margin: 0 0 28px !important;
    overflow: visible !important;
}

.embed-form .contacta-col {
    flex: 1 1 calc(50% - 15px);
    min-width: 0;
    padding: 0;
}


/* Full width single-column rows */
.embed-form .contacta-row > .contacta-col:only-child {
    flex-basis: 100%;
}


/* ---------------------------------------------------------
   LABELS
   --------------------------------------------------------- */

.embed-form label {
    display: block;
    margin: 0 0 9px;
    padding: 0;

    font-family: inherit;
    font-size: var(--font-size);
    font-weight: 500;
    line-height: 1.4;
    color: var(--amaroo-dark);
}

.embed-form .required {
    color: var(--amaroo-error);
}


/* ---------------------------------------------------------
   INPUTS / TEXTAREA
   --------------------------------------------------------- */

.embed-form input[type="text"],
.embed-form input[type="email"],
.embed-form input[type="tel"],
.embed-form input[type="number"],
.embed-form .date,
.embed-form textarea,
.embed-form select {
    width: 100% !important;
    min-height: 52px;
    padding: 13px 16px;

    box-sizing: border-box;
    border: 1px solid var(--amaroo-border) !important;
    border-radius: 10px;

    background: #fff;
    color: var(--amaroo-text);

    font-family: inherit;
    font-size: var(--font-size);
    line-height: 1.4;

    outline: none;
    box-shadow: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}


/* Larger Further Info field */
.embed-form textarea {
    min-height: 150px;
    resize: vertical;
}


/* Focus state */
.embed-form input:focus,
.embed-form textarea:focus,
.embed-form select:focus {
    background-color: var(--amaroo-focus) !important;
    box-shadow: 0 0 0 3px rgba(91, 156, 167, 0.12);
}


/* Remove injected inline red border after validation */
.embed-form input[style*="border-color: red"] {
    border-color: var(--amaroo-error) !important;
}


/* ---------------------------------------------------------
   INPUT WRAPPERS
   --------------------------------------------------------- */

.embed-form .data-block,
.embed-form .input-block,
.embed-form .email-holder,
.embed-form .mobile-holder,
.embed-form .date-holder {
    width: 100%;
}


/* ---------------------------------------------------------
   MOBILE / COUNTRY CODE FIELD
   --------------------------------------------------------- */

.embed-form .iti {
    width: 100%;
}

.embed-form .iti input[type="tel"] {
    padding-left: 58px !important;
}

.embed-form .iti__selected-flag {
    min-height: 50px;
    padding-left: 14px;
}

.embed-form .iti__country-list {
    z-index: 99999;
    border: 1px solid var(--amaroo-border);
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}


/* ---------------------------------------------------------
   DATE PICKER
   --------------------------------------------------------- */

.embed-form .date-time-picker {
    position: relative;
}

.embed-form .ui-datepicker-trigger {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: .65;
}

.embed-form .date {
    padding-right: 48px;
    cursor: pointer;
}


/* ---------------------------------------------------------
   VALIDATION
   --------------------------------------------------------- */

.embed-form .error,
.embed-form .error-msg {
    display: block;
    margin-top: 6px;

    font-size: 13px;
    font-style: normal;
    line-height: 1.4;
    color: var(--amaroo-error);
}


/* ---------------------------------------------------------
   SUBMIT
   --------------------------------------------------------- */

.embed-form .submitBtn {
    margin-top: 10px;
    text-align: left !important;
}

.embed-form .submitBtn button,
.embed-form button[type="submit"] {
    width: auto !important;
    min-width: 180px !important;
    min-height: 54px;

    padding: 15px 30px !important;
    line-height: 1.2 !important;

    border: 1px solid var(--amaroo-dark) !important;
    border-radius: 33px!important;

    background: var(--amaroo-dark) !important;
    color: #fff !important;

    font-family: inherit;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.embed-form .submitBtn button:hover,
.embed-form button[type="submit"]:hover {
    background: var(--teal) !important;
	color: #fff !important;
}


/* ---------------------------------------------------------
   REMOVE UNWANTED DEFAULT SPACING
   --------------------------------------------------------- */

.embed-form .input-field {
    margin-top: 0 !important;
}

.embed-form p {
    margin-top: 0;
}


/* ---------------------------------------------------------
   TABLET / MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .embed-form .contacta-row {
        display: block !important;
        margin-bottom: 0 !important;
    }

    .embed-form .contacta-col {
        width: 100%;
        margin-bottom: 22px;
    }

    .embed-form input[type="text"],
    .embed-form input[type="email"],
    .embed-form input[type="tel"],
    .embed-form .date,
    .embed-form textarea {
        font-size: 16px;
    }

    .embed-form .submitBtn button,
    .embed-form button[type="submit"] {
        width: 100% !important;
    }
}