/* ===== Appeal Steps Section ===== */
.appeal-steps-section {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 50%, #e8f0f8 100%);
    border-radius: 12px;
    padding: 30px 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.appeal-steps-section::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(100, 180, 220, 0.15);
    border-radius: 50%;
}

.appeal-steps-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: rgba(100, 160, 210, 0.12);
    border-radius: 50%;
}

.appeal-steps-title {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c5f8a;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.appeal-steps-title::before,
.appeal-steps-title::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: #2c5f8a;
    vertical-align: middle;
    margin: 0 8px;
}

.appeal-steps-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.appeal-step-item {
    flex: 1;
    min-width: 130px;
    max-width: 200px;
    position: relative;
    display: flex;
    align-items: stretch;
}

/* Arrow connector between steps */
.appeal-step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid var(--step-color, #4db6ac);
    z-index: 2;
}

.appeal-step-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 14px 16px 14px 12px;
    border-radius: 8px;
    color: #fff;
    /*font-size: 0.78rem;*/
    line-height: 1.4;
    width: 100%;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
    position: relative;
}

.appeal-step-item:last-child .appeal-step-box {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Step colors matching the example */
.appeal-step-item:nth-child(1) { --step-color: #4db6ac; }
.appeal-step-item:nth-child(1) .appeal-step-box { background-color: #4db6ac; }
.appeal-step-item:nth-child(1)::after { border-left-color: #4db6ac; }

.appeal-step-item:nth-child(2) { --step-color: #29b6f6; }
.appeal-step-item:nth-child(2) .appeal-step-box { background-color: #29b6f6; }
.appeal-step-item:nth-child(2)::after { border-left-color: #29b6f6; }

.appeal-step-item:nth-child(3) { --step-color: #ffa726; }
.appeal-step-item:nth-child(3) .appeal-step-box { background-color: #ffa726; }
.appeal-step-item:nth-child(3)::after { border-left-color: #ffa726; }

.appeal-step-item:nth-child(4) { --step-color: #ef5350; }
.appeal-step-item:nth-child(4) .appeal-step-box { background-color: #ef5350; }

.appeal-step-number {
    /*font-size: 0.65rem;*/
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 2px;
    display: block;
}

.appeal-step-label {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}

.appeal-step-desc {
/*    font-size: 0.72rem;
    font-weight: 400;*/
    opacity: 0.95;
    /*line-height: 1.35;*/
}

/* Responsive */
@media (max-width: 576px) {
    .appeal-steps-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .appeal-step-item {
        width: 100%;
        max-width: 100%;
        min-width: unset;
    }

    .appeal-step-item:not(:last-child)::after {
        display: none;
    }

    .appeal-step-box {
        clip-path: none;
        border-radius: 8px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        padding: 10px 14px;
        gap: 10px;
    }

    .appeal-step-number,
    .appeal-step-label {
        display: inline;
    }
}