/* Step 3 — Your file is ready */

.pwa.download-step-3 .popup:before,
.pwa.download-step-4 .popup:before {
    display: none;
}
.pwa.download-step-3 .popup__wrapper,
.pwa.download-step-4 .popup__wrapper {
    width: 700px;
}

.pwa.download-step-3 footer a,
.pwa.download-step-4 footer a {
    color: #000;
}

.pwa-hint {
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
}

.step3-retry {
    font-size: 14px;
    color: #000000;
    margin: 0 0 28px;
    display: flex;
    gap: 5px;
    position: absolute;
    top: 20px;
}

.step3-retry.v1-retry {
    color: #ffffff;
}

.step3-retry__link {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
}

.step3-retry.v1-retry .step3-retry__link {
    color: #708EFF;
}

.step3-retry__link:hover {
    text-decoration: underline;
}

.step3-arrow {
    font-size: 40px;
    color: #3b82f6;
    line-height: 1;
    margin-bottom: 16px;
    cursor: pointer;
    height: 50px;
    text-align: center;
    animation: bounce 1.2s ease-in-out infinite;
}

.step3-title {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px;
}

.step3-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 24px;
}

.step3-steps {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
    text-align: left;
    margin-bottom: 28px;
    box-sizing: border-box;
    background: #f8fafc;
}

.step3-steps p {
    margin: 0;
    font-size: 14px;
    color: #111827;
    line-height: 1.7;
}

.step3-steps p + p {
    margin-top: 4px;
}

.step3-btn {
    background: #2479EE;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: inherit;
}

.step3-btn:hover {
    background: #2563eb;
}

.step3-btn--waiting {
    background: #e2e8f0;
    color: #64748b;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step3-btn--waiting:hover {
    background: #e2e8f0;
}

.step3-btn__dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    flex-shrink: 0;
}

.step3-btn__dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #94a3b8;
    animation: dot-ping 1.4s ease-out infinite;
}

@keyframes dot-ping {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2.8); opacity: 0; }
}

.step4-progress {
    margin: 24px auto 0;
    width: 100%;
    max-width: 320px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.step4-progress-bar {
    height: 100%;
    width: 0;
    background: #2563eb;
    transition: width .15s linear;
}
