/* CSS Variables for easier theming */
:root {
  --primary-bg: #0f0f0f;
  --secondary-bg: rgba(26, 26, 26, 0.8);
  --accent: #0071e3;
  --accent-hover: #005bb5;
  --text-color: #ffffff;
  --sub-text: #b0b0b0;
  --border-color: #444;
  --btn-bg-gradient: linear-gradient(to right, #333333, #1a1a1a);
}

/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background: var(--primary-bg);
  color: var(--text-color);
  min-height: 100vh;
  padding: 0 20px 20px 20px;
}

.page-wrapper {
  max-width: 95vw;
  margin: 0 auto;
}

/* Container with subtle fade-in animation */
.main-container {
  width: 100%;
  max-width: 800px; /* Increase this value for a wider look */
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  animation: fadeIn 1.5s ease-in;
}

/* Header styling */
header h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2rem;
  color: var(--sub-text);
}

/* Navigation buttons */
.button-container {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.button {
  text-decoration: none;
  padding: 14px 28px;
  background: var(--btn-bg-gradient);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-color);
  font-weight: 500;
  transition: transform 0.3s ease, background 0.3s ease;
}

.button:hover {
  background: #1f1f1f;
  border-color: #666;
  transform: scale(1.05);
}

/* Playlist management section with glassmorphism effect */
.playlist-section {
  margin-top: 60px;
}

.playlist-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

form {
  background: var(--secondary-bg);
  padding: 30px;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

label {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #e0e0e0;
}

input[type="text"] {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: #2a2a2a;
  color: var(--text-color);
  margin-bottom: 20px;
}

button[type="submit"] {
  background-color: var(--accent);
  color: var(--text-color);
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background-color: var(--accent-hover);
}

select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #333;
    background-color: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 1rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23ccc' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    margin-bottom: 20px;
}

select:focus {
    outline: none;
    border-color: #00b894;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px #00b894;
}

.container {
    width: 100%;
    max-width: 960px; /* or 1024px, 1140px depending on how wide you want it */
    margin: 0 auto;
    padding: 30px 20px;
    text-align: center;
}

.order-form {
    width: 100%;
    max-width: 800px; /* was probably 400px — increase it */
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.order-form label {
    text-align: left;
}

/* Dropdown/Select Styling */
select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #333;
    background-color: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 1rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23ccc' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    margin-bottom: 20px;
}

/* Dropdown options styling */
select option {
    background-color: #2a2a2a; /* Dark background for options */
    color: #fff; /* White text */
    padding: 10px;
}

/* Focus state */
select:focus {
    outline: none;
    border-color: #00b894;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px #00b894;
}

/* Dropdown hover state */
select:hover {
    border-color: #666;
}

/* For Firefox specifically */
@-moz-document url-prefix() {
    select {
        color: #fff !important;
        text-shadow: 0 0 0 #fff;
    }
    select option {
        background-color: #2a2a2a;
    }
}

/* For IE10+ */
select::-ms-expand {
    display: none; /* Hide the default arrow in IE */
}



/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }

  .button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}
