body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: #0e0e0e;
    margin: 0;
    padding: 0;
    color: #e0e0e0;
}

header {
    background: #1a1a1a;
    color: #ffffff;
    padding: 20px;
}

.header-inner {
    max-width: 970px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1em;
}

.logo {
    height: 40px;
}

header h1 {
    font-size: 2rem;
    margin: 0;
}

a.logo-link {
    display: inline-block;
    height: 50px;
}

main {
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

.tabs {
    margin-bottom: 1.5em;
    text-align: center;
}

.tab {
    display: inline-block;
    margin: 0 6px;
    padding: 8px 16px;
    background: #2a2a2a;
    border-radius: 20px;
    text-decoration: none;
    color: #ccc;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.tab:hover {
    background: #444;
    color: #fff;
}

.tab.active {
    background: #ffffff;
    color: #0e0e0e;
}

.program {
    background: #1c1c1c;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s;
}

.program:hover {
    transform: scale(1.01);
}

.poster {
    flex: 0 0 180px;
    max-width: 180px;
}

.poster img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.info {
    flex: 1;
}

.info h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    color: #9de89d;
}

.info p {
    margin: 5px 0;
    line-height: 1.5;
    color: #ccc;
}

.time-label {
    display: inline-block;
    background: #2f5d2f;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.notice {
    text-align: center;
    font-style: italic;
    color: #999;
    margin-top: 40px;
    font-size: 1.1rem;
}

/* Extra: login/admin forms */
.login-container, .add-form {
    width: 90%;
    max-width: 400px;
    margin: 40px auto;
    background: #1a1a1a;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    border-radius: 8px;
    text-align: left;
}

.login-container h2, .add-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #9de89d;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #d0f0e0;
}

input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="time"], textarea, select {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 4px;
    background: #2a2a2a;
    color: #fff;
    box-sizing: border-box;
}

button {
    background: #4cae4c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
}

button:hover {
    background: #3d8b3d;
}

.success {
    color: #9be2b4;
    font-weight: bold;
    margin-bottom: 10px;
}

.error {
    color: #f08080;
    font-weight: bold;
    margin-bottom: 10px;
}

.list-view table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #1c1c1c;
    border: 1px solid #333;
}

.list-view th, .list-view td {
    padding: 10px 12px;
    border: 1px solid #444;
    text-align: left;
}

.list-view th {
    background-color: #2a2a2a;
    color: #ffffff;
}

.list-view tr:nth-child(even) {
    background-color: #262626;
}

.list-view tr:hover {
    background-color: #333;
}