/* ==========================================================================
   Festeorg Public Styles
   ========================================================================== */

.festeorg-event {
    max-width: 1100px;
    margin: 0 auto;
    font-family: inherit;
}

.festeorg-event-header {
    margin-bottom: 1.5em;
}

.festeorg-event-meta {
    color: #666;
    font-size: 0.95em;
    margin: 0.25em 0 0.75em;
}

/* Two-column layout */
.festeorg-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    margin-bottom: 2em;
}

@media (max-width: 700px) {
    .festeorg-two-col {
        grid-template-columns: 1fr;
    }
}

.festeorg-col {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1.25em;
}

.festeorg-col h3 {
    margin-top: 0;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5em;
}

/* Shifts */
.festeorg-shift {
    margin-bottom: 1em;
    padding: 0.75em;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.festeorg-shift--full {
    opacity: 0.7;
}

.festeorg-shift-title {
    margin: 0 0 0.5em;
    font-size: 1em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
}

.festeorg-shift-time {
    color: #666;
    font-weight: normal;
    font-size: 0.9em;
}

.festeorg-slots {
    font-size: 0.8em;
    color: #888;
}

.festeorg-full-badge {
    background: #c0392b;
    color: #fff;
    border-radius: 3px;
    padding: 1px 6px;
    font-size: 0.75em;
    font-weight: 600;
}

.festeorg-registrants {
    list-style: none;
    padding: 0;
    margin: 0.25em 0;
    font-size: 0.9em;
    color: #555;
}

.festeorg-registrants li::before {
    content: "✓ ";
    color: #27ae60;
}

.festeorg-activities {
    list-style: none;
    padding: 0;
    margin: 0.5em 0;
}

.festeorg-activity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
    padding: 0.3em 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9em;
}

.festeorg-activity--full .festeorg-activity-title {
    text-decoration: line-through;
    color: #999;
}

.festeorg-registrants-inline {
    color: #27ae60;
    font-size: 0.85em;
}

/* Bring list */
.festeorg-bring-category h4 {
    margin: 0.75em 0 0.25em;
    color: #333;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.festeorg-bring-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.festeorg-bring-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
    padding: 0.35em 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9em;
}

.festeorg-bring-item--full .festeorg-item-title {
    text-decoration: line-through;
    color: #999;
}

.festeorg-bringers {
    color: #27ae60;
    font-size: 0.85em;
}

/* Overview section */
.festeorg-overview {
    margin-top: 2em;
    border-top: 2px solid #e0e0e0;
    padding-top: 1.5em;
}

.festeorg-overview h3 {
    margin-top: 0;
    color: #2c3e50;
}

.festeorg-overview .festeorg-col h4 {
    margin-top: 0;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5em;
}

.festeorg-empty--small {
    font-size: 0.85em;
    margin: 0.2em 0;
}

/* Registration section */
.festeorg-register-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1.5em;
}

.festeorg-register-section h3 {
    margin-top: 0;
}

.festeorg-form {
    max-width: 700px;
}

.festeorg-field {
    margin-bottom: 1.2em;
}

.festeorg-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35em;
}

.festeorg-field input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 0.5em 0.75em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.festeorg-required {
    color: #c0392b;
}

.festeorg-hint {
    font-size: 0.82em;
    color: #888;
    margin: 0.25em 0 0;
}

.festeorg-fieldset {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 1em 1.25em;
    margin-bottom: 1.25em;
}

.festeorg-fieldset legend {
    font-weight: 600;
    padding: 0 0.5em;
}

.festeorg-shift-option {
    margin-bottom: 0.75em;
}

.festeorg-shift-with-acts {
    margin: 0 0 0.35em;
}

.festeorg-activity-options {
    list-style: none;
    padding-left: 1.5em;
    margin: 0;
}

.festeorg-bring-group {
    margin-bottom: 0.75em;
}

.festeorg-group-label {
    font-weight: 600;
    margin: 0 0 0.35em;
}

.festeorg-bring-options {
    list-style: none;
    padding-left: 1.5em;
    margin: 0;
}

.festeorg-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5em;
    cursor: pointer;
    padding: 0.2em 0;
}

.festeorg-checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.festeorg-label--disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.festeorg-label--disabled input {
    cursor: not-allowed;
}

.festeorg-time {
    color: #666;
    font-size: 0.88em;
}

.festeorg-slots-badge {
    background: #e8f4fc;
    color: #1a5276;
    border-radius: 3px;
    padding: 1px 6px;
    font-size: 0.78em;
}

.festeorg-btn {
    display: inline-block;
    padding: 0.6em 1.4em;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.festeorg-btn--primary {
    background: #2980b9;
    color: #fff;
    font-weight: 600;
}

.festeorg-btn--primary:hover {
    background: #1a6094;
}

.festeorg-btn--secondary {
    background: #ecf0f1;
    color: #333;
}

.festeorg-btn--danger {
    background: #e74c3c;
    color: #fff;
}

.festeorg-btn--copy {
    background: #7f8c8d;
    color: #fff;
    padding: 0.5em 1em;
    font-size: 0.9em;
}

/* Success box */
.festeorg-success {
    background: #d4efdf;
    border: 1px solid #27ae60;
    border-radius: 6px;
    padding: 1.5em;
    margin-bottom: 1.5em;
}

.festeorg-success h3 {
    margin-top: 0;
    color: #1e8449;
}

.festeorg-token-box {
    background: #fff;
    border: 1px solid #a9dfbf;
    border-radius: 4px;
    padding: 1em;
    margin-top: 0.75em;
}

.festeorg-token-link-wrap {
    display: flex;
    gap: 0.5em;
    align-items: center;
    flex-wrap: wrap;
    margin: 0.5em 0;
}

.festeorg-bring-textarea {
    width: 100%;
    max-width: 500px;
    padding: 0.5em 0.75em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
    resize: vertical;
}

.festeorg-token-input {
    flex: 1;
    min-width: 250px;
    padding: 0.45em 0.75em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.88em;
    background: #f9f9f9;
}

/* Notices */
.festeorg-notice {
    border-radius: 4px;
    padding: 0.85em 1.25em;
    margin-bottom: 1em;
}

.festeorg-notice--error {
    background: #fdecea;
    border: 1px solid #e74c3c;
    color: #c0392b;
}

.festeorg-notice--success {
    background: #d4efdf;
    border: 1px solid #27ae60;
    color: #1e8449;
}

/* Token edit page */
.festeorg-edit-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1.5em;
    max-width: 750px;
    margin: 0 auto;
}

.festeorg-edit-section h3 {
    margin-top: 0;
}

.festeorg-alias-display {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1em;
}

.festeorg-edit-actions {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    margin-top: 1.5em;
}

.festeorg-empty {
    color: #999;
    font-style: italic;
}

.festeorg-error {
    color: #c0392b;
}
