

input,
textarea,
select {
    outline: none;
    color-scheme: dark;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.28);
}


.field {
    border-color: rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.field:focus {
    border-color: rgba(247, 228, 64, 0.65);
    background: rgba(255, 255, 255, 0.055);

    box-shadow:
        0 0 0 3px rgba(247, 228, 64, 0.07);
}

.field:focus-visible {
    outline: none;
}



.field.field-error {
    border-color: rgba(239, 68, 68, 0.8) !important;
    background: rgba(239, 68, 68, 0.055) !important;

    box-shadow:
        0 0 0 3px rgba(239, 68, 68, 0.07);
}

.field.field-error:focus {
    border-color: rgba(239, 68, 68, 0.95) !important;

    box-shadow:
        0 0 0 3px rgba(239, 68, 68, 0.10);
}

.field-error-message {
    margin-top: 0.4rem;

    font-size: 0.72rem;
    line-height: 1.35;

    color: rgba(248, 113, 113, 0.95);

    animation: errorFadeIn 0.15s ease;
}

@keyframes errorFadeIn {
    from {
        opacity: 0;
        transform: translateY(-2px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




.field.field-valid {
    border-color: rgba(247, 228, 64, 0.35);
}



textarea.field {
    min-height: 110px;
    resize: vertical;
}


select.field {
    cursor: pointer;
}



input[type="number"] {
    appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 0.45;
}



.tab-content {
    display: none;
}

.tab-content.active {
    display: block;

    animation:
        fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-button.active .tab-number {
    background: #F7E440;
    color: #000;
    border-color: #F7E440;
}

.tab-button.active .tab-title {
    color: white;
}

.tab-button.completed .tab-number {
    background: rgba(247, 228, 64, 0.15);
    color: #F7E440;
    border-color: rgba(247, 228, 64, 0.4);
}


.option-card {
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.option-card:has(input:checked) {
    border-color: rgba(247, 228, 64, 0.6);
    background: rgba(247, 228, 64, 0.06);
}



.experience-box {
    animation: fadeIn 0.25s ease;
}


input[aria-invalid="true"] {
    outline: none;
}

input[type="checkbox"][aria-invalid="true"] {
    accent-color: #ef4444;
}



@media (prefers-reduced-motion: reduce) {
    .tab-content.active,
    .experience-box,
    .field-error-message {
        animation: none;
    }

    .field,
    .option-card {
        transition: none;
    }
}