/*|--------------------------------------------------------------------------
| SweetMeet Notice Controller
|------------------------------------------------------------------------*/

.sm-notice-admin {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}


.sm-notice-admin__header {
    margin-bottom: 28px;
}


.sm-notice-admin__eyebrow {
    margin-bottom: 5px;

    color: #b88d35;

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}


.sm-notice-admin__header h1 {
    margin: 0 0 6px;
}


.sm-notice-admin__header p {
    margin: 0;

    color: #777;
}


.sm-notice-admin__notice {
    margin-bottom: 20px;

    padding: 12px 15px;

    border: 1px solid #d8c18d;
    border-radius: 5px;

    background: #faf7ef;
}


.sm-notice-editor,
.sm-notice-list {
    margin-bottom: 30px;

    padding: 24px;

    border: 1px solid #ddd;
    border-radius: 6px;

    background: #fff;
}


.sm-notice-editor__heading,
.sm-notice-list__heading {
    margin-bottom: 20px;
}


.sm-notice-editor__heading h2,
.sm-notice-list__heading h2 {
    margin: 0;
}


.sm-notice-form-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 8px;
}


.sm-notice-field {
    display: flex;

    flex-direction: column;

    gap: 1px;
}


.sm-notice-field--wide {
    grid-column:
        1 / -1;
}


.sm-notice-field label {
    font-weight: 600;
    margin-bottom: .1rem !important;
}


.sm-notice-field input,
.sm-notice-field select,
.sm-notice-field textarea {
    width: 100%;

    padding: 5px 5px;

    border: 1px solid #ddd;
    border-radius: 4px;

    background: #fff;
}




.sm-notice-field small {
    color: #888;
}


.sm-notice-checkbox {
    display: flex !important;

    flex-direction: row !important;

    align-items: center;

    gap: 8px;
}

.sm-notice-type-help {
    display: block;

    margin-top: 5px;

    color: #888;

    font-size: 12px;
    line-height: 1.6;
}


.sm-notice-type-help strong {
    color: #555;
    font-weight: 600;
}

.sm-notice-checkbox input {
    width: auto;
}


.sm-notice-editor__actions {
    display: flex;

    gap: 10px;

    margin-top: 22px;
}


.sm-notice-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 18px;

    border: 1px solid #c8a96a;
    border-radius: 4px;

    background: #c8a96a;

    color: #111;
}


.sm-notice-button--secondary {
    background: #fff;
}


.sm-notice-table-wrap {
    overflow-x: auto;
}


.sm-notice-table {
    width: 100%;

    border-collapse: collapse;
}


.sm-notice-table th,
.sm-notice-table td {
    padding: 12px;

    border-bottom: 1px solid #eee;

    text-align: left;
    vertical-align: top;
}


.sm-notice-table th {
    font-size: 12px;

    text-transform: uppercase;

    color: #777;
}


.sm-notice-row-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.sm-notice-row-actions a {
    white-space: nowrap;
}


@media (max-width: 767px) {

    .sm-notice-editor,
    .sm-notice-list {
        padding: 16px;
    }


    .sm-notice-form-grid {
        grid-template-columns:
            1fr;
    }


    .sm-notice-field--wide {
        grid-column:
            auto;
    }

}