:root {
    --bg-dark: #121212;
    --bg-panel: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --accent: #00e676; /* Green */
    --danger: #ff1744;
    --border: #333333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================
   Highlight Badges & Text Formatting
========================================== */
.arr-time {
    color: #ffb300; /* Warm Amber for Arrival */
    font-weight: bold;
}

.dep-time {
    color: var(--accent); /* Bright Green for Departure */
    font-weight: bold;
    font-size: 1.1em;
}

.ctb-highlight {
    background-color: rgba(255, 82, 82, 0.15);
    color: #ff5252; /* Bright Red */
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #ff5252;
    font-weight: bold;
    font-size: 0.9em;
    display: inline-block;
}

.pvt-highlight {
    background-color: rgba(68, 138, 255, 0.15);
    color: #448aff; /* Bright Blue */
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #448aff;
    font-weight: bold;
    font-size: 0.9em;
    display: inline-block;
}

.luxury-text {
    color: #18ffff; /* Neon Cyan (Dark-theme supported blue) */
    font-weight: bold;
    text-shadow: 0 0 8px rgba(24, 255, 255, 0.4);
}

/* ==========================================
   Clock Display
========================================== */
.clock-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align right on desktop */
    line-height: 1.1;
}

#clock-time {
    font-size: 2.2em; 
    color: var(--accent); /* Green */
    font-weight: 900; 
    letter-spacing: 2px;
}

#clock-date {
    font-size: 1.1em;
    color: #ffb300; /* Amber / Yellow */
    font-weight: bold;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .clock-display {
        align-items: center; /* Center on mobile */
    }
}

/* ==========================================
   Layouts & Tables
========================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-panel);
    border-radius: 8px;
    border-bottom: 3px solid var(--accent);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border-bottom: 1px solid var(--border);
    text-align: left;
}

th {
    color: var(--text-secondary);
    text-transform: uppercase;
}

tr:hover {
    background: #252525;
}

/* ==========================================
   Admin Controls
========================================== */
input[type="file"] {
    color: var(--accent);
    background: var(--bg-dark);
    padding: 10px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

button {
    padding: 8px 15px;
    border: none;
    background: var(--accent);
    color: #000;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
}

button:hover { opacity: 0.8; }
button.danger { background: var(--danger); color: white; }

input.edit-input {
    background: var(--bg-dark);
    color: var(--accent);
    border: 1px solid var(--border);
    padding: 8px;
    width: 100%;
    border-radius: 4px;
}

/* Login Box */
#login-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
}

.login-box {
    background: var(--bg-panel);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    text-align: center;
    width: 350px;
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin: 10px 0 20px 0;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    color: var(--text-primary);
    border-radius: 4px;
}

.login-box button { width: 100%; padding: 12px; }

/* Mobile Cards */
.mobile-card {
    background: var(--bg-panel);
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid var(--accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.mobile-card p { margin: 8px 0; font-size: 1.1em; }