/* ── Shared Pin Modal Styles (used by modal_event_pin.php and modal_exam_schedule_pin.php) ── */

.epin-event-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    border: 1px solid #dde6ff;
    border-left: 4px solid #0d6efd;
    border-radius: 8px;
    padding: 12px 16px;
}
.epin-event-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.epin-event-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a2433;
    line-height: 1.4;
}

.epin-option {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 14px 16px 0;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    overflow: hidden;
}
.epin-option:hover { border-color: #9ab8ff; }
.epin-option--selected {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.12);
}
.epin-option-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
}
.epin-option-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.epin-icon--collapsed { background: #f0f4ff; color: #0d6efd; }
.epin-icon--expanded  { background: #fff4e5; color: #e67e22; }
.epin-icon--full      { background: #f0fff4; color: #27ae60; }
.epin-option-text { flex: 1; }
.epin-option-text strong {
    display: block;
    font-size: 13px;
    color: #1a2433;
    margin-bottom: 2px;
}
.epin-option-text span {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.5;
}
.epin-check {
    font-size: 18px;
    color: #ccc;
    margin-top: 4px;
    flex-shrink: 0;
    transition: color 0.15s ease;
}
.epin-option--selected .epin-check { color: #0d6efd; }

/* Mini wireframe illustration */
.epin-wireframe {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 8px 12px;
    margin: 0 -16px;
}
.epin-wireframe--expanded { padding-bottom: 10px; }
.ewf-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    background: #e8eeff;
    border-radius: 4px;
}
.ewf-dot { width: 10px; height: 10px; border-radius: 50%; background: #0d6efd; flex-shrink: 0; }
.ewf-line { display: inline-block; background: #c5cfe8; border-radius: 3px; height: 7px; }
.ewf-line--title { flex: 1; }
.ewf-line--text { display: block; background: #ddd; border-radius: 3px; height: 6px; width: 100%; margin-top: 4px; }
.ewf-line--short { width: 60%; }
.ewf-chevron { font-size: 10px; color: #888; flex-shrink: 0; }
.ewf-body { background: #fff; padding: 8px; border-radius: 0 0 4px 4px; border: 1px solid #e9ecef; border-top: none; }
.ewf-thumb { width: 22px; height: 22px; border-radius: 4px; background: #c5d8fb; flex-shrink: 0; display: inline-block; }
