/*
************************ Student Progress Dashboard ***********
 */
#phd-progress-dashboard-single .ta-profile-photo {
    width: 200px; /* pick a default size */
    overflow: hidden;
    aspect-ratio: 1 / 1; /* keeps it square */
    border-radius: 20px;
    flex: 0 0 auto; /* ✅ don’t grow or shrink in flex layouts */
    align-self: flex-start; /* ✅ override parent stretch */
}

@media screen and (max-width: 400px) {
    #phd-progress-dashboard-single .ta-profile-photo {
        width: 150px;
    }
}

#phd-progress-dashboard-single .card {
    overflow: hidden;
    border: 1px solid rgba(112, 112, 112, 0.40);
    border-radius: 16px;
    padding: 15px 8px 10px;
}

#phd-progress-dashboard-single .modules-enrolled {
    grid-template-columns: repeat(auto-fill, minmax(100px, 250px));
    justify-content: start;
    gap: 10px;
}

#phd-progress-dashboard-single .modules-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem; /* space between cards */
}

#phd-progress-dashboard-single .modules-column {
    display: flex;
    flex-direction: row;
    @media screen and (max-width: 1600px) {
        flex-direction: column;
    }
    @media screen and (min-width: 992px) {
        align-self: start;
    }
}

#phd-progress-dashboard-single .key-milestones {
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 300px));
    justify-content: start;
    gap: 6px;
}

#phd-progress-dashboard-single .toggle-arrow {
    transition: transform 0.3s ease;
}

#phd-progress-dashboard-single a[aria-expanded="true"] .toggle-arrow {
    transform: rotate(180deg);
}

/* Compact tabs */
#thesis-advisor-portal-students .nav-link {
    padding: .55rem .8rem;
    font-size: .95rem;
    font-weight: 600;
    color: #495057; /* inactive: neutral */
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-bottom: 0;
    border-radius: .4rem .4rem 0 0;
    line-height: 1.2;
}
#thesis-advisor-portal-students .nav-link:hover {
    color: #212529;
    background-color: #f1f3f5;
}
#thesis-advisor-portal-students .nav-link.active {
    color: #0d6efd; /* only active uses blue */
    background-color: #fff;
    border-color: #dee2e6;
    box-shadow: inset 0 -2px 0 #0d6efd; /* thinner accent */
}

/* Animated gradient */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* HERO that morphs from fullscreen -> banner */
.sps-hero-wrap {
    background: linear-gradient(-45deg, #3b82f6, #9333ea, #10b981, #f59e0b);
    background-size: 400% 400%;
    animation: gradientFlow 12s ease infinite;
    position: relative;

    /* fullscreen fit without causing page scroll */
    min-height: 600px;
    padding-top: 250px;

    display: flex;
    transition: min-height .6s ease, padding .6s ease, background-position .6s ease;
    /* Extra-tight on small screens */
    @media (max-width: 768px) {
        min-height: 700px;
        padding-top: 150px;
    }
}
/* Subtle dark overlay for readability */
.sps-hero-wrap::after {
    content: "";
    position: absolute;
    inset: 0;

    pointer-events: none;
}
.sps-hero-inner {
    position: relative;
    text-align: center; /* centered by default */
    margin: 0 auto;
}
.sps-hero-title {
    margin: 0 0 8px;
    font-size: 2.3rem;
    line-height: 1.25;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    color: white;
}
.sps-hero-caption {
    margin: 0 0 14px;
    font-size: 1.05rem;
    color: #f9fafb;
    opacity: 0.95;
}

/* Search bar (shared) */
.sps-searchbar {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px; /* tighter padding */
    margin: 0 auto;
    max-width: 680px;
    width: 92%;
    transition: justify-content .3s ease, margin .3s ease;
}
.sps-searchbar input[type="text"] {
    flex: 1 1 280px;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 10px;
    border-radius: 8px;
    min-width: 0;
}
.sps-searchbar button {
    border: 0;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    background: #2563eb;
    color: #fff;
}

/* When ACTIVE (after search): hero collapses to banner and aligns left */
.sps-root.sps-active .sps-hero-wrap {
    min-height: 240px; /* banner height */
    max-height: 240px;
    padding-top: 50px; /* banner padding */
    animation-duration: 18s; /* calmer flow when active */
    /* Extra-tight on small screens */
    @media (max-width: 768px) {
        min-height: 350px;
    }
}
.sps-root.sps-active .sps-hero-inner {
    text-align: left;
    margin: 0;
}
.sps-root.sps-active .sps-hero-title {
    font-size: 2rem;
}
.sps-root.sps-active .sps-hero-caption {
    max-width: 700px;
}
.sps-root.sps-active .sps-hero-inner .sps-searchbar {
    justify-content: flex-start; /* left align after collapse */
    margin-left: 0;
    margin-right: auto;
}

/* RESULTS AREA (hidden until active) */
.sps-content {
    display: none;
}
.sps-root.sps-active .sps-content {
    display: block;
    position: relative
}

/*
************************ Student Admin Portal ***********
 */
#student-admin-dashboard .student-admin-toolbar {
    display: flex;
    gap: 16px;
    align-items: end;
    margin: 22px 0 14px;
    flex-wrap: wrap;
}

