/* DST Contact Form - Figma offer form */

.dst-contact-form-wrapper {
    box-sizing: border-box;
    width: 100%;
    max-width: 656px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
}

.dst-cf-form,
.dst-cf-form * {
    box-sizing: border-box;
}

.dst-cf-form {
    color: #0f1417;
    font-family: Geist, Inter, sans-serif;
}

.dst-cf-header h2 {
    margin: 0;
    color: #0f1417;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.6px;
    line-height: normal;
}

.dst-cf-header p {
    margin: 6px 0 0;
    color: #7c858b;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.1px;
    line-height: normal;
    text-transform: uppercase;
}

.dst-cf-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.dst-cf-field {
    min-width: 0;
}

.dst-cf-field-full {
    margin-top: 18px;
}

.dst-cf-field label {
    display: block;
    margin: 0 0 8px;
    color: #3c4245;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.63px;
    line-height: 13px;
    text-transform: uppercase;
}

.dst-cf-field input,
.dst-cf-field select,
.dst-cf-field textarea {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #cdd3d6;
    border-radius: 0;
    outline: 0;
    background: #fff;
    color: #0f1417;
    font: 400 15px/19px Geist, Inter, sans-serif;
    -webkit-appearance: none;
    appearance: none;
}

.dst-cf-field input,
.dst-cf-field select {
    height: 38px;
    padding: 9px 0 10px;
}

.dst-cf-field select {
    height: 40px;
    cursor: pointer;
}

.dst-cf-field textarea {
    height: 76px;
    padding: 9px 0 10px;
    resize: vertical;
}

.dst-cf-field input::placeholder,
.dst-cf-field textarea::placeholder {
    color: #757575;
    opacity: 1;
}

.dst-cf-field input:focus,
.dst-cf-field select:focus,
.dst-cf-field textarea:focus {
    border-color: #008f35;
    box-shadow: none;
}

.dst-cf-field .error-field {
    border-color: #dc2626;
}

.dst-cf-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 26px;
}

.dst-cf-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    min-height: 49px;
    padding: 15px 26px;
    border: 0;
    border-radius: 0;
    background: #008f35;
    color: #fff;
    cursor: pointer;
    font: 600 14.5px/19px Geist, Inter, sans-serif;
    letter-spacing: 0.87px;
    text-transform: uppercase;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.dst-cf-submit:hover,
.dst-cf-submit:focus {
    background: #00792d;
    color: #fff;
}

.dst-cf-submit:disabled {
    cursor: wait;
    opacity: 0.65;
}

.dst-cf-submit-row p {
    width: 170px;
    margin: 0;
    color: #a7aeb3;
    font: 400 9.5px/15.2px Geist, Inter, sans-serif;
    letter-spacing: 0.76px;
    text-transform: uppercase;
}

.dst-cf-message-box {
    display: none;
    margin-top: 18px;
    padding: 12px;
    font-size: 14px;
    text-align: center;
}

.dst-cf-message-box.success {
    display: block;
    background: #dcfce7;
    color: #166534;
}

.dst-cf-message-box.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 640px) {
    .dst-contact-form-wrapper {
        padding: 28px 24px;
    }

    .dst-cf-contact-grid {
        grid-template-columns: 1fr;
    }

    .dst-cf-submit-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .dst-cf-submit-row p {
        width: auto;
    }
}