/* =============================================================================
   INNERPAGE.CSS  –  Notice List, Notice Details, FAQ, Application Guidelines
   -----------------------------------------------------------------------------
   Requires:  style.css AND LandingPage.css loaded first
   Scope:     add  class="landing-page"  to the <main> element, same as Index.cshtml
              (this file only adds what LandingPage.css does not already cover)

   1.  Page banner + breadcrumb
   2.  Notice list + filter bar
   3.  Pagination
   4.  Notice details + PDF viewer
   5.  FAQ accordion
   6.  Guidelines content
   7.  Responsive
============================================================================= */


/* =============================================================================
   1. PAGE BANNER + BREADCRUMB
============================================================================= */
.page-banner {
    position: relative;
    overflow: hidden;
    padding: 34px 0;
    color: #fff;
    background: linear-gradient(90deg, rgba(0, 92, 178, .97) 0%, rgba(0, 102, 193, .9) 50%, rgba(0, 92, 178, .97) 100%);
}

.page-banner h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    font-size: 12.5px;
    color: #dcecff;
}

    .page-breadcrumb a {
        color: #dcecff;
        text-decoration: none;
    }

        .page-breadcrumb a:hover {
            color: #fff;
            text-decoration: underline;
        }

    .page-breadcrumb i {
        font-size: 9px;
        color: #9cc5f0;
    }

    .page-breadcrumb span {
        color: #fff;
        font-weight: 600;
    }


/* =============================================================================
   2. NOTICE LIST + FILTER BAR
============================================================================= */
.notice-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 13px 16px;
    border: 1px solid var(--aaub-line);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 74, 140, .04);
}

    .notice-filter-bar .search-wrap {
        position: relative;
        flex: 1 1 auto;
    }

        .notice-filter-bar .search-wrap i {
            position: absolute;
            top: 50%;
            left: 13px;
            transform: translateY(-50%);
            color: var(--muted);
            font-size: 13px;
        }

        .notice-filter-bar .search-wrap input {
            padding-left: 34px;
        }

    .notice-filter-bar select {
        flex: 0 0 180px;
    }

.notice-list-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 18px;
    border-bottom: 1px solid #dceaf5;
    color: var(--aaub-text);
}

    .notice-list-row:last-child {
        border-bottom: none;
    }

    .notice-list-row:hover b {
        color: var(--aaub-blue);
    }

.notice-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 9px;
    background: var(--aaub-soft);
    color: var(--aaub-blue);
    text-align: center;
}

    .notice-date-box strong {
        font-size: 17px;
        line-height: 1.1;
    }

    .notice-date-box small {
        font-size: 10px;
        text-transform: uppercase;
    }

.notice-list-row .notice-body {
    flex: 1 1 auto;
    min-width: 0;
}

    .notice-list-row .notice-body span {
        display: inline-block;
        margin-bottom: 4px;
        padding: 2px 7px;
        border-radius: 5px;
        background: #e8f4ff;
        color: #6d9ac0;
        font-size: 12px;
    }

    .notice-list-row .notice-body b {
        display: block;
        font-size: 15px;
        font-weight: 600;
        transition: .2s;
    }

.notice-list-row > i {
    flex: 0 0 auto;
    color: #0870dc;
    font-size: 11px;
}


/* =============================================================================
   3. PAGINATION
============================================================================= */
.aaub-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
}

    .aaub-pagination a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border: 1px solid var(--aaub-line);
        border-radius: 8px;
        color: var(--aaub-text);
        font-size: 12.5px;
        text-decoration: none;
    }

        .aaub-pagination a:hover {
            border-color: var(--aaub-blue);
            color: var(--aaub-blue);
        }

        .aaub-pagination a.active {
            border-color: var(--aaub-blue);
            background: var(--aaub-blue);
            color: #fff;
            font-weight: 700;
        }

        .aaub-pagination a.disabled {
            opacity: .4;
            pointer-events: none;
        }


/* =============================================================================
   4. NOTICE DETAILS + PDF VIEWER
============================================================================= */
.notice-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 10px 0 18px;
    font-size: 12px;
    color: var(--muted);
}

    .notice-meta span {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .notice-meta i {
        color: var(--aaub-blue);
    }

.notice-title {
    font-size: 21px;
    font-weight: 800;
    color: var(--aaub-text);
    line-height: 1.4;
}

.pdf-viewer-wrap {
    overflow: hidden;
    border: 1px solid var(--aaub-line);
    border-radius: 9px;
    background: #f3f7fb;
}

.pdf-viewer-wrap iframe {
    display: block;
    width: 100%;
    height: 720px;
    border: 0;
}

.pdf-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--aaub-line);
    background: #fff;
}

    .pdf-toolbar b {
        font-size: 13px;
        color: var(--aaub-text);
    }

.notice-share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

    .notice-share .social-icon {
        width: 36px;
        height: 36px;
    }


/* =============================================================================
   5. FAQ ACCORDION
============================================================================= */
.faq-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

    .faq-category-tabs .btn {
        border-radius: 20px;
        padding: 7px 16px;
        font-size: 12.5px;
    }

.faq-accordion .accordion-item {
    margin-bottom: 10px;
    border: 1px solid var(--aaub-line);
    border-radius: 9px !important;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    gap: 12px;
    padding: 15px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: #333;
    background: #fff;
}

    .faq-accordion .accordion-button:not(.collapsed) {
        color: var(--aaub-blue);
        background: var(--aaub-soft);
        box-shadow: none;
    }

    .faq-accordion .accordion-button:focus {
        box-shadow: none;
        border-color: var(--aaub-line);
    }

    .faq-accordion .accordion-button::after {
        flex-shrink: 0;
        width: 18px;
        height: 18px;
        background-size: 18px;
    }

.faq-accordion .accordion-body {
    padding: 4px 18px 18px 18px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--aaub-text);
}


/* =============================================================================
   6. GUIDELINES CONTENT
============================================================================= */
.guideline-step {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px dashed var(--aaub-line);
}

    .guideline-step:last-child {
        border-bottom: none;
    }

.guideline-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--aaub-soft);
    color: var(--aaub-blue);
    font-weight: 800;
    font-size: 14px;
}

.guideline-step h3 {
    margin: 0 0 5px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--aaub-text);
}

.guideline-step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: #5f7fa0;
}

    .guideline-step p:not(:last-child) {
        margin-bottom: 6px;
    }

.guideline-step ul {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.9;
    color: #5f7fa0;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 9px;
    background: var(--aaub-soft);
}

    .download-card b {
        display: block;
        font-size: 13px;
        color: var(--aaub-text);
    }

    .download-card small {
        display: block;
        margin-top: 2px;
        color: #6794bb;
        font-size: 11px;
    }


/* =============================================================================
   7. RESPONSIVE
============================================================================= */
@media (max-width: 767.98px) {

    .page-banner {
        padding: 26px 0;
    }

    .page-banner h1 {
        font-size: 21px;
    }

    .notice-filter-bar {
        flex-wrap: wrap;
    }

        .notice-filter-bar select {
            flex: 1 1 100%;
        }

    .pdf-viewer-wrap iframe {
        height: 480px;
    }

    .notice-title {
        font-size: 18px;
    }
}

@media (max-width: 575.98px) {

    .notice-list-row {
        gap: 12px;
        padding: 12px;
    }

    .notice-date-box {
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
    }

        .notice-date-box strong {
            font-size: 14px;
        }

    .guideline-step {
        gap: 12px;
    }
}
