:root {
    --color-tosca: #20B2AA;
    --color-light-green: #E0F2F1;
    --color-dark-green: #006400;
    --color-white: #ffffff;
    --color-bg: #f4fcf8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: #333;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

#background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.header {
    background: linear-gradient(135deg, var(--color-tosca) 0%, var(--color-dark-green) 100%);
    color: var(--color-white);
    padding: 20px 40px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

#logo-instansi {
    max-height: 80px;
    margin-right: 25px;
    border-radius: 8px;
    background: rgba(255,255,255,0.8);
    padding: 5px;
}

.header-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.header-text h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header-text p {
    font-size: 18px;
    margin-top: 5px;
    font-weight: 300;
}

.header-text h1, .section-title, .agenda-title, .prestasi-title {
    font-family: 'Outfit', sans-serif;
}

.content-container {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    padding: 30px;
    gap: 30px;
    height: calc(100vh - 120px - 60px); /* header and footer heights roughly */
}

.agenda-section, .prestasi-section {
    flex: 1;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 100, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-top: 5px solid var(--color-tosca);
}

.section-title {
    background-color: var(--color-light-green);
    color: var(--color-dark-green);
    padding: 15px 25px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.agenda-list, .prestasi-list {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: var(--color-tosca); 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-dark-green); 
}

.agenda-item {
    background: #fff;
    border-left: 5px solid var(--color-tosca);
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, background 0.3s ease;
}
.agenda-item:hover {
    transform: translateX(5px);
}
.agenda-item.ongoing {
    background: #E8F5E9;
    border-left: 5px solid #4CAF50;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
}
.badge-ongoing {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    margin-left: 10px;
    vertical-align: middle;
}
.ph, .ph-fill {
    margin-right: 6px;
    vertical-align: text-bottom;
}

.agenda-time {
    color: var(--color-dark-green);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}
.agenda-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}
.agenda-location {
    color: #666;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.prestasi-item {
    background: linear-gradient(to right, rgba(144, 238, 144, 0.2), rgba(255, 255, 255, 0));
    border-left: 5px solid var(--color-dark-green);
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 0 8px 8px 0;
}
.prestasi-title {
    color: var(--color-dark-green);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.prestasi-desc {
    color: #444;
    font-size: 16px;
    line-height: 1.5;
}

.running-text-container {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    padding: 15px 0;
    font-size: 22px;
    font-weight: 600;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
}

.running-text marquee {
    padding: 0 20px;
}
