body {
    background-color: #2c2c2c; /* Dark gray background */
    background-image: radial-gradient(circle, #888888, #2c2c2c); /* Adds texture */
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 40px; /* Add padding at the top instead of vertical centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    overflow-y: auto; /* Allow scrolling if content is taller than viewport */
}

h1 {
    margin-bottom: 0;
    font-size: 2rem;
    text-align: center;
}

form {
    background-color: #2c2c2c;
    border: 3px solid white;
    padding: 20px;
    width: 500px; /* Increased from 300px */
    text-align: left;
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.5); /* Adds a subtle shadow */
}

form label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

form input[type="text"],
form input[type="url"] {
    background-color: #1e1e1e; /* Dark background for input boxes */
    color: white; /* White text */
    border: 1px solid #555; /* Subtle border */
    padding: 8px;
    width: 100%;
    margin-bottom: 15px;
    font-size: 0.9rem;
    box-sizing: border-box;
}

form input[type="text"]::placeholder,
form input[type="url"]::placeholder {
    color: #aaa; /* Lighter placeholder text */
}

form input[type="text"]:focus,
form input[type="url"]:focus {
    outline: none;
    border-color: white; /* Highlight border on focus */
}

#stations .station {
    border: 3px solid white;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #3a3a3a; /* Slightly lighter gray for station blocks */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Adds shadow to station blocks */
}

button {
    background: none;
    color: white;
    border: 1px solid white;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
}

button:hover {
    background-color: white;
    color: black;
}

#generatedURL {
    background-color: #1e1e1e;
    color: white;
    border: 1px solid #555;
    padding: 2px;
    width: 100%;
    height: 120px;
    font-size: 0.7rem;
    box-sizing: border-box;
    resize: vertical;
    text-align: left;
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-all;
}

#generatedURL:focus {
    outline: none;
    border-color: rgb(14, 11, 11); /* Highlight border on focus */
}

#tip {
    color: #aaa;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 20px;
    max-width: 500px;
    line-height: 1.4;
}