#student-admin-dashboard .student-admin-search {
    flex: 1 1 320px;
}

#student-admin-dashboard .student-admin-filter {
    flex: 0 1 220px;
}

#student-admin-dashboard .student-admin-per-page {
    flex: 0 0 120px;
}

#student-admin-dashboard .student-admin-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #4f6780;
    margin-bottom: 6px;
}

#student-admin-dashboard .student-admin-top-actions {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 18px 0 18px;
}

#student-admin-dashboard .student-admin-public-link-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#student-admin-dashboard .student-admin-public-btn {
    max-width: 220px;
}

#student-admin-dashboard .student-admin-top-note {
    color: #4a6075;
    font-size: 13px;
    max-width: 760px;
}

#student-admin-dashboard .student-admin-scope-note {
    margin: 0 0 18px;
    color: #4a6075;
    font-size: 13px;
}

#student-admin-dashboard .student-admin-note {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f6f9fc;
    border: 1px solid #dbe7f1;
    color: #4a6075;
    font-size: 13px;
}

#student-admin-dashboard .student-admin-table-shell {
    overflow-x: auto;
}

#student-admin-dashboard .student-admin-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 220px;
}

#student-admin-dashboard .student-admin-name strong {
    color: #12395b;
}

#student-admin-dashboard .student-admin-subtext {
    font-size: 12px;
    color: #667c90;
}

#student-admin-dashboard .student-admin-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    white-space: nowrap;
}

#student-admin-dashboard .student-admin-pill.is-visible {
    background: #e6f4ea;
    color: #17633a;
}

#student-admin-dashboard .student-admin-pill.is-hidden {
    background: #f4e9e9;
    color: #8e2d2d;
}

#student-admin-dashboard .student-admin-actions {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 56px;
    white-space: nowrap;
}

#student-admin-dashboard .student-admin-actions .custom-btn {
    min-width: 0;
    white-space: nowrap;
}

#student-admin-dashboard .student-admin-actions .student-admin-icon-btn {
    width: auto;
    height: auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
}

#student-admin-dashboard .student-admin-actions .custom-btn[aria-disabled="true"] {
    opacity: .55;
    pointer-events: none;
}

#student-admin-dashboard .student-admin-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    border: 1px dashed #d7e1ea;
    border-radius: 14px;
    background: #fafcfe;
    color: #5d7387;
}

#student-admin-dashboard .student-admin-footer {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    flex-wrap: wrap;
}

#student-admin-dashboard .student-admin-results-meta {
    color: #4c647a;
    font-size: 13px;
}

#student-admin-dashboard .student-admin-pagination {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

#student-admin-dashboard .student-admin-pagination button {
    border: 1px solid #c8d8e6;
    background: #fff;
    color: #0f4572;
    min-width: 38px;
    height: 38px;
    border-radius: 10px;
    padding: 0 12px;
    font-weight: 700;
}

#student-admin-dashboard .student-admin-pagination button.is-active {
    background: #0f5d96;
    border-color: #0f5d96;
    color: #fff;
}

#student-admin-dashboard .student-admin-pagination button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

@media (max-width: 767.98px) {
    #student-admin-dashboard .student-admin-top-actions {
        align-items: flex-start;
    }

    #student-admin-dashboard .student-admin-toolbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 12px;
        align-items: start;
    }

    #student-admin-dashboard .student-admin-search {
        grid-column: 1 / -1;
        min-width: 0;
    }

    #student-admin-dashboard .student-admin-filter,
    #student-admin-dashboard .student-admin-per-page {
        min-width: 0;
        flex: initial;
    }

    #student-admin-dashboard .student-admin-per-page {
        justify-self: stretch;
    }

    #student-admin-dashboard .student-admin-label {
        margin-bottom: 4px;
    }

    #student-admin-dashboard .student-admin-toolbar .form-control,
    #student-admin-dashboard .student-admin-toolbar .form-select {
        width: 100%;
    }

    #student-admin-dashboard .student-admin-actions {
        gap: 6px;
    }

    #student-admin-dashboard .student-admin-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 479.98px) {
    #student-admin-dashboard .student-admin-toolbar {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    #student-admin-dashboard .student-admin-search,
    #student-admin-dashboard .student-admin-filter,
    #student-admin-dashboard .student-admin-per-page {
        grid-column: auto;
    }
}

