/* --- DARK MODE THEME --- */
:root {
    --bg-color: #0d0d0d;
    --card-bg: #1a1a1a;
    --text-color: #e0e0e0;
    --accent: #007BFF;
    --accent-hover: #0056b3;
}

body {
    font-family: Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* --- HEADER / LOGO --- */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: #111;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    flex-wrap: wrap;
}

header h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-color);
}

.logo {
    height: 50px;
    width: auto;
}

.logo.small {
    height: 40px;
}

/* --- MAIN CONTAINER --- */
.container {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    width: 90%;
    max-width: 500px;
    text-align: center;
    margin-top: 40px;
}

button, .back-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

button:hover, .back-btn:hover {
    background: var(--accent-hover);
}

input[type="file"] {
    margin: 10px 0;
    color: var(--text-color);
}

a {
    color: var(--accent);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* --- VIDEO PAGE --- */
.view-page {
    background: black;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.video-header {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.6);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    z-index: 10;
}

.view-page video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: black;
}

.overlay {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10;
}

.back-btn {
    position: fixed; /* Makes the element stay in place even when scrolling */
    top: 0;          /* Positions the element at the very top of the viewport */
    left: 0;         /* Positions the element at the very left of the viewport */
    background: rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
}
