/* ===== VARIABLES ===== */
:root {
    --primary-color: #2e7d32;
    --primary-dark: #1b5e20;
    --secondary-color: #43a047;
    --success-color: #2e7d32;
    --warning-color: #f9a825;
    --danger-color: #c62828;
    --light-bg: #f1f8e9;
    --dark: #1b5e20;
    --gray: #4a6350;
    --light-gray: #e8f5e9;
    --white: #ffffff;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    font-size: 0.95rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

/* ===== LAYOUT ===== */
.app-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.container {
    padding: 0 1.5rem;
}

/* ===== TOP BAR ===== */
.top-bar {
    background-color: var(--dark);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.school-info {
    display: flex;
    align-items: center;
}

.school-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.school-name {
    margin-left: 0.5rem;
    font-weight: 500;
}

.current-date {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ===== HEADER ===== */
.main-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--primary-dark);
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgzMCkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.6;
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.header-content h1 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* ===== SEARCH SECTION ===== */
.search-section {
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.search-card {
    border: none;
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.search-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.search-form .input-group {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
}

.search-form .form-select {
    border: none;
    border-right: 1px solid var(--light-gray);
    border-radius: 8px 0 0 8px !important;
    font-size: 0.85rem;
    padding: 0.6rem 0.75rem;
    background-color: #f8f9fa;
    color: var(--gray);
    max-width: 120px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.search-form .form-control {
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background-color: var(--white);
}

.search-form .form-control:focus {
    box-shadow: none;
    background-color: var(--white);
}

.btn-search {
    background-color: var(--primary-dark);
    color: white;
    border: none;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-weight: 500;
}

.btn-search:hover {
    background-color: #1b5e20;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ===== STUDENT CARD ===== */
.student-card {
    border: none;
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.student-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.student-card .card-body {
    padding: 1.5rem;
}

.detail-item {
    margin-bottom: 0.5rem;
}

.detail-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.2rem;
    font-weight: 500;
}

.detail-value {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

/* ===== BADGES ===== */
.badge {
    padding: 0.4em 0.8em;
    border-radius: 50px;
    font-weight: 500;
    text-transform: capitalize;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.bg-success {
    background-color: var(--success-color) !important;
}

.bg-warning {
    background-color: var(--warning-color) !important;
    color: #000;
}

.bg-danger {
    background-color: var(--danger-color) !important;
}

/* ===== SUMMARY CARD ===== */
.summary-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 500;
    color: var(--gray);
}

.summary-amount {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== BILLS LIST ===== */
#billsList {
    margin-top: 2rem;
}

#billsList h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
    display: flex;
    align-items: center;
}

#billsList h3 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.bill-item {
    background: var(--white);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.bill-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.bill-info {
    flex: 1;
    min-width: 200px;
}

.bill-title {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.bill-title i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-size: 0.9em;
}

.bill-desc {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.bill-amount {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    white-space: nowrap;
    margin-left: 1rem;
}

.bill-due {
    font-size: 0.8rem;
    color: var(--danger-color);
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.bill-due i {
    margin-right: 0.25rem;
    font-size: 0.7em;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn i {
    margin-right: 0.5rem;
    font-size: 0.9em;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ===== LOADING STATE ===== */
#loading {
    padding: 3rem 0;
    text-align: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.25em;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
.main-footer {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #303f9f 100%);
    color: white;
    padding: 5rem 0 1.5rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
    font-family: 'Poppins', sans-serif;
}

.main-footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.main-footer a:hover {
    color: white;
    text-decoration: none;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), #00bcd4, #9c27b0);
    background-size: 200% 100%;
    animation: gradientBG 8s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.footer-title {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #00bcd4);
    border-radius: 3px;
}

.main-footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    max-width: 500px;
}

.contact-info {
    margin: 2rem 0;
}

.contact-info i {
    width: 20px;
    color: var(--primary-color);
    margin-right: 10px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin: 2rem 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), #00bcd4);
    z-index: -1;
    transform: scale(0);
    transition: transform 0.3s ease;
    opacity: 0.9;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link i {
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2);
}

.copyright {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.copyright a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.copyright a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.copyright a:hover {
    color: white;
}

.copyright a:hover::after {
    width: 100%;
}

/* Responsive adjustments for footer */
@media (max-width: 992px) {
    .main-footer {
        padding: 4rem 0 1.5rem;
    }
    
    .footer-title {
        margin-top: 1.5rem;
    }
    
    .social-links {
        margin-top: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-footer {
        text-align: center;
    }
    
    .footer-links {
        margin-bottom: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info p {
        text-align: center;
    }
    
    .contact-info i {
        display: none;
    }
    
    .copyright {
        margin-top: 2rem;
    }
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 0.7em;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* ===== FOOTER STYLES ===== */
.main-footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgzMCkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.1;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-size: 1.1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: block;
    padding: 0.25rem 0;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
    text-decoration: none;
}

.footer-links i {
    margin-right: 8px;
    font-size: 0.7rem;
    transition: var(--transition);
}

.footer-links a:hover i {
    color: var(--warning-color);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info i {
    margin-right: 10px;
    margin-top: 3px;
    color: white;
    min-width: 16px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.copyright a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.copyright a:hover {
    color: white;
    text-decoration: none;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .header-content .lead {
        font-size: 1rem;
    }
    
    .search-section {
        margin-top: -1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .main-header {
        padding: 2.5rem 0;
    }
    
    .header-content h1 {
        font-size: 1.75rem;
    }
    
    .search-form .input-group {
        flex-direction: column;
    }
    
    .search-form .form-select,
    .search-form .form-control,
    .search-form .btn-search {
        width: 100%;
        border-radius: 8px !important;
        margin-bottom: 0.5rem;
    }
    
    .search-form .form-select {
        border-right: 1px solid var(--light-gray);
        border-radius: 8px 8px 0 0 !important;
    }
    
    .search-form .form-control {
        border-radius: 0 !important;
        border-left: 1px solid var(--light-gray);
    }
    
    .search-form .btn-search {
        border-radius: 0 0 8px 8px !important;
        margin-top: 0;
    }
    
    .bill-item {
        flex-direction: column;
        text-align: center;
    }
    
    .bill-amount {
        margin: 1rem 0 0;
        text-align: center;
        width: 100%;
    }
    
    .main-footer .row > div {
        margin-bottom: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .main-footer .text-md-end {
        text-align: left !important;
    }
}

@media (max-width: 576px) {
    .header-content h1 {
        font-size: 1.5rem;
    }
    
    .header-content .lead {
        font-size: 0.95rem;
    }
    
    .detail-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .bill-actions {
        width: 100%;
        margin-top: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate__animated.animate__fadeIn {
    animation: fadeIn 0.5s ease-out forwards;
}

/* ===== MODAL STYLES ===== */
.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
    padding: 1.25rem 1.5rem;
}

.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--light-gray);
    padding: 1rem 1.5rem;
}

.btn-close {
    filter: invert(1) brightness(100%);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

.bill-item:hover {
    transform: translateX(5px);
}

.bill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.bill-title {
    font-weight: 600;
    margin: 0;
    color: #2b2d42;
}

.bill-amount {
    font-weight: 700;
    color: #2b2d42;
}

.bill-details {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.progress {
    height: 6px;
    border-radius: 3px;
    margin: 0.5rem 0;
}

.payment-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #6c757d;
}

/* Payment History */
.payment-history {
    margin-top: 1rem;
    border-top: 1px dashed #dee2e6;
    padding-top: 1rem;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f1f1;
}

.payment-item:last-child {
    border-bottom: none;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .app-container {
        border-radius: 0;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .bill-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .bill-amount {
        align-self: flex-start;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

/* ===== SUGGESTIONS ===== */
.suggestions-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 0.25rem;
    display: none;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f1f1;
    font-size: 0.95rem;
    color: var(--gray);
}

.suggestion-item:last-child {
    border-bottom: none;
    border-radius: 0 0 0.5rem 0.5rem;
}

.suggestion-item:first-child {
    border-radius: 0.5rem 0.5rem 0 0;
}

.suggestion-item:hover, 
.suggestion-item.active {
    background-color: var(--light-bg);
    color: var(--primary-dark);
}

.suggestion-item .student-name {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.suggestion-item .student-details {
    display: flex;
    font-size: 0.85rem;
    color: var(--gray);
}

.suggestion-item .student-details span {
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.suggestion-item .student-details i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-size: 0.9em;
}

/* Search input group */
.search-form .input-group {
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

.search-form .form-select {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: white;
}

.search-form .form-control {
    border-left: none;
    border-right: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    height: auto;
}

.search-form .btn-search {
    padding: 0 1.25rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.2s ease;
}

.search-form .btn-search:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .search-form .input-group {
        flex-direction: column;
    }
    
    .search-form .form-select,
    .search-form .form-control,
    .search-form .btn-search {
        border-radius: 0.5rem !important;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .suggestions-container {
        position: static;
        margin-top: 0.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
