/* Shared form widget (lost + found report forms) */
.archery-lf-widget {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 20px;
    background: #f7f7f5;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.archery-lf-widget label {
    display: block;
    font-weight: 600;
    margin: 12px 0 6px;
    font-size: 15px;
    color: #222;
}

.archery-lf-widget input[type="text"],
.archery-lf-widget input[type="date"],
.archery-lf-widget select,
.archery-lf-widget textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
}

.archery-lf-widget textarea {
    resize: vertical;
}

.archery-lf-btn-row {
    margin-top: 20px;
}

.archery-lf-btn {
    width: 100%;
    padding: 16px 0;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
    -webkit-tap-highlight-color: transparent;
}

.archery-lf-btn:active {
    transform: scale(0.98);
}

.archery-lf-btn-submit {
    background: #37474f;
}

.archery-lf-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#archery-lost-arrow-message,
#archery-found-arrow-message {
    margin-top: 16px;
    font-size: 15px;
    text-align: center;
    min-height: 20px;
}

#archery-lost-arrow-message.success,
#archery-found-arrow-message.success {
    color: #2e7d32;
    font-weight: 600;
}

#archery-lost-arrow-message.error,
#archery-found-arrow-message.error {
    color: #c62828;
    font-weight: 600;
}

/* Committee matching board */
.archery-lf-board {
    max-width: 700px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.archery-lf-board h3 {
    margin: 24px 0 12px;
}

.archery-lf-notice {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-weight: 600;
}

.archery-lf-notice-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.archery-lf-notice-error {
    background: #ffebee;
    color: #c62828;
}

.archery-lf-empty {
    color: #666;
    font-style: italic;
}

.archery-lf-card {
    background: #fff;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
    border-left: 4px solid #c62828;
}

.archery-lf-card-found {
    border-left-color: #2e7d32;
}

.archery-lf-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.archery-lf-date {
    font-size: 13px;
    color: #666;
}

.archery-lf-card-body {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 14px;
    color: #444;
}

.archery-lf-notes {
    margin: 8px 0 0;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.archery-lf-status {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #37474f;
}

.archery-lf-match-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.archery-lf-match-form select {
    flex: 1;
    min-width: 200px;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.archery-lf-btn-mark {
    width: auto;
    padding: 8px 18px;
    font-size: 14px;
    background: #2e7d32;
}

@media (max-width: 480px) {
    .archery-lf-widget {
        border-radius: 0;
    }
    .archery-lf-card-header {
        flex-direction: column;
        gap: 4px;
    }
}
