/* Event Check-In Plugin Styles */

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

.ol-checkin-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.ol-checkin-heading {
    margin: 0 0 20px;
    font-size: 1.4em;
    color: #2d5a1b;
    border-bottom: 2px solid #e8f4e1;
    padding-bottom: 12px;
}

.ol-checkin-subheading {
    margin: 0 0 16px;
    font-size: 1.1em;
    color: #2d5a1b;
}

/* Inputs & selects */
.ol-checkin-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.ol-checkin-select,
.ol-checkin-input {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color .15s;
}

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

.ol-checkin-input.ol-invalid {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}

.ol-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Buttons */
.ol-checkin-btn {
    display: inline-block;
    padding: 9px 20px;
    background: #4a8f2b;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
}

.ol-checkin-btn:hover:not(:disabled) {
    background: #3a7220;
}

.ol-checkin-btn:disabled {
    background: #9abf87;
    cursor: default;
}

.ol-checkin-btn--sm {
    padding: 5px 13px;
    font-size: 13px;
}

.ol-checkin-btn--primary {
    padding: 11px 28px;
    font-size: 16px;
}

/* Search row */
.ol-checkin-search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

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

/* Results table */
.ol-checkin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ol-checkin-table th {
    text-align: left;
    padding: 8px 10px;
    background: #f4f8f1;
    border-bottom: 2px solid #d6e8c9;
    color: #2d5a1b;
    font-weight: 700;
}

.ol-checkin-table td {
    padding: 10px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.ol-checkin-table tr:last-child td {
    border-bottom: none;
}

.ol-checkin-table tr:hover td {
    background: #fafff6;
}

/* Status badge */
.ol-status-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: #f0f0f0;
    color: #555;
}

.ol-status-badge.attended {
    background: #dff2d8;
    color: #2d7a15;
}

/* Profile form */
.ol-form-group {
    margin-bottom: 18px;
}

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

.ol-required {
    color: #c0392b;
}

.ol-radio-group,
.ol-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.ol-radio-label,
.ol-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
}

.ol-form-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Notices */
.ol-checkin-error {
    color: #c0392b;
    background: #fdf0ee;
    border: 1px solid #f5c6c0;
    border-radius: 5px;
    padding: 10px 14px;
    margin: 10px 0;
}

.ol-checkin-success {
    color: #1e7e34;
    background: #e8f8ec;
    border: 1px solid #b8dfc2;
    border-radius: 5px;
    padding: 10px 14px;
    margin: 10px 0;
}

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

.ol-checkin-loading {
    color: #666;
    font-style: italic;
}

.ol-checkin-hint {
    font-size: 13px;
    color: #666;
    margin: 8px 0 0;
}

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

/* Walk-in registration */
.ol-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 20px 0 14px;
}

.ol-walkin-row {
    display: flex;
    gap: 12px;
}

.ol-walkin-row .ol-form-group {
    flex: 1;
}
