/* ═══════════════════════════════════════════════
   Captain Checklist — Matches management section style
   ═══════════════════════════════════════════════ */

/* ─── Subtitle ─── */
.checklist-subtitle {
    font-size: 0.9rem;
    color: #777;
    margin: -0.5rem 0 1.2rem 0;
}

/* ─── Progress Row ─── */
.checklist-progress-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.2rem;
}

.checklist-progress-label {
    font-size: 0.85rem;
    color: #888;
    white-space: nowrap;
    min-width: 110px;
}

.checklist-progress-bar {
    flex: 1;
    height: 6px;
    background-color: #1a1a1a;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #333;
}

.checklist-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #caee00, #a0c800);
    transition: width 0.5s ease;
    border-radius: 3px;
}

/* ─── Checklist Rows ─── */
.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.checklist-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #2a2a2a;
    border-bottom: none;
    background: #111;
    transition: background 0.2s, opacity 0.3s;
}

.checklist-row:first-child {
    border-radius: 8px 8px 0 0;
}

.checklist-row:last-child {
    border-bottom: 1px solid #2a2a2a;
    border-radius: 0 0 8px 8px;
}

.checklist-row:first-child:last-child {
    border-radius: 8px;
}

.checklist-row:hover {
    background: #161616;
}

.checklist-row.done {
    opacity: 0.5;
}

.checklist-row.done:hover {
    opacity: 0.7;
}

/* ─── Check Circle ─── */
.checklist-row-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.7rem;
    color: #555;
    background: #0d0d0d;
    transition: all 0.3s ease;
}

.checklist-row-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: #555;
}

.checklist-row.done .checklist-row-check {
    background: #caee00;
    border-color: #caee00;
    color: #111;
}

/* ─── Row Icon ─── */
.checklist-row-icon {
    font-size: 0.95rem;
    color: #555;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.checklist-row.done .checklist-row-icon {
    color: #444;
}

/* ─── Row Label ─── */
.checklist-row-label {
    font-size: 0.92rem;
    color: #ccc;
    flex: 1;
}

.checklist-row.done .checklist-row-label {
    color: #555;
    text-decoration: line-through;
    text-decoration-color: #444;
}

/* ─── Action Slot (fixed width for alignment) ─── */
.checklist-action-slot {
    min-width: 72px;
    text-align: center;
    flex-shrink: 0;
}

.done-slot {
    color: #444;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── Action Link ─── */
.checklist-action {
    font-size: 0.8rem;
    color: #caee00;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 4px;
    transition: all 0.2s;
}

.checklist-action:hover {
    background: rgba(202, 238, 0, 0.1);
    color: #caee00;
}

.checklist-resend {
    color: #d4f520;
}

.checklist-resend:hover {
    background: rgba(202, 238, 0, 0.1);
    color: #d4f520;
}

/* ─── Resend Status Message ─── */
.checklist-resend-status {
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    text-align: center;
}

.checklist-resend-status.sending {
    background: rgba(202, 238, 0, 0.08);
    border: 1px solid rgba(202, 238, 0, 0.2);
    color: #caee00;
}

.checklist-resend-status.success {
    background: rgba(46, 160, 67, 0.1);
    border: 1px solid rgba(46, 160, 67, 0.3);
    color: #3fb950;
}

.checklist-resend-status.error {
    background: rgba(255, 80, 80, 0.08);
    border: 1px solid rgba(255, 80, 80, 0.2);
    color: #ff5050;
}

/* ─── Congrats Banner ─── */
.checklist-congrats {
    text-align: center;
    padding: 3rem 2rem;
}

.checklist-congrats-icon {
    font-size: 3rem;
    color: #caee00;
    margin-bottom: 1rem;
}

.checklist-congrats-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.6rem;
    color: #caee00;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.checklist-congrats-text {
    font-size: 1.1rem;
    color: #888;
    margin: 0;
}

/* ─── Email Block Overlay (3-day grace period expired) ─── */
.email-block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 13, 13, 0.92);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.email-block-content {
    text-align: center;
    max-width: 420px;
    padding: 2rem;
}

.email-block-icon {
    font-size: 3rem;
    color: #ff4444;
    margin-bottom: 1rem;
}

.email-block-msg {
    font-size: 1rem;
    color: #ff4444;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
}

.email-block-sub {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
    line-height: 1.5;
}
