﻿/* ===== FIX BOTTOM PANEL WIDTH ISSUE ===== */

/* Clear floated columns before new sections */
#StudentSection,
#PaymentPanel,
#HostelPaymentPanel,
#DefaultSection,
#ExaminationSection,
#UserSection {
    width: 100%;
    clear: both;
    float: none;
}

    /* Force full width for panels after column layouts */
    #StudentSection .panel,
    #PaymentPanel .panel,
    #HostelPaymentPanel .panel {
        width: 100%;
    }

/* Fix Bootstrap + legacy float conflict */
.col-lg-5,
.col-lg-6,
.col-lg-4,
.col-lg-8 {
    float: left;
}

.row::after,
.contenttop::after {
    content: "";
    display: block;
    clear: both;
}
.notice-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.2s ease-in-out;
}

    .notice-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

.notice-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

    .notice-title a {
        text-decoration: none;
        color: #0d6efd;
    }

        .notice-title a:hover {
            text-decoration: underline;
        }

@media (max-width: 576px) {
    .notice-title {
        font-size: 14px;
    }
}

.notice-card-advanced {
    background: linear-gradient(135deg, #f9fafb, #eef2ff);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}


.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.notice-title-text {
    font-size: 17px;
    font-weight: 600;
    color: #111827;
}

.notice-badge {
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 10px;
}

.notice-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .notice-actions .btn {
        border-radius: 20px;
        padding: 6px 16px;
        font-size: 13px;
    }

@media (max-width: 576px) {
    .notice-title-text {
        font-size: 15px;
    }
}

.college-header {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    padding: 35px 20px;
    border-radius: 14px 14px 0 0;
}

.college-header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.college-logo img {
    width: 90px;
    height: 90px;
    background: #ffffff;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.college-text {
    text-align: left;
}

.college-name {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}

.college-affiliation {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 4px;
}

.college-address {
    font-size: 15px;
    font-weight: 400;
    opacity: 0.85;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .college-header-inner {
        flex-direction: column;
        text-align: center;
    }

    .college-text {
        text-align: center;
    }
}