.education-page {
    padding: 0 0 48px;
}

.education-shell {
    max-width: 980px;
    margin: 0 auto;
}

.education-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.education-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);
}

.education-step--done,
.education-step--active {
    color: var(--text);
}

.education-step--done {
    background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
}

.education-step--active {
    border-color: rgba(47, 125, 246, 0.38);
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
}

.education-step__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--soft);
    font-size: 18px;
    flex-shrink: 0;
}

.education-step strong,
.education-step span {
    display: block;
}

.education-step strong {
    font-size: 14px;
}

.education-step div span {
    font-size: 12px;
}

.education-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.education-section-title {
    padding: 12px 18px;
    background: linear-gradient(90deg, #0d5fc6 0%, #2f7df6 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.education-body {
    padding: 18px;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.education-field {
    display: grid;
    gap: 8px;
}

.education-field--full {
    margin-top: 2px;
}

.education-field--checkbox {
    display: flex;
    align-items: center;
}

.education-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.education-field label span {
    color: #ff6b6b;
}

.education-field input,
.education-field select,
.education-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.education-field textarea {
    min-height: 132px;
    resize: vertical;
}

.education-field input:focus,
.education-field select:focus,
.education-field textarea:focus {
    border-color: rgba(47, 125, 246, 0.5);
    box-shadow: 0 0 0 4px rgba(47, 125, 246, 0.12);
}

.education-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
}

.education-checkbox-label input {
    width: 18px;
    height: 18px;
    min-height: auto;
    accent-color: var(--primary);
}

.education-history-list {
    display: grid;
    gap: 16px;
    margin-bottom: 12px;
}

.education-history-card {
    padding: 16px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #e6eefb;
}

.education-history-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.education-history-card__remove {
    border: 0;
    background: transparent;
    color: #c84d63;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.chip-list,
.experience-highlight-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.education-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 12px;
    background: #fff;
    color: #4a5a73;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.education-chip:hover {
    border-color: rgba(47, 125, 246, 0.35);
}

.education-chip--active {
    border-color: rgba(47, 125, 246, 0.46);
    background: rgba(47, 125, 246, 0.12);
    color: var(--primary-2);
}

.experience-highlight__icon {
    color: var(--primary);
    font-size: 12px;
}

.education-warning {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #ffe3e8;
    color: #b55168;
    font-size: 14px;
    font-weight: 600;
}

.education-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .education-steps,
    .education-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .education-steps,
    .education-grid {
        grid-template-columns: 1fr;
    }

    .education-actions {
        flex-direction: column-reverse;
    }

    .education-actions .btn {
        width: 100%;
    }
}
