/* =========================================
   PAGE BACKGROUND
========================================= */
body {
    margin: 0;
    font-family: "Poppins", Arial, sans-serif;
    background: #fcf5e3;
    color: #5D4037;
}

/* =========================================
   CONTAINER
========================================= */
.notify-container {
    max-width: 1100px;
    margin: 40px auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #FDC591;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* =========================================
   TOP BAR + HOME BUTTON
========================================= */
.top-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #E65100;
    color: #ffffff;
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s ease;
}

.home-btn:hover {
    background: #BF360C;
    transform: scale(1.1);
}

/* =========================================
   TITLE
========================================= */
.notify-title {
    margin: 0 0 20px;
    color: #BF360C;
    border-left: 5px solid #E65100;
    padding-left: 10px;
    font-weight: 600;
}

/* =========================================
   CATEGORY FILTER TABS
========================================= */
.notify-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.notify-category-filters a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: #FFF3E0;
    color: #BF360C;
    border: 1px solid #FDC591;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s ease;
}

.notify-category-filters a:hover {
    background: #FFE0B2;
    border-color: #E65100;
}

.notify-category-filters a.active {
    background: #E65100;
    color: #ffffff;
    border-color: #BF360C;
}

/* =========================================
   SEARCH + DATE FILTER
========================================= */
.notify-filter {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 20px;
    background: #FFF3E0;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #FDC591;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 12px;
    margin-bottom: 3px;
    color: #BF360C;
    font-weight: 500;
}

.filter-group input {
    padding: 7px;
    border: 1px solid #FDC591;
    border-radius: 4px;
    background: #ffffff;
    font-family: inherit;
    font-size: 14px;
    color: #5D4037;
}

.filter-group input:focus {
    outline: none;
    border-color: #E65100;
}

/* Works for both the <button> and the Reset <a> link */
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: #E65100;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.filter-btn:hover {
    background: #BF360C;
}

/* =========================================
   RESULTS INFO
========================================= */
.notify-results {
    margin-bottom: 12px;
}

.notify-results p {
    margin: 0;
    font-size: 13px;
    color: #5D4037;
}

.notify-results strong {
    color: #BF360C;
}

/* =========================================
   TABLE
========================================= */
.table-wrapper {
    overflow-x: auto;
}

.notify-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    border: 2px solid #BF360C;
    background: #ffffff;
}

.notify-table thead {
    background: #E65100;
    color: #ffffff;
}

.notify-table th,
.notify-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #D97A3A;
}

.notify-table tbody tr {
    border-bottom: 1px solid #FDC591;
}

.notify-table tbody tr:nth-child(even) {
    background: #FFF8F0;
}

.notify-table tbody tr:hover {
    background: #FFE0B2;
}

.title-cell {
    max-width: 400px;
    color: #5D4037;
}

/* =========================================
   ACTION BUTTON
========================================= */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #E65100;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    transition: 0.3s ease;
}

.action-btn:hover {
    background: #BF360C;
}

.no-action {
    color: #999;
    font-size: 12px;
}

/* =========================================
   EMPTY STATE
========================================= */
.empty {
    text-align: center;
    color: #999;
    padding: 25px 10px;
}

/* =========================================
   PAGINATION
========================================= */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #E65100;
    text-decoration: none;
    color: #BF360C;
    border-radius: 4px;
    background: #ffffff;
    font-size: 14px;
    transition: 0.3s ease;
}

.page-btn:hover {
    background: #E65100;
    color: #ffffff;
}

.current-page {
    margin: 0 10px;
    font-weight: 600;
    color: #BF360C;
}

/* =========================================
   BACK TO HOME
========================================= */
.notify-back-home {
    margin-top: 25px;
    text-align: center;
}

.notify-back-home a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: #FFF3E0;
    color: #BF360C;
    border: 1px solid #E65100;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s ease;
}

.notify-back-home a:hover {
    background: #E65100;
    color: #ffffff;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 768px) {

    .notify-container {
        margin: 15px;
        padding: 15px;
    }

    .notify-category-filters a {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
    }

    .notify-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group input {
        width: 100%;
        box-sizing: border-box;
    }

    .filter-btn {
        justify-content: center;
    }

    .title-cell {
        max-width: 220px;
    }
}