/* REVIEW - HERO */
.review-hero {
    width: 100%;
    height: 500px;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 85% 90%, 75% 100%, 0 100%);
    user-select: none;
}

.review-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.review-hero-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    backdrop-filter: brightness(50%) blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0 0 5%;
    box-sizing: border-box;
}

.review-hero-overlay h2 {
    font-size: 4rem;
    margin: 0 0 10px 0;
}

.review-hero-overlay p {
    margin: 10px 0 30px 0;
    font-size: 2rem;
}

.review-hero .underline {
    margin: 0;
}

/* REVIEW - FORM */
/* FORM TEMPLATE */

/* INITIAL COLOURING OF FORM */
:root {
    --form-blue: #4244d2;
    --form-blue-lighter: #877ced;

    --form-default-background: #d2d2d2;
    --form-overlay: #f1f1f1aa;

    --form-alert: #9c5656;
    --form-input-initial-border: #a9a9a9;
    --form-input-focus-border: #4e4e4e;
}

/* OUTSIDE FORM */
.form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: linear-gradient(white, #f1f1f1);
    padding: 50px 0;
}

.form-wrapper h2 {
    margin: 10px 0px;
}

.form-wrapper h4 {
    margin: 10px 0px;
}

/* FORM */
.form-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 500px;
    max-width: 90vw;
    row-gap: 10px;
    padding: 20px 0px;
    position: relative;
}

/* FORM OVERLAY */
.form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--form-overlay);
    backdrop-filter: blur(0.5px);
    display: none;
}

/* FORM ROW */
.form-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* FORM LABEL */
.form-row label {
    font-weight: 600;
    text-align: left;
    width: 80%;
    font-size: 1.75rem;
}

.form-row:has(input[required]) label::after {
    content: " - Required";
    color: var(--form-alert);
    font-size: 1rem;
    display: inline;
    vertical-align: middle;
}

/* FORM INPUT, SELECT & TEXTAREA */
.form-row input, .form-row select, .form-row textarea {
    border: solid 2px var(--form-input-initial-border);
    padding: 5px;
    font-family: inherit;
    width: 80%;
    outline: none;
    transition: border 0.3s ease-in-out;
}

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    border: solid 2px var(--form-input-focus-border);
}

/* FORM CHECKBOX */
.form-row .checkbox-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin-top: 10px;
}

.form-row .checkbox-row label {
    font-weight: normal;
}

.form-row .checkbox-row input[type="checkbox"] {
    width: 30px;
    height: 30px;
}

/* FORM TEXTAREA */
.form-row textarea {
    resize: none;
    height: 150px;
}

/* FORM #ERRORLABEL */
#error-label {
    color: var(--form-alert);
    margin: 0 0 -30px 0;
    visibility: hidden;
    min-height: 1.5rem;
}