/* ACP Dashboard: readiness gauge, badges, pipeline bar */

.acp-login-notice {
    padding: 16px;
    color: #6b7280;
    font-size: 14px;
}

.acp-form-success {
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #dcfce7;
    color: #15803d;
    font-weight: 600;
}

/* Readiness gauge */
.acp-readiness-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.acp-gauge {
    --pct: 0;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: conic-gradient(#2563eb calc(var(--pct) * 1%), #e5e7eb 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
}

.acp-gauge-inner {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

.acp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.acp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: #f3f4f6;
    color: #374151;
}

.acp-badge--flag .fi {
    border-radius: 3px;
}

.acp-badge--verified {
    background: #dcfce7;
    color: #15803d;
}

/* Pipeline bar */
.acp-pipeline-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 24px 8px;
}

.acp-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    text-align: center;
}

.acp-stage:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 9px;
    left: 55%;
    width: 90%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.acp-stage--done:not(:last-child)::after {
    background: #2563eb;
}

.acp-stage-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e5e7eb;
    border: 3px solid #e5e7eb;
    z-index: 1;
}

.acp-stage--done .acp-stage-dot {
    background: #2563eb;
    border-color: #2563eb;
}

.acp-stage--current .acp-stage-dot {
    background: #fff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.acp-stage-label {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
}

.acp-stage--done .acp-stage-label,
.acp-stage--current .acp-stage-label {
    color: #111827;
    font-weight: 700;
}

@media (max-width: 640px) {
    .acp-pipeline-bar {
        flex-wrap: wrap;
        gap: 16px;
    }
    .acp-stage:not(:last-child)::after {
        display: none;
    }
}
