/*
 * DEV-14
 * Contact / Privacy
 */

.praise-contact-form {
    margin-top: 54px;
}

.form-field {
    margin-top: 28px;
}

.form-field:first-of-type {
    margin-top: 0;
}

.form-field label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 650;
}

.form-required {
    display: inline-block;
    margin-left: 8px;
    color: var(--color-muted);
    font-size: 10px;
    font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 15px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: 10px;
    color: var(--color-text);
    outline: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-field textarea {
    min-height: 200px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--color-text);
    box-shadow: 0 0 0 3px rgba(23, 23, 23, .06);
}

.form-privacy {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--color-line);
}

.form-privacy label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 13px;
    line-height: 1.8;
}

.form-privacy input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 4px;
}

.form-privacy a {
    border-bottom: 1px solid currentColor;
}

.form-submit {
    margin-top: 38px;
}

.form-submit button {
    display: inline-flex;
    min-width: 180px;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    background: var(--color-text);
    border: 1px solid var(--color-text);
    border-radius: 999px;
    color: var(--color-surface);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        opacity .2s ease,
        transform .2s ease;
}

.form-submit p {
    margin: 13px 0 0;
    color: var(--color-muted);
    font-size: 11px;
}

.form-message {
    margin-top: 38px;
    padding: 22px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.8;
}

.form-message p {
    margin: 7px 0 0;
}

.form-message--success {
    background: #edf4ed;
}

.form-message--error {
    background: #f6eeee;
}

.praise-form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.privacy-content {
    font-size: 15px;
    line-height: 2;
}

.privacy-content > section {
    padding: 38px 0;
    border-bottom: 1px solid var(--color-line);
}

.privacy-content > section:first-child {
    padding-top: 0;
}

.privacy-content h2 {
    margin: 0 0 18px;
    font-size: 21px;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: -.02em;
}

.privacy-content p {
    margin: 0 0 1.25em;
}

.privacy-content p:last-child {
    margin-bottom: 0;
}

@media (hover: hover) {
    .form-submit button:hover {
        opacity: .75;
        transform: translateY(-1px);
    }
}