/* Import Work Sans font */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;600;700&display=swap');

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #f4f4f4;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: rgba(51, 51, 51, 0.4);
  transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(51, 51, 51, 0.7);
}

/* Global styles */
body {
    font-family: 'Work Sans', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(to bottom right, #f9f9f9, #eef2f7);
    color: #343a40;
    margin: 0;
}

h1 {
  text-align: center;
  color: #007bff;
  margin-bottom: 20px;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Container styling */
.container {
  margin: auto;
  padding: 0 20px;
  width: 100%;
  max-width: 1200px;
}

/* Input field styling */
input {
  font-family: 'Work Sans', sans-serif;
  outline: none;
  border: 2px solid #007bff;
  border-radius: 8px;
  padding: 12px 18px;
  text-align: center;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

input:focus {
  border-color: #0056b3;
  background-color: #f0f8ff;
}

/* Button styles */
button {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

button:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-3px);
}

button:active {
  background: #003060;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
}

/* Form container styling */
.form-container {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
  margin: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Error message styling */
.error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 8px;
}

/* Results section styling */
#opr-results {
  margin-top: 30px;
  padding: 25px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Delete button styling */
.delete-button {
  margin-left: 10px;
  padding: 8px 15px;
  background-color: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.delete-button:hover {
  background-color: #c0392b;
}

.team-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #495057;
}

h2 {
  margin-top: 20px;
  text-align: center;
  color: #495057;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#opr-results {
  margin-top: 20px;
}
