/* FD_COFFEE_LIVE_FORM_V1 */

.fdpt.fdpt--coffee .fdpt-coffee-test-status {
    padding:10px 14px;
    margin-bottom:12px;
    border-radius:9px;
    border:1px solid var(--bdc,#d9ccba);
    background:var(--bg-darker,#f7f3ed);
    color:var(--tt,#304459);
    font-size:12px;
}

.fdpt.fdpt--coffee
.fdpt-coffee-test-status.is-error {
    border-color:#d06b6b;
}

.fdpt.fdpt--coffee
.fdpt-form-preview > #fdpt-coffee-live-form {
    display:block;
    padding:0;
    margin:0;
    background:transparent;
    border:0;
    box-shadow:none;
}

.fdpt.fdpt--coffee
#fdpt-coffee-live-form .fdpt-label {
    display:block;
    margin:14px 0 7px;
    padding:0;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#304459;
    font-size:12px;
    font-weight:700;
}

.fdpt.fdpt--coffee .fdpt-coffee-input {
    display:block;
    width:100%;
    min-height:47px;
    box-sizing:border-box;
    padding:11px 13px;
    border:1px solid #d9c7ac;
    border-radius:11px;
    background:#fff;
    color:#304459;
    font:inherit;
    font-size:13px;
}

.fdpt.fdpt--coffee select.fdpt-coffee-input {
    appearance:none;
    -webkit-appearance:none;
    cursor:pointer;
    background-image:none!important;
}

.fdpt.fdpt--coffee
.fdpt-coffee-benefit-preview {
    margin:10px 0 18px;
    padding:11px 12px;
    border-radius:10px;
    background:#f3e6cf;
    color:#554227;
    font-size:12px;
    font-weight:700;
    text-align:center;
}

.fdpt.fdpt--coffee .fdpt-coffee-upload {
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:140px;
    padding:18px;
    margin-top:8px;
    box-sizing:border-box;
    border-radius:12px;
    cursor:pointer;
    text-align:center;
}

.fdpt.fdpt--coffee
.fdpt-coffee-upload input[type="file"] {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    opacity:0;
    cursor:pointer;
}

.fdpt.fdpt--coffee .fdpt-coffee-filename {
    display:block;
    max-width:100%;
    font-size:12px;
    overflow-wrap:anywhere;
}

.fdpt.fdpt--coffee .fdpt-coffee-submit {
    display:block;
    width:100%;
    min-height:48px;
    margin-top:18px;
    border:0;
    border-radius:10px;
    font:inherit;
    font-weight:800;
    opacity:.65;
    cursor:not-allowed;
}

.dt-is-active .fdpt.fdpt--coffee
.fdpt-coffee-input {
    background:#172d40;
    border-color:#667c8b;
    color:#f7f2e8;
}

.dt-is-active .fdpt.fdpt--coffee
.fdpt-coffee-input::placeholder {
    color:#c0cbd2;
}

.dt-is-active .fdpt.fdpt--coffee
.fdpt-coffee-benefit-preview {
    background:#30475b;
    color:#f4deb8;
}

.dt-is-active .fdpt.fdpt--coffee
#fdpt-coffee-live-form .fdpt-label {
    color:#f5ede0;
}

@media(max-width:800px) {
    .fdpt.fdpt--coffee .fdpt-coffee-upload {
        min-height:120px;
    }
}
