﻿/* Full width container */
.vector-form {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

/* Card */
.form-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
}

/* Floating field wrapper */
.v-field {
    position: relative;
    margin-bottom: 22px;
}

    /* the engine's wrapper span */
    .v-field .field {
        display: block !important;
        width: 100%;
        box-sizing: border-box;
    }

        /* actual input */
        .v-field .field input,
        .v-field .field textarea,
        .v-field .field select {
            width: 100%;
            display: block;
            box-sizing: border-box;
            border: 1.5px solid #d7dee8;
            border-radius: 14px;
            background: #fff;
            padding: 26px 18px 12px;
            font-size: 16px;
            line-height: 1.4;
            color: #0f172a;
            outline: none;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
            -webkit-appearance: none;
            appearance: none;
        }

            /* focus state */
            .v-field .field input:focus,
            .v-field .field textarea:focus,
            .v-field .field select:focus {
                border-color: #2797B0;
                box-shadow: 0 0 0 4px rgba(39, 151, 176, 0.15);
            }

    /* floating label */
    .v-field label {
        position: absolute;
        left: 18px;
        top: 19px;
        font-size: 16px;
        color: #64748b;
        background: #fff;
        padding: 0 6px;
        pointer-events: none;
        transform-origin: left top;
        transition: top 0.2s ease, transform 0.2s ease, color 0.2s ease;
        z-index: 2;
    }

    /* float on focus */
    .v-field:focus-within label {
        top: -8px;
        transform: scale(0.85);
        color: #2797B0;
    }

    /* float when value exists */
    .v-field:has(.field input:not(:placeholder-shown)) label,
    .v-field:has(.field textarea:not(:placeholder-shown)) label,
    .v-field:has(.field select:not([value=""])) label {
        top: -8px;
        transform: scale(0.85);
        color: #2797B0;
    }

    /* error label */
    .v-field .field-error-label {
        display: block;
        margin-top: 6px;
        font-size: 12px;
        line-height: 16px;
        color: #d32f2f;
    }

/* button */
.form-card button {
    width: 100%;
    border: 0;
    border-radius: 14px;
    background: #2797B0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 18px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.form-card button.btn-gray{
    background: #F2F3F5;
    color: #000000;
}

    .form-card button:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(39, 151, 176, 0.25);
    }

/* tcpa */
.tcpa-container {
    margin-top: 1rem;
}

    .tcpa-container p {
        font-size: 12px;
        line-height: 16px;
        color: #475569;
    }

/* Survey Styles */

.options-list{
    display: flex;
    flex-direction: column;
    gap: .95rem;
    margin-bottom: 1.9rem;
}

.form-card button.option-btn {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr 56px;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #c0c0c0;
    border-radius: 8px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    color: #303030;
    text-align: center;
}

    .option-btn:hover {
        border-color: #1759ff;
        background-color: #fafdff;
    }

.gradient-ring {
    position: relative;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8);
    justify-self: center;
}

    .gradient-ring::after {
        content: "";
        position: absolute;
        top: 2px;
        left: 2px;
        right: 2px;
        bottom: 2px;
        background-color: #fff;
        border-radius: 50%;
        transition: background-color 0.2s;
    }

.option-label {
    display: block;
    text-align: center;
    padding: 0 6px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Listings Styles */
.offer-container {
    border: 1px solid #c0c0c0;
    border-radius: 8px;
    padding: 14px 16px;
    font-family: inherit;
    width: 100%;
}

.offer-img-container {
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
    max-width: 225px;
    aspect-ratio: 1/1;
    width: 100%;
    border-radius: 8px;
}

div.offer-info-container button.offer-btn{
    max-width: 150px;
    width: 100%;
    border-radius: 8px;
}

/* mobile */

@media screen and (max-width: 768px){
    .option-btn {
        padding: 14px 16px;
    }
}

@media (max-width: 640px) {
    .form-card {
        padding: 24px 18px;
        border-radius: 16px;
    }
}
