body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.player-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
video {
    width: 100%;
    height: auto;
    display: block;
}
.header {
    width: 100%;
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.back-link {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}
.back-link:hover {
    text-decoration: underline;
}
#auth-status {
    float: right;
    margin-top: 10px;
    margin-right: 20px;
}

.debug-panel {
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
    background-color: #2b2b2b;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
}

.debug-panel.hidden {
    display: none;
}

.button-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.toggle-btn {
    background-color: #2b2b2b;
    color: #aaaaaa;
    border: 1px solid #444444;
    padding: 6px 12px;
    font-size: 12px;
    font-family: monospace, Arial, sans-serif;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.toggle-btn:hover {
    background-color: #3b3b3b;
    color: #ffffff;
}

.video-title {
    color: #888888;
    font-size: 14px;
    font-family: monospace, Arial, sans-serif;
    margin-top: 10px;
    margin-bottom: 5px;
    width: 100%;
    max-width: 800px;
    text-align: left;
}

.debug-panel h3 {
    margin-top: 0;
    color: #4CAF50;
    font-size: 16px;
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
}

.debug-logs {
    max-height: 200px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 12px;
    color: #00FF00;
    line-height: 1.5;
}

