/* ── Volunteer Sign-Up Sheet ───────────────────────────── */

.azure-volunteer-sheet {
    max-width: 700px;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.azure-vs-header {
    margin-bottom: 20px;
}

.azure-vs-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1d2327;
}

.azure-vs-desc {
    color: #646970;
    margin: 0 0 10px;
    font-size: 15px;
}

.azure-vs-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #50575e;
}

.azure-vs-meta .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    vertical-align: middle;
    margin-right: 4px;
    color: #0078d4;
}

/* ── Activities List ──────────────────────────────────── */

.azure-vs-activities {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.azure-vs-activity {
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    padding: 14px 16px;
    background: #fff;
    transition: border-color 0.2s;
}

.azure-vs-activity:hover {
    border-color: #0078d4;
}

.azure-vs-activity.full {
    background: #f8f9fa;
    border-color: #c3c4c7;
}

.azure-vs-activity.signed-up {
    border-left: 4px solid #28a745;
}

.azure-vs-act-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.azure-vs-act-info strong {
    font-size: 16px;
    display: block;
    color: #1d2327;
}

.azure-vs-act-desc {
    display: block;
    font-size: 13px;
    color: #646970;
    margin-top: 2px;
}

.azure-vs-act-spots {
    text-align: center;
    flex-shrink: 0;
    min-width: 60px;
}

.azure-vs-spot-count {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1d2327;
    line-height: 1.2;
}

.azure-vs-spot-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #646970;
    letter-spacing: 0.5px;
}

/* ── Volunteer chips ──────────────────────────────────── */

.azure-vs-act-volunteers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 8px;
}

.azure-vs-volunteer {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: #e8f0fe;
    border-radius: 12px;
    font-size: 13px;
    color: #1a4d8f;
}

.azure-vs-volunteer.is-me {
    background: #d4edda;
    color: #155724;
    font-weight: 600;
}

.azure-vs-withdraw {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: #721c24;
    padding: 0 2px;
    line-height: 1;
    font-weight: 700;
}

/* ── Signup checkbox ──────────────────────────────────── */

.azure-vs-signup-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 8px;
    color: #0078d4;
    font-weight: 500;
}

.azure-vs-signup-check input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
}

.azure-vs-full-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 10px;
    background: #f0f0f1;
    color: #646970;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

/* ── Save button ──────────────────────────────────────── */

.azure-vs-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.azure-vs-save-btn {
    padding: 10px 28px !important;
    font-size: 15px !important;
    font-weight: 600;
    background: #0078d4 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.azure-vs-save-btn:hover {
    background: #005a9e !important;
}

.azure-vs-message {
    font-size: 14px;
    font-weight: 600;
}

.azure-vs-message.success {
    color: #28a745;
}

.azure-vs-message.error {
    color: #dc3545;
}

/* ── Login prompt ─────────────────────────────────────── */

.azure-vs-login-prompt {
    padding: 14px 18px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    margin-top: 16px;
    font-size: 14px;
    color: #856404;
}

.azure-vs-login-prompt a {
    color: #856404;
    font-weight: 600;
    text-decoration: underline;
}

.azure-vs-closed {
    padding: 16px;
    background: #f0f0f1;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    font-size: 15px;
    color: #50575e;
    text-align: center;
    font-weight: 600;
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 480px) {
    .azure-vs-act-header {
        flex-direction: column;
    }
    .azure-vs-act-spots {
        text-align: left;
    }
    .azure-vs-meta {
        flex-direction: column;
        gap: 6px;
    }
}

.azure-vs-table-wrap {
    overflow-x: auto;
    margin: 12px 0;
}

.azure-vs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.azure-vs-table th,
.azure-vs-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e2e4e7;
    vertical-align: top;
}

.azure-vs-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #646970;
}

.azure-vs-act-action {
    white-space: nowrap;
    text-align: right;
}

.azure-vs-signed-badge {
    color: #1e7e34;
    font-weight: 600;
    font-size: 13px;
}

.azure-vs-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.azure-vs-modal-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px 24px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.azure-vs-modal-card h3 {
    margin: 0 0 10px;
}

.azure-vs-modal-time {
    color: #50575e;
}

.azure-vs-modal-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 16px;
}

.pta-event-volunteer-signups {
    margin: 8px 0 24px;
}

.pta-event-volunteer-signups > .pta-event-section {
    margin-bottom: 12px;
}
