/* Background image covers the whole page */
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Remove default margins */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* TOP WHITE BAR */
.top-bar {
    width: 100%;
    height: 60px;
    background-color: white;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
}

/* Search bar */
.search {
    padding: 8px 12px;
    font-size: 16px;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Top-right buttons */
.top-right {
    margin-left: auto; /* pushes buttons to right side */
}

.box {
    display: inline-block;
    background: #007BFF;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    margin-left: 10px;
    font-weight: bold;
}

.box:hover {
    background: #0056b3;
}

/* Center main content */
.main-content {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Big bold heading */
.main-content h1 {
    font-size: 48px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 6px black;
}

.main-content p {
    font-size: 20px;
    color: white;
    text-shadow: 1px 1px 4px black;
}
.city-buttons {
    margin-left: 30px;
    display: flex;
    gap: 10px;
}

.city-btn {
    padding: 6px 12px;
    background-color: #f1f1f1;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #ccc;
}

.city-btn:hover {
    background-color: #007BFF;
    color: white;
    border-color: #007BFF;
}/* ---------- CITY PAGE TOP BAR ---------- */
.city-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
    z-index: 10;
}

/* Brand name */
.brand {
    font-size: 22px;
    font-weight: bold;
    color: #007BFF;
}

/* City name inside top bar */
.city-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* Back button */
.back-btn {
    text-decoration: none;
    font-weight: bold;
    color: #007BFF;
    font-size: 14px;
}

.back-btn:hover {
    text-decoration: underline;
}

/* ---------- CITY PAGE CONTENT ---------- */
.city-page {
    margin-top: 70px; /* below top bar */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 40px;
    gap: 20px;
}

/* Left side content */
.city-content-left {
    flex: 1;
    /* optional: add some placeholder text */
}

/* Right side image */
.city-content-right {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* pushes image to right */
}

.city-image {
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Body background */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #5f72be, #9b6edc);
}

/* Timetable title */
.timetable-title {
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
    text-align: left;
}

/* Timetable table */
.timetable {
    width: 100%;
    border-collapse: collapse;
    color: white;
}

.timetable th,
.timetable td {
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 8px 12px;
    text-align: left;
}

/* Header row style */
.timetable th {
    background-color: rgba(0, 123, 255, 0.8);
    color: white;
    font-weight: bold;
}

/* Row hover effect */
.timetable tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Keep left column at a reasonable width */
.city-content-left {
    flex: 1;
    max-width: 400px; /* prevent table from stretching too wide */
}
/* ===== Signup Page - centered inputs ===== */
.signup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.signup-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    max-width: 380px;       /* smaller width */
    width: 100%;
    color: #333;
    text-align: center;      /* center all text and inputs */
}

.signup-box h2 {
    margin-bottom: 25px;
    font-size: 26px;
}

.signup-box input {
    width: 90%;              /* slightly smaller inputs */
    max-width: 300px;        /* cap max width */
    padding: 12px 15px;
    margin: 10px auto;       /* center inputs */
    display: block;          /* needed for auto margin to work */
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.signup-box button {
    width: 95%;
    max-width: 300px;
    padding: 12px;
    background: #3b82f6;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 10px auto;       /* center button */
    display: block;
}

.signup-box button:hover {
    background: #2563eb;
}
.ticket-btn {
    margin-left: 10px;
    padding: 5px 10px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
}

.ticket-btn:hover {
    background: #2563eb;
}

.login-required {
    margin-left: 10px;
    font-size: 12px;
    color: gray;
}