.profile-worker-page {
    padding: 0 0 48px;
}

.profile-worker-shell {
    max-width: 860px;
    margin: 0 auto;
}

.profile-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.profile-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid rgba(47, 125, 246, 0.16);
    border-radius: 14px;
    color: var(--muted);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.profile-step--active {
    border-color: rgba(47, 125, 246, 0.38);
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    color: var(--text);
}

.profile-step__icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--soft);
    font-size: 18px;
    flex-shrink: 0;
}

.profile-step strong,
.profile-step span {
    display: block;
}

.profile-step strong {
    font-size: 13px;
}

.profile-step div span {
    font-size: 12px;
}

.profile-banner {
    padding: 10px 16px;
    margin-bottom: 18px;
    background: linear-gradient(90deg, rgba(47, 125, 246, 0.12), rgba(47, 125, 246, 0.04));
    border: 1px solid rgba(47, 125, 246, 0.15);
    border-radius: 12px;
    color: var(--primary-2);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.profile-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.section-title {
    padding: 12px 18px;
    background: linear-gradient(90deg, #0d5fc6 0%, #2f7df6 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.section-title--spaced {
    margin-top: 12px;
}

.photo-section,
.form-grid,
.form-actions {
    padding-left: 18px;
    padding-right: 18px;
}

.photo-section {
    padding-top: 18px;
    padding-bottom: 10px;
}

.field-label,
.form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.field-label span,
.form-field label span {
    color: #ff6b6b;
}

.photo-upload-box {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 172px;
    border: 2px dashed #f0bf55;
    border-radius: 14px;
    background: #fffdfa;
    position: relative;
}

.photo-upload-box__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.photo-upload-box__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
    padding: 18px;
    width: 100%;
    min-height: 172px;
}

.photo-upload-box__content--preview {
    padding: 12px;
}

.photo-upload-box__preview {
    max-width: 100%;
    max-height: 146px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

.photo-upload-box__icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(47, 125, 246, 0.08);
    color: var(--primary);
    font-size: 22px;
}

.photo-upload-box__note {
    margin-top: 10px;
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 10px;
    background: #ffe8eb;
    color: #c94f67;
    font-size: 12px;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 14px;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
    min-height: 108px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(47, 125, 246, 0.5);
    box-shadow: 0 0 0 4px rgba(47, 125, 246, 0.12);
}

.medical-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 46px;
    align-items: center;
}

.choice-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(47, 125, 246, 0.18);
    border-radius: 999px;
    padding: 10px 14px;
    background: #f8fbff;
    color: var(--muted);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    min-height: 44px;
}

.choice-pill__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(47, 125, 246, 0.4);
    background: #fff;
}

.choice-pill--active {
    border-color: rgba(47, 125, 246, 0.42);
    background: rgba(47, 125, 246, 0.12);
    color: var(--primary-2);
}

.choice-pill--active .choice-pill__dot {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: inset 0 0 0 2px #fff;
}

.checkbox-field {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    margin-bottom: 0 !important;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    min-height: auto;
    accent-color: var(--primary);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

@media (max-width: 900px) {
    .profile-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .profile-steps,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .medical-grid {
        grid-template-columns: 1fr;
    }

    .form-field--full {
        grid-column: auto;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn {
        width: 100%;
    }
}
