
 /* =========================================
   train your team FORM
   
   ========================================= */


/* Main wrapper */
.tatra-quote-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}


/* Two-column rows */
.tatra-quote-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 22px;
}


/* Field */
.tatra-quote-field {
    width: 100%;
    margin-bottom: 22px;
}

.tatra-quote-row .tatra-quote-field {
    margin-bottom: 0;
}

.tatra-full-field {
    width: 100%;
}


/* Labels */
.tatra-quote-field > label,
.tatra-interest-heading {
    display: block;
    margin: 0 0 9px;
    padding: 0;
    color: #111111;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}


/* Required star */
.tatra-required-star {
    color: #a277ff;
    margin-left: 3px;
}


/* =========================================
   INPUTS
   ========================================= */

.tatra-quote-field input[type="text"],
.tatra-quote-field input[type="email"],
.tatra-quote-field input[type="tel"],
.tatra-quote-field input[type="url"],
.tatra-quote-field input[type="number"],
.tatra-quote-field input[type="date"],
.tatra-quote-field select,
.tatra-quote-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #ffffff;
    color: #111111;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    transition: all 0.2s ease;
}


/* Text fields */
.tatra-quote-field input[type="text"],
.tatra-quote-field input[type="email"],
.tatra-quote-field input[type="tel"],
.tatra-quote-field input[type="url"],
.tatra-quote-field input[type="number"],
.tatra-quote-field input[type="date"] {
    height: 48px;
    padding: 0 15px;
}


/* =========================================
   SELECT
   ========================================= */

.tatra-quote-field select {
    height: 48px;
    padding: 0 42px 0 15px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #555555 50%),
        linear-gradient(135deg, #555555 50%, transparent 50%);
    background-position:calc(100% - 19px) 20px, calc(100% - 14px) 20px;
    background-size:5px 5px, 5px 5px;
    background-repeat: no-repeat;
}


/* =========================================
   TEXTAREA
   ========================================= */

.tatra-quote-field textarea {
    min-height: 145px;
    padding: 14px 15px;
    resize: vertical;
    line-height: 1.5;
}


/* =========================================
   PLACEHOLDER
   ========================================= */

.tatra-quote-field input::placeholder,
.tatra-quote-field textarea::placeholder {
    color: #8a8a8a;
    opacity: 1;
}


/* =========================================
   FOCUS
   ========================================= */

.tatra-quote-field input[type="text"]:focus,
.tatra-quote-field input[type="email"]:focus,
.tatra-quote-field input[type="tel"]:focus,
.tatra-quote-field input[type="url"]:focus,
.tatra-quote-field input[type="number"]:focus,
.tatra-quote-field input[type="date"]:focus,
.tatra-quote-field select:focus,
.tatra-quote-field textarea:focus {
    border-color: #a277ff;
    box-shadow: 0 0 0 2px rgba(162, 119, 255, 0.12);
}


/* =========================================
   INTEREST / RADIO SECTION
   ========================================= */

.tatra-interest-field {
    margin-top: 2px;
}

.tatra-interest-heading {
    margin-bottom: 12px;
}


/* Radio container */
.tatra-interest-field .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    width: 100%;
}


/* Remove CF7 default spacing */
.tatra-interest-field .wpcf7-list-item {
    display: inline-flex;
    margin: 0;
}


/* =========================================
   RADIO PILLS
   ========================================= */

.tatra-interest-field .wpcf7-list-item > label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    box-sizing: border-box;
    padding: 8px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 999px;
    background: #ffffff;
    color: #222222;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.2s ease;
}


/* Radio circle */
.tatra-interest-field input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin: 0;
    border: 1px solid #bdbdbd;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}


/* Selected radio */
.tatra-interest-field input[type="radio"]:checked {
    border: 4px solid #ffffff;
    background: #a277ff;
    box-shadow: 0 0 0 1px #a277ff;
}


/* Selected pill */
.tatra-interest-field .wpcf7-list-item > label:has(input[type="radio"]:checked) {
    border-color: #a277ff;
    background: #f6f1ff;
}


/* Hover */
.tatra-interest-field .wpcf7-list-item > label:hover {
    border-color: #a277ff;
}


/* =========================================
   SUBMIT BUTTON
   ========================================= */

.tatra-submit-wrapper {
    width: 100%;
    margin-top: 7px;
}


/* Button */
.tatra-submit-wrapper input[type="submit"] {
    display: block;
    width: 100%;
    min-height: 56px;
    padding: 15px 25px;
    border: 0;
    border-radius: 10px;
    background: #a277ff;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}


/* Button hover */
.tatra-submit-wrapper input[type="submit"]:hover {
    background: #8f5df5;
    transform: translateY(-1px);
}


/* =========================================
   HELPER TEXT
   ========================================= */

.tatra-helper-text {
    margin: 14px 0 0;
    padding: 0;
    color: #777777;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}


/* =========================================
   CF7 VALIDATION
   ========================================= */

.tatra-quote-wrapper .wpcf7-not-valid {
    border-color: #e04f5f !important;
}

.tatra-quote-wrapper .wpcf7-not-valid-tip {
    margin-top: 5px;
    color: #e04f5f;
    font-size: 12px;
    line-height: 1.4;
}


/* Radio validation */
.tatra-interest-field .wpcf7-not-valid-tip {
    margin-top: 7px;
}


/* =========================================
   CF7 RESPONSE MESSAGE
   ========================================= */

.tatra-quote-wrapper .wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 10px 14px !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 8px;
    color: #333333;
    font-size: 13px;
    line-height: 1.5;
}


/* =========================================
   REMOVE EXTRA CF7 SPACING
   ========================================= */

.tatra-quote-wrapper .wpcf7-form p {
    margin: 0;
    padding: 0;
}

.tatra-quote-wrapper .wpcf7-form br {
    display: none;
}


/* CF7 field wrapper */
.tatra-quote-field > .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .tatra-quote-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .tatra-quote-row .tatra-quote-field {
        margin-bottom: 22px;
    }

    .tatra-quote-field {
        margin-bottom: 22px;
    }

    /* Radio options stack */
    .tatra-interest-field .wpcf7-radio {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .tatra-interest-field .wpcf7-list-item {
        width: 100%;
    }

    .tatra-interest-field .wpcf7-list-item > label {
        width: 100%;
        min-height: 44px;
        padding: 10px 14px;
        border-radius: 10px;
    }

    .tatra-submit-wrapper input[type="submit"] {
        min-height: 54px;
    }
}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 480px) {

    .tatra-quote-field > label,
    .tatra-interest-heading {
        font-size: 13px;
    }

    .tatra-quote-field input[type="text"],
    .tatra-quote-field input[type="email"],
    .tatra-quote-field input[type="tel"],
    .tatra-quote-field input[type="url"],
    .tatra-quote-field input[type="number"],
    .tatra-quote-field input[type="date"],
    .tatra-quote-field select {
        height: 46px;
        font-size: 13px;
    }

    .tatra-quote-field textarea {
        min-height: 130px;
        font-size: 13px;
    }

    .tatra-interest-field .wpcf7-list-item > label {
        font-size: 12px;
    }

    .tatra-helper-text {
        font-size: 11px;
    }
}