/* Results responsive grid */
.sps-results {
    margin-top: 10px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.sps-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: box-shadow .15s ease, transform .15s ease;
}
.sps-card:hover {
    box-shadow: 0 10px 18px rgba(0, 0, 0, .06);
    transform: translateY(-1px);
}
.sps-photo {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f3f4f6;
}
.sps-meta {
    min-width: 0;
}
.sps-name {
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sps-id {
    margin: 2px 0;
    color: #6b7280;
    font-size: 0.92rem;
}
.sps-email {
    color: #374151;
    font-size: 0.85rem;
    word-break: break-all;
}
.sps-link {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #dbe2f0;
    padding: 6px 12px;
    border-radius: 10px;
    transition: background .15s ease;
}
.sps-link:hover {
    background: #f3f6ff;
}

/* Extra-tight on small screens */
@media (max-width: 576px) {
    #thesis-advisor-portal-students .nav-link {
        padding: .45rem .6rem;
        font-size: .9rem;
    }
}
/*
************************ Custom Search ************************
*/
.event-list-swiper .swiper-slide {
    height: auto !important; /* Make sure all slides stretch to the same height */
}
.event-list-swiper .swiper-slide a {
    display: flex !important;
}
.glowing-orange {
    box-shadow: 0 0 20px rgba(239, 124, 0, 0.5); /* Initial glow around edges using #ef7c00 */
    animation: glowing-orange 2s infinite alternate; /* Apply the animation */
}

/* Define the animation using keyframes */
@keyframes glowing-orange {
    0% {
        box-shadow: 0 0 5px rgba(239, 124, 0, 0.5); /* Start with a small glow */
    }
    50% {
        box-shadow: 0 0 10px rgba(239, 124, 0, 0.7); /* Medium glow */
    }
    100% {
        box-shadow: 0 0 15px rgba(239, 124, 0, 1); /* Strongest glow */
    }
}
.news-list-wrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 5px;
    width: 100%;
    max-width: 100%;
    margin-top: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
}
@media only screen and (min-width: 700px) and (max-width: 1400px) {
    .news-list-wrapper {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }

    .news-list-wrapper .headline-img {
        min-height: 250px;
        max-height: 300px;
    }
}

.newsfeed-page .news-list-wrapper .headline-img,
.newsfeed-page .news-list-wrapper .nf-card__imagewrap {
    min-height: unset !important;
    max-height: unset !important;
}
@media only screen and (min-width: 1400px) {
    .news-list-wrapper {
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 10px;
    }

    .news-list-wrapper .headline-img {
        min-height: 250px;
        max-height: 350px;
    }
}

.card-list-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(300px, 1fr));
    grid-gap: 20px;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* Student portal resources list */
