.smpy-agenda-public-wrap,
.smpy-agenda-manager-wrap {
    background: #FBCE9E;
    padding: 24px;
    border-radius: 10px;
    box-sizing: border-box;
}

.smpy-agenda-title {
    margin: 0 0 20px;
    padding: 18px 20px;
    background: #F88F52;
    color: #ffffff;
    text-align: center;
    font-size: 2.3rem;
    line-height: 1.2;
    font-weight: 700;
}

.smpy-agenda-season-link-wrap {
    margin: 0 0 24px;
    color: #F88F52;
    font-size: 1.1rem;
}

.smpy-agenda-season-bullet {
    margin-right: 8px;
    font-weight: 700;
}

.smpy-agenda-season-label {
    text-decoration: underline;
    font-weight: 600;
}

.smpy-agenda-table-wrap {
    overflow-x: auto;
}

.smpy-agenda-table {
    width: 100%;
    border-collapse: collapse;
    background: #fffdf2;
}

.smpy-agenda-table thead th {
    background: #F88F52;
    color: #ffffff;
    text-align: left;
    padding: 14px 12px;
    border: 1px solid #d7cfab;
    font-size: 1rem;
}

.smpy-agenda-table tbody td {
    padding: 14px 12px;
    border: 1px solid #d7cfab;
    color: #1f2d1f;
    vertical-align: top;
}

.smpy-agenda-table tbody tr:nth-child(odd) td {
    background: #f7f3df;
}

.smpy-agenda-table tbody tr:nth-child(even) td {
    background: #fdfbf0;
}

.smpy-agenda-notice,
.smpy-agenda-denied {
    margin: 16px 0;
    padding: 14px 16px;
    border-left: 5px solid #F88F52;
    background: #fffdf2;
    color: #1f2d1f;
}

.smpy-agenda-notice.success {
    border-left-color: #F88F52;
}

.smpy-agenda-filter-form,
.smpy-form-actions,
.smpy-actions-cell {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.smpy-agenda-filter-form {
    margin: 0 0 20px;
}

.smpy-agenda-filter-form select,
.smpy-agenda-form input[type="text"],
.smpy-agenda-form input[type="date"],
.smpy-agenda-form input[type="time"],
.smpy-agenda-form input[type="number"] {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfc59b;
    border-radius: 6px;
    background: #ffffff;
    box-sizing: border-box;
}

.smpy-agenda-form-card {
    margin: 0 0 24px;
    padding: 20px;
    background: #fffdf2;
    border: 1px solid #d7cfab;
    border-radius: 10px;
}

.smpy-agenda-form-card h3 {
    margin-top: 0;
    color: #F88F52;
}

.smpy-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 16px;
}

.smpy-form-grid p {
    margin: 0;
}

.smpy-form-grid label {
    display: block;
    margin-bottom: 6px;
    color: #1f2d1f;
    font-weight: 600;
}

.smpy-form-grid small {
    display: block;
    margin-top: 6px;
    color: #4b5a4b;
}

.smpy-full-width {
    grid-column: 1 / -1;
}

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

.smpy-btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    line-height: 1.2;
}

.smpy-btn-primary {
    background: #F88F52;
    color: #ffffff;
}

.smpy-btn-primary:hover,
.smpy-btn-primary:focus {
    background: #e67e45;
    color: #ffffff;
}

.smpy-btn-secondary {
    background: #f4bf8d;
    color: #1f2d1f;
}

.smpy-btn-secondary:hover,
.smpy-btn-secondary:focus {
    background: #e6b07c;
    color: #1f2d1f;
}

.smpy-btn-danger {
    background: #9d2f2f;
    color: #ffffff;
}

.smpy-btn-danger:hover,
.smpy-btn-danger:focus {
    background: #822626;
    color: #ffffff;
}

.smpy-btn-small {
    padding: 8px 12px;
    font-size: 0.92rem;
}

.smpy-delete-form {
    margin: 0;
}

@media (max-width: 900px) {
    .smpy-form-grid {
        grid-template-columns: 1fr;
    }

    .smpy-agenda-title {
        font-size: 1.8rem;
    }
}


.smpy-agenda-season-block {
    margin-bottom: 28px;
}

.smpy-agenda-inline-form {
    display: flex;
    gap: 12px;
    align-items: end;
    flex-wrap: wrap;
}

.smpy-agenda-inline-form label {
    display: block;
    margin-bottom: 6px;
    color: #1f2d1f;
    font-weight: 600;
}

.smpy-agenda-inline-form input[type="text"],
.smpy-agenda-form textarea,
.smpy-agenda-form select,
.smpy-agenda-inline-form input[type="text"] {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfc59b;
    border-radius: 6px;
    background: #ffffff;
    box-sizing: border-box;
}

.smpy-agenda-inline-form input[type="text"] {
    min-width: 180px;
}

.smpy-help-text {
    margin: 12px 0 0;
    color: #4b5a4b;
}
