/* HR Form Styles */
.hr-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.hr-form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #18181b;
}

.hr-form-input {
    display: block;
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    color: #18181b;
    background: #fff;
    border: 1px solid #d4d4d8;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
}

.hr-form-input:focus {
    outline: none;
    border-color: var(--color-eurorepar, #FF4B00);
    box-shadow: 0 0 0 3px rgba(255, 75, 0, 0.15);
}

.hr-form-input[aria-invalid="true"] {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.hr-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.hr-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.hr-form-help {
    font-size: 0.75rem;
    color: #71717a;
}

.hr-form-error {
    display: none;
    font-size: 0.8125rem;
    color: #dc2626;
    margin-top: 0.25rem;
}

.hr-form-error.is-visible {
    display: block;
}

.hr-form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    cursor: pointer;
}

.hr-form-checkbox {
    margin-top: 0.125rem;
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
    border-radius: 0.25rem;
    border: 1.5px solid #d4d4d8;
    accent-color: var(--color-eurorepar, #FF4B00);
}

.hr-form-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 75, 0, 0.15);
}

.hr-form-char-counter {
    align-self: flex-end;
    font-size: 0.75rem;
    color: #71717a;
    margin-top: -0.125rem;
}

/* Searchable Select Listbox */
[data-searchable-list] li {
    padding: 0.5rem 0.875rem;
    cursor: pointer;
    font-size: 0.9375rem;
    color: #18181b;
    transition: background-color 0.1s ease;
}

[data-searchable-list] li:hover,
[data-searchable-list] li.is-highlighted {
    background: rgba(255, 75, 0, 0.08);
    color: var(--color-eurorepar, #FF4B00);
}

[data-searchable-list] li.is-selected {
    background: rgba(255, 75, 0, 0.12);
    color: var(--color-eurorepar, #FF4B00);
    font-weight: 600;
}

[data-searchable-list] li.is-empty {
    padding: 0.75rem;
    color: #71717a;
    text-align: center;
    font-style: italic;
}

/* Başvuru Süreci Timeline */
.hr-timeline {
    position: relative;
    counter-reset: hr-step;
}

.hr-timeline__item {
    position: relative;
    padding-left: 3.5rem;
    padding-bottom: 2.5rem;
}

.hr-timeline__item:last-child {
    padding-bottom: 0;
}

.hr-timeline__item::before {
    counter-increment: hr-step;
    content: counter(hr-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: 9999px;
    background: var(--color-eurorepar-light, #FFF0EB);
    color: var(--color-eurorepar-dark, #E64300);
    font-weight: 800;
    font-size: 0.9375rem;
    border: 1px solid rgba(255, 75, 0, 0.25);
}

.hr-timeline__item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 2.75rem;
    bottom: 0.5rem;
    width: 2px;
    background: #e4e4e7;
}

@media (min-width: 768px) {
    .hr-timeline__item {
        padding-left: 0;
        padding-top: 3.25rem;
        padding-bottom: 0;
        text-align: center;
    }
    .hr-timeline__item::before {
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }
    .hr-timeline__item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .btn-wa-submit {
        font-size: 0.9375rem;
        padding: 0.75rem 1rem;
    }
}