#student_policy_hits.card-list-wrapper {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    grid-gap: 16px;
}
@media (max-width: 1400px) {
    #student_policy_hits.card-list-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 960px) {
    #student_policy_hits.card-list-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 520px) {
    #student_policy_hits.card-list-wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}
@media (max-width: 450px) {
    .card-list-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media only screen and (min-width: 450px) and (max-width: 960px) {
    .card-list-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (min-width: 960px) and (max-width: 1400px) {
    .card-list-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

#student_portal_page .student-portal-wave {
    display: inline-block;
    margin: 0 0.15em;
    transform-origin: 70% 70%;
    animation: student-portal-wave-enter 0.9s ease-out 0.1s both, student-portal-wave-loop 1.8s ease-in-out 1.2s 2;
}

@keyframes student-portal-wave-enter {
    0% {
        opacity: 0;
        transform: translateY(6px) rotate(0deg) scale(0.85);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

@keyframes student-portal-wave-loop {
    0%,
    100% {
        transform: rotate(0deg);
    }
    15% {
        transform: rotate(16deg);
    }
    30% {
        transform: rotate(-10deg);
    }
    45% {
        transform: rotate(14deg);
    }
    60% {
        transform: rotate(-6deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.card-list-masonry-wrapper {
    -moz-column-gap: 20px;
    column-gap: 20px;
    -moz-column-fill: balance;
    column-fill: balance;
    margin: 20px auto 0;
    padding: 2rem;
    -moz-column-count: 1;
    column-count: 1;
    @media only screen and (min-width: 650px) and (max-width: 1200px) {
        -moz-column-count: 2;
        column-count: 2;
    }
    @media only screen and (min-width: 1200px) and (max-width: 1400px) {
        -moz-column-count: 3;
        column-count: 3;
    }
    @media only screen and (min-width: 1400px) {
        -moz-column-count: 4;
        column-count: 4;
    }

}

.admin-page-wrapper {
    background-color: var(--color-lightgray);
    margin: 0 auto;
    height: 100%;
    min-height: 50vh;
    padding: 60px 1.5rem;
}

@media (max-width: 1000px) {
    .admin-page-wrapper {
        padding: 40px 1rem;
    }

    .admin-page-wrapper .container {
        padding: 0;
    !important;
        border-width: 0;
    !important;
    }

}

.admin-page-card {
    padding: 2rem;
    border-radius: 20px;
    background-color: #fff;
    border: 1px solid var(--color-dimgray-200);
    overflow-x: auto;
}

@media (max-width: 650px) {
    .admin-page-card {
        padding: 24px 12px;
    }
}

.admin-page-card-title {
    font-weight: 700;
    font-size: 1.5rem;
    width: 100%;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-dimgray-200);
}

.admin-page-card-subtitle {
    font-weight: 400;
    font-size: 14px;
    width: inherit;
    padding: 24px 0;
    color: #707070
}

.admin-page-button-holders {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    width: 100%;
    flex-wrap: wrap;
}

/*
************************ Page Generator Admin ************************
*/
.page-generator-admin-card {
    background:
        radial-gradient(circle at top right, rgba(17, 90, 166, 0.06), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 22px 44px rgba(12, 45, 90, 0.08);
}

.page-generator-admin-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(17, 90, 166, 0.12);
}

.page-generator-admin-title {
    border-bottom: none;
    padding-bottom: 0;
    font-size: clamp(1.6rem, 2vw, 2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0c2d5a;
}

.page-generator-admin-subtitle {
    max-width: 680px;
    padding: 10px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: #5b6f86;
}

.page-generator-admin-actions {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-shrink: 0;
}

.page-generator-create-btn {
    gap: 10px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(17, 90, 166, 0.18);
    cursor: pointer;
}

.page-generator-create-btn svg {
    flex-shrink: 0;
}

.page-generator-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.page-generator-search {
    width: min(440px, 100%);
    height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(17, 90, 166, 0.16);
    background: #f7fbff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.page-generator-search svg {
    color: #6f8db1;
    flex-shrink: 0;
}

.page-generator-search input {
    background: transparent;
}

.page-generator-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(17, 90, 166, 0.12);
    background: linear-gradient(180deg, #f8fbff 0%, #f2f8ff 100%);
    color: #43617d;
    font-size: 14px;
    line-height: 1.6;
}

.page-generator-note-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(17, 90, 166, 0.1);
    color: #115aa6;
}

#page-generator-dashboard .table-wrapper {
    border: 1px solid rgba(17, 90, 166, 0.1);
    border-radius: 18px;
    background: #fff;
    overflow-x: auto;
    overflow-y: hidden;
}

#page-generator-dashboard .custom-dashboard-table {
    margin-bottom: 0;
}

#page-generator-dashboard .custom-dashboard-table th {
    background: #0d4b90 !important;
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

#page-generator-dashboard .custom-dashboard-table td {
    padding-top: 16px;
    padding-bottom: 16px;
    vertical-align: middle;
}

#page-generator-dashboard .custom-dashboard-table tr:nth-child(even) td {
    background: #f8fbff !important;
}

#page-generator-dashboard .custom-dashboard-table a {
    font-weight: 600;
    text-decoration: none;
}

#page-generator-dashboard .custom-dashboard-table a:hover {
    color: #0b4a8f;
}

#page-generator-dashboard .dashboard-sync-status {
    line-height: 1.4;
}

.page-generator-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding: 18px 4px 0;
    border-top: 1px solid rgba(17, 90, 166, 0.12);
}

.page-generator-pagination-summary {
    font-size: 14px;
    color: #5b6f86;
}

.page-generator-pagination-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-generator-page-btn {
    min-width: 106px;
    min-height: 40px;
    border-radius: 999px;
    padding: 0 16px;
}

