html,
body {
    height: 100%;
    /* full height */
}

body {
    background: #f3f5f6;
    color: #333;
    font-family: "Cairo", sans-serif;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    /* push footer down */
}

input,
select {
    height: 45px;
}

.navbar {
    background: #fff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.btn-accent {
    background: #a48eeb;
    color: #fff;
}

.btn-accent:hover {
    background: #977fe6;
}

.btn-outline-accent {
    color: #977fe6;
    border: 1px solid #977fe6;
    background: transparent;
}

.btn-outline-accent:hover {
    background: #977fe6;
    color: #fff;
}

.hero-section {
    padding: 40px 0;
    background: #fff;
    text-align: center;
    min-height: 250px;
}

.search-box,
.registration-box,
.box-shadow {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.footer-dark {
    background: #525252;
    color: #fff;
    padding-top: 20px;
}

.footer-dark a {
    color: #fff;
    text-decoration: none;
}

footer.footer-dark {
    margin-top: auto;
    /* ensure footer sticks at bottom */
}

.custom-pagination {
    gap: 6px;
}

.custom-page-link {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #977fe6;
    padding: 6px 12px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.custom-page-link:hover {
    background-color: #f3f3f3;
    border-color: #977fe6;
    text-decoration: none;
}

.custom-page-link.active-link {
    background-color: #977fe6;
    color: #ffffff;
    border-color: #977fe6;
}

.custom-page-link.disabled-link {
    color: #ccc;
    border-color: #e0e0e0;
    background-color: #f9f9f9;
    cursor: not-allowed;
}

.terms-section h2 {
    font-size: 2.2rem;
    color: #977fe6;
    font-weight: 700;
}

.terms-section p.sub-title {
    font-size: 1.125rem;
    color: #6c757d;
}

.terms-box {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    line-height: 1.9;
    font-size: 1rem;
}

.terms-box ul {
    padding-right: 1.25rem;
    margin-top: 1rem;
    list-style-type: disc;
}

.terms-box ul li {
    margin-bottom: 1rem;
    padding-right: 0.5rem;
    color: #333;
}

.terms-box p:last-of-type {
    font-weight: 600;
    color: #444;
    text-align: center;
    margin-top: 2rem;
}

.section-title {
    background-color: #ffffff;
    border-right: 5px solid #bfb1ec;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.bg-white {
    background-color: white;
}
