/* global layout: header -> main -> footer */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

html, body {
    height: 100%;
}
body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column; /* stack header, main, footer */
    min-height: 100vh;
    margin: 0;    
}

header {
    background: rgba(255,255,255,0.03);
    padding: 12px 0;
    color: #fff;
    box-shadow:0 2px 0 0 #efefef;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

main {
    flex: 1; /* take remaining vertical space so footer sits at bottom */
    display: flex;
    align-items: center; /* vertical center of main area */
    justify-content: center; /* horizontal center */
    padding: 40px 16px;
}

.card-wrapper {
    width: 100%;
}

footer {
    background:#0e4528;
    color: #fff;
    text-align: center;
    padding: 16px 8px;
}

/* small logo sizing */
.site-logo {
    height: 48px;
    object-fit: contain;
}
            .site-header {
                background: linear-gradient(90deg, #0b57a4 0%, #0d6efd 100%);
                padding: 0.75rem 0;
                color: #fff;
            }
            .header-inner {
                display: flex;
                align-items: center;
                justify-content: space-between;
            }
            .site-logo {
                height: 56px;
                object-fit: contain;
                margin-right: 0.75rem;
            }
            .header-auth { color: #fff; }
    .form-group{
        margin-bottom:0.4rem !important;
    }       
    label{
        color: #13442c !important;
        margin-bottom: 0.2rem !important;
    }
    .form-control{
      border:  1px solid #0e4528;
    }
    .form-control:focus{
        border-color: #0e4528;
        box-shadow: 0 0 0 0.2rem rgba(14, 69, 40, 0.25);
    }
    .header-heading{
        color:#0a380a;
    }
    .btn-primary{
        background-color: #0e4528;
        border-color: #0e4528;
    }
    .btn-primary:hover {
    color: #fff;
    background-color: #52b07e;
    border-color: #52b07e;
}
.btn-link {
    font-weight: 400;
    color: #0e4528;
    text-decoration: underline;
}

/* Pagination improvements (responsive) */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding-left: 0;
    list-style: none;
}
.pagination .page-item {
    margin: 0;
}
.pagination .page-item > .page-link,
.pagination .page-item > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    min-width: auto;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    background: #fff;
    color: #007bff;
    box-sizing: border-box;
    font-size: 14px;
    overflow: hidden;
}
.pagination .page-item > .page-link svg,
.pagination .page-item > span svg {
    display: none !important;
}

.pagination .page-item.active > .page-link,
.pagination .page-item.active > span {
    background: var(--dash-accent, #4e73df);
    color: #fff;
    border-color: var(--dash-accent, #4e73df);
}
.pagination .page-link:focus,
.pagination .page-item > span:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(78,115,223,0.12);
}

@media (max-width: 576px) {
    .pagination {
        gap: 6px;
    }
    .pagination .page-item > .page-link,
    .pagination .page-item > span {
        padding: 8px 10px;
        font-size: 14px;
    }
}

/* Ensure long pagination text (Showing X to Y...) centers and wraps on small screens */
.pagination-info {
    text-align: center;
    width: 100%;
    margin-top: 8px;
    color: #333;
    font-size: 14px;
}