.page-generator-page-btn[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.page-generator-page-indicator {
    min-width: 112px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #0c2d5a;
}

.page-generator-empty-state {
    min-height: 400px;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.page-generator-empty-state__inner {
    width: min(440px, 100%);
    text-align: center;
    padding: 32px 28px;
    border-radius: 20px;
    border: 1px dashed rgba(17, 90, 166, 0.18);
    background: linear-gradient(180deg, #fbfdff 0%, #f4f9ff 100%);
    color: #5b6f86;
}

.page-generator-empty-state__inner svg {
    margin-bottom: 18px;
}

.page-generator-empty-state__title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0c2d5a;
}

.page-generator-empty-state__body {
    margin: 0;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .page-generator-admin-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .page-generator-admin-actions {
        justify-content: flex-start;
    }

    .page-generator-toolbar,
    .page-generator-pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .page-generator-search {
        width: 100%;
    }

    .page-generator-pagination-summary,
    .page-generator-page-indicator {
        text-align: center;
    }

    .page-generator-pagination-controls {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 650px) {
    .page-generator-create-btn {
        width: 100%;
    }

    .page-generator-note {
        padding: 12px 14px;
    }

    .page-generator-empty-state {
        min-height: 320px;
        padding: 12px 0;
    }

    .page-generator-empty-state__inner {
        padding: 24px 18px;
        border-radius: 18px;
    }
}
/*
************************ Scholarship Page ************************
*/
.browse-list-banner {
    width: 100%;
    display: flex;
    color: white;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem min(100px, 5%);
    position: relative;
}

.browse-list-banner-previous,
.browse-list-banner-next {
    width: 35%;
}

.browse-list-banner #all {
    max-width: 400px;
    width: 30%;
    padding: 0 10px;
}

.browse-list-banner #prev-icon,
.browse-list-banner #next-icon {
    display: none;
}
@media (max-width: 650px) {
    .browse-list-banner #prev,
    .browse-list-banner #next {
        display: none;
    }

    .browse-list-banner #prev-icon,
    .browse-list-banner #next-icon {
        display: inline-block;
    }

    .browse-list-banner #all {
        width: 90% !important;
        padding: 20px 0 !important;
    }

    .browse-list-banner-previous,
    .browse-list-banner-next {
        width: 5%;
    !important;
    }

    .browse-list-banner #all h5 {
        font-size: 1rem;
    }
}

.details-page-wrapper {
    padding: 60px 15%;
    display: flex;
    justify-content: center;
    position: relative;
}

.details-page {
    width: 100%;
    max-width: var(--max-page-width);
    gap: 24px;
    display: flex;
    flex-direction: column;
    color: var(--color-dimgray-100)
}

.details-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-darkslategray);
    overflow-wrap: break-word;

}

.ta-single-profile-name {
    font-size: 1.4rem;
    line-height: 1.2;
    color: var(--color-darkslategray);
}

.details-page-section {
    display: flex;
    padding: 2rem;
    width: 100%;
    border-radius: 10px;
    flex-wrap: wrap;
}
#programme-details-page .details-page-section:nth-child(even),
#scholarship-details-page .details-page-section:nth-child(even) {
    background: var(--color-whitesmoke);
}

#vertical-table th {
    min-width: 100px;
    width: 20%;
    background-color: var(--color-gray-table);
    border: 1px solid var(--color-dimgray-200);
    color: var(--color-darkslategray);
    display: table-cell;
    vertical-align: middle;
}

#vertical-table td {
    color: var(--color-dimgray-100);
    border: 1px solid var(--color-dimgray-200);
}

.details-page-section-head {
    width: 25%;
    padding-right: 5%;
    overflow-wrap: break-word;
    font-weight: 600;
    font-size: 18px;
    color: var(--color-darkslategray);
}

.details-page-section-body {
    width: 75%;
    overflow-x: auto;
}

.details-page-section-body p {
    word-break: break-word;
}

.details-page-section-body .bold {
    font-weight: 600;
    color: var(--color-darkslategray);
}

.banner-img-container {
    aspect-ratio: 1280 / 400;
}

@media (max-width: 800px) {
    .details-page-title {
        font-size: 1.5rem;
    }

    .ta-single-profile-name {
        font-size: 1.2rem;
        line-height: 1.2;
    }

    .details-page-wrapper {
        padding: 54px 5%;
    }

    .details-page-section {
        padding: 1rem;
        width: 100% !important;
    }

    .details-page-section-head {
        margin-bottom: 1.5rem;
    }

    .details-page-section-head,
    .details-page-section-body {
        width: 100% !important;
        max-width: 100%;
    }
}

