body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #f0f0f0;
}

.centered-container {
    max-width: 300px;
    margin: 100px auto;
    padding: 20px;
    background-color: #222;
    border-radius: 8px;
    box-shadow: 0 0 10px #000;
    text-align: center;
}

input[type='password'], input[type='file'] {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    border-radius: 4px;
    border: none;
    font-size: 16px;
}

button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

#error-message {
    color: red;
}

#content-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

#tracks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.track-item {
    background-color: #333;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 6px;
    min-width: 160px;
    text-align: center;
    transition: background-color 0.2s ease;
}

.track-item:hover {
    background-color: #555;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(18, 18, 18, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: #222;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 15px #000;
}

/* Improved styling for track setup text inside popup */
#track-setup {
    white-space: pre-line;  /* preserve line breaks */
    line-height: 1.6;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #ccc;
    margin-top: 10px;
}

/* Differentiate the section headings with bold and color */
#track-setup strong {
    color: #f0f0f0;
    font-weight: bold;
}

/* Add some spacing above and below headings */
#track-setup p {
    margin: 12px 0 4px 0;
}

.close-btn {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #f0f0f0;
}

.close-btn:hover {
    color: #ff5252;
}

.error-message {
    color: #ff5252;
    margin-top: 10px;
}

#photo-input {
    margin-top: 10px;
}
