.card {
    background-color: white;
    box-shadow: var(--layoutShadow);
    border-radius: 4px;
    padding: 18px;
}

.header {
    background-color: var(--colourBrand);
    color: white;
    padding: 18px;

    :first-child {
        margin-top: 0;
    }
}

div.alert {
    border-left: solid 4px var(--colourBrand);
    padding: 9px 18px;
}

form {
    >div, div.input {
        display: flex;
        flex-direction: column;

        label {
            font-weight: bold;
        }

        input,textarea,select {
            border: solid var(--colourBorder) 1px;
            border-radius: 4px;
            width: 100%;
            font-size: 1.2rem;
            padding: 9px;
        }
    }

    div.input-row {
        display: flex;
        gap: 9px;
    }

    > :not(:first-child) {
        margin-top: 18px;
    }
}

button,.button {
    --buttonColour: var(--colourBrand);

    &.secondary {
        --buttonColour: var(--colourBrandSecondary);
    }

    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    display: block;
    width: fit-content;
    background-color: var(--buttonColour);
    cursor: pointer;
    border: none;
    text-decoration: none;

    &:hover {
        background-color: color-mix(in srgb, var(--buttonColour) 80%, black 20%);
    }

    &:active {
        background-color: color-mix(in srgb, var(--buttonColour) 70%, black 30%);
    }    

    &:has(svg) {
        display: flex;
        flex-direction: row;
        gap: 11px;
        align-items: center;

        svg {
            fill: white;
            width: 1.2em;
            height: 1.2em;
            vertical-align: -0.2em;
        }
    }
}

div.button-row {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

div.features {
    margin-top: 88px;
    display: flex;
    gap: 44px;
    flex-wrap: wrap;
    justify-content: space-evenly;

    div.feature {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;

        svg {
            height: 80px;
            fill: var(--colourBrand);
        }
    }
}

div.contact-method {
    display: flex;
    flex-direction: row;
    gap: 18px;
    align-items: center;

    div.icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: #015973;
        display: flex;
        align-items: center;
        justify-content: center;

        svg {
            fill: white;
            width: 50%;
        }
    }

    p {
        text-align: left;
    }

    div.info {
        text-align: left;

        p.label {
            font-weight: bold;
        }
    }

    &.flip {
        flex-direction: row-reverse;

        p {
            text-align: right;
        }
    }
}