* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #F5F4F1; 
    color: #333333; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    
    height: 100vh; 
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #EAE8E3;
}

.header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 30px; 
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.header h1 {
    font-size: 1.5rem;
    color: #2c2c2c;
}

button { 
    padding: 10px 18px; 
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none; 
    cursor: pointer; 
    transition: all 0.2s ease;
}

.btn-twitch { background-color: #9146FF; color: white; }
.btn-twitch:hover { background-color: #772CE8; }

.btn-logout { background-color: #E0E0E0; color: #333; }
.btn-logout:hover { background-color: #CCCCCC; }

.btn-play { background-color: #4CAF50; color: white; }
.btn-play:hover { background-color: #43A047; }

.btn-skip { background-color: #F44336; color: white; }
.btn-skip:hover { background-color: #E53935; }

input[type="text"] { 
    width: 100%; 
    padding: 10px 15px; 
    margin-bottom: 15px; 
    border-radius: 6px;
    background: #FAFAFA; 
    border: 1px solid #D0D0D0; 
    color: #333; 
    font-size: 0.95rem;
    transition: border 0.2s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #9146FF;
}

.main-content {
    display: flex;
    flex: 1;
    padding: 20px 30px;
    gap: 25px;
    overflow: hidden;
}

.left-column {
    flex: 6;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.player-wrapper {
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9; 
    width: 100%;
}

.player-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.right-column {
    flex: 4;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

.playlist-controls h3, .queue-container h3 {
    margin-bottom: 15px;
    color: #444;
    font-size: 1.1rem;
    border-bottom: 2px solid #F0F0F0;
    padding-bottom: 8px;
}

.queue-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

ul#request-list {
    list-style-type: none;
    overflow-y: auto;
    padding-right: 5px;
    flex: 1;
}

ul#request-list li {
    background-color: #F8F9FA;
    border: 1px solid #E9ECEF;
    border-left: 4px solid #9146FF;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }