/* =========================================
   Shared Styles (Live & Offline Pages)
   ========================================= */
body {
    font-family: sans-serif;
    text-align: center;
    background-color: #f4f4f9;
    padding: 20px;
    margin: 0;
}

.card {
    background: white;
    padding: 20px;
    margin: 15px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 400px;
    border-top: 5px solid #3498db;
    color: black;
}

.admin-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.admin-btn:hover { background-color: #2980b9; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,0.15); }
.admin-btn:active { transform: translateY(1px); box-shadow: 0 2px 4px rgba(0,0,0,0.1); }

h1 { font-size: 24px; color: #2c3e50; }

/* =========================================
   Live Page Specifics
   ========================================= */
.big-number { font-size: 80px; font-weight: bold; color: #2c3e50; margin: 10px 0; }
.label { font-size: 18px; color: #7f8c8d; }
.live-badge { background-color: #e74c3c; color: white; padding: 5px 10px; border-radius: 5px; font-size: 12px; font-weight: bold; vertical-align: middle; }
.over-capacity { color: #e74c3c; }

/* =========================================
   Offline Page Specifics
   ========================================= */
.icon { font-size: 64px; margin-bottom: 10px; }
.msg { font-size: 16px; color: #7f8c8d; margin-top: 12px; line-height: 1.6; }
.time-highlight { display: inline-block; background: #3498db; color: white; padding: 4px 12px; border-radius: 20px; font-weight: bold; font-size: 18px; margin: 8px 0; }
.note { font-size: 12px; color: #bdc3c7; margin-top: 18px; }

/* =========================================
   Admin Page Theme & Specifics
   ========================================= */
/* The dark theme overrides the default body style */
body.admin-theme {
    background-color: #2c3e50;
    color: white;
    padding: 40px 20px;
}

.admin-theme h2 { color: white; }

.admin-theme .card {
    padding: 30px;
    margin: 30px auto;
}

/* Admin Form Elements */
input[type="time"], input[type="password"], select {
    padding: 10px; margin: 10px 0; width: 80%; border-radius: 5px; border: 1px solid #ccc;
}

.admin-theme button {
    padding: 10px 20px; background: #3498db; color: white; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; width: 85%; margin-top: 10px;
}

.admin-theme button:hover { background: #2980b9; }

/* Admin Alerts */
.alert { padding: 15px; margin-bottom: 20px; border-radius: 5px; font-weight: bold; }
.alert-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }



/* =========================================
   Link Tree Page Specifics
   ========================================= */
.link-btn {
    display: block;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    margin: 15px auto;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    width: 80%; /* Keeps it centered inside the card */
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.link-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.link-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}