* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* TV: no scrollbars */
    background: #efefef;
}

hr {
    margin: .5rem 0;
}

.inner {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.img-border {
    height: 10px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    transform: rotate(180deg);
}

header {
    background: #2e3094;
    color: #fff;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
}

header .row {
    padding: 15px 10px 10px 10px;
}

header .u-name {
    margin: 0;
    font-weight: 700;
}

.logo img {
    max-height: 50px;
}

.container-main {
    display: flex;
    height: calc(100% - 85px);
    /* matches header height */
    padding: 10px;
}

/* LEFT: Notices (with continuous vertical scroller) */
.left {
    flex: 5;
    margin-right: 10px;
    background: #fff;
    position: relative;
    overflow: hidden;
    /* hide overflow for scroll */
    font-size: 20px;
    line-height: 1.5;
}

/* viewport area for scrolling (fills the .left box) */
.scroll-viewport {
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0 */
    padding: 10px;
}

/* the element we translate vertically */
.scroll-track {
    will-change: transform;
}

/* a single copy of the notices list */
.notice-list {
    display: block;
}

.left .notice {
    background: #f5f4f4;
    padding: 10px 20px;
    border-radius: 10px;
    margin: 10px;
    border-left: 5px solid #0858a7;
}

/* RIGHT: Video + Carousel */
.right {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video,
.slider {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video>video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider>.carousel,
.slider>.carousel .carousel-inner,
.slider>.carousel .carousel-item {
    width: 100%;
    height: 100%;
}

.slider .carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}







.notice-description table {
    /* Apply Bootstrap table styles */
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
    border-spacing: 0;
}

.notice-description table,
.notice-description th,
.notice-description td {
    border: 1px solid #dee2e6;
}

.notice-description th,
.notice-description td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.notice-description thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
}

.notice-description tbody + tbody {
    border-top: 2px solid #dee2e6;
}

/* Optional: hover effect */
.notice-description tbody tr:hover {
    background-color: #f1f3f5;
}
