body {
    font-family: Arial, sans-serif;
    background-color: #1e1e1e;
    color: #f1f1f1;
    margin: 0;
    padding: 0;
}

#auth, #videoList {
    text-align: center;
    margin-top: 50px;
}

input[type="password"] {
    padding: 10px;
    font-size: 16px;
    border: 2px solid #444;
    border-radius: 5px;
    background-color: #333;
    color: #f1f1f1;
    width: 200px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #444;
    color: #f1f1f1;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

button:hover {
    background-color: #666;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

#videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.video-item {
    margin: 10px;
    text-align: center;
}

.video-item video {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.video-item button {
    margin-top: 10px;
}

.hidden {
    display: none;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    width: 80%;
    max-width: 900px;
    height: 60%;
    max-height: 600px;
    z-index: 1000;
    position: relative; /* Necessário para posicionar o botão de fechar */
}

.modal video {
    width: 100%;
    height: 100%;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #f1f1f1;
    transition: color 0.3s;
}

.close:hover {
    color: #ff5555;
}

.controls {
    margin-top: 10px;
    text-align: center;
}

.controls button {
    margin: 0 10px;
    padding: 10px;
    background-color: #444;
    border: none;
    border-radius: 5px;
    color: #f1f1f1;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.controls button:hover {
    background-color: #666;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

#creator {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #f1f1f1;
    font-size: 14px;
}
