/* Volunteer Check-In (Self-Service) styles */

.ol-vcheckin-wrap {
    max-width: 420px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    color: #1a1a1a;
}

.ol-vcheckin-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
}

/* Header bar */
.ol-vcheckin-header {
    background: #3d2b22;
    padding: 22px 24px;
    text-align: center;
}

.ol-vcheckin-heading {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 1.5em;
    color: #fff;
}

.ol-vcheckin-body {
    padding: 24px;
}

/* Event meta */
.ol-vcheckin-event-title {
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.ol-vcheckin-meta {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
}

.ol-vcheckin-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 14px;
    margin-bottom: 6px;
}

.ol-vcheckin-meta-row:last-child { margin-bottom: 0; }

.ol-vcheckin-meta-icon {
    display: inline-block;
    width: 18px;
    text-align: center;
    font-size: 15px;
}

/* Inputs & buttons */
.ol-vcheckin-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.ol-vcheckin-input {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color .15s;
    background: #fafafa;
}

.ol-vcheckin-input:focus {
    outline: none;
    border-color: #4a8f2b;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74,143,43,.15);
}

/* Nickname field styled like a combo/dropdown box */
.ol-vcheckin-combo {
    position: relative;
}

.ol-vcheckin-combo .ol-vcheckin-input {
    padding-right: 38px;
}

.ol-vcheckin-combo-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
    font-size: 13px;
}

.ol-vcheckin-btn {
    display: inline-block;
    padding: 12px 22px;
    background: #4a8f2b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
}

.ol-vcheckin-btn:hover:not(:disabled) { background: #3a7220; }
.ol-vcheckin-btn:disabled { background: #c8c8c8; cursor: default; }

.ol-vcheckin-btn--primary {
    display: block;
    width: 100%;
    padding: 13px 22px;
    font-size: 16px;
}

.ol-vcheckin-search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.ol-vcheckin-search-row .ol-vcheckin-input { flex: 1; }

/* Contact match list — styled like a dropdown menu, not solid CTA buttons */
.ol-vcheckin-results { position: relative; }

.ol-vcheckin-contact-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 4px 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    overflow: hidden;
}

.ol-vcheckin-contact-list li + li { border-top: 1px solid #f0f0f0; }

.ol-vcheckin-contact-list .ol-vcheckin-btn {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    color: #1a1a1a;
    font-weight: 500;
    border-radius: 0;
    padding: 11px 16px;
}

.ol-vcheckin-contact-list .ol-vcheckin-btn:hover:not(:disabled) { background: #f4f8f1; }

/* Notices */
.ol-vcheckin-error {
    color: #c0392b;
    background: #fdf0ee;
    border: 1px solid #f5c6c0;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 10px 0 0;
}

.ol-vcheckin-success {
    color: #1e7e34;
    background: #e8f8ec;
    border: 1px solid #b8dfc2;
    border-radius: 8px;
    padding: 20px;
    margin: 4px 0 0;
    font-size: 1.05em;
    text-align: center;
}

.ol-vcheckin-notice {
    color: #6c4a00;
    background: #fff8e5;
    border: 1px solid #ffd97d;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 10px 0 0;
}

.ol-vcheckin-hint {
    font-size: 13px;
    color: #777;
    text-align: center;
    margin: 16px 0 0;
}

.ol-vcheckin-hint a { color: #4a8f2b; }

.ol-vcheckin-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 22px 0 18px;
}

/* Guest form */
.ol-form-group { margin-bottom: 16px; }

.ol-form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.ol-required { color: #c0392b; }

.ol-form-actions { margin-top: 18px; }

/* Signed-in counter */
.ol-vcheckin-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #444;
}

.ol-vcheckin-counter-icon { font-size: 16px; }

.ol-vcheckin-counter-label { flex: 1; }

.ol-vcheckin-counter-badge {
    display: inline-block;
    min-width: 22px;
    text-align: center;
    background: #4a8f2b;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    border-radius: 999px;
    padding: 3px 9px;
}
