/* Basic styling */
body {
    font-family: Arial, sans-serif;
    background-color: #87c7b4;
    color: #fff;
    text-align: center;
    padding: 5px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#logo {
    margin-bottom: 10px;
}

#logo img {
    max-width: 75%; /* Adjust logo size */
    height: auto;
}

#login {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    background: #a0a3a2;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

h2 {
    margin-bottom: 5px;
    font-size: 24px;
}

input {
    width: 80%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

button {
    width: 90%;
    padding: 10px;
	margin: 10px 0;
   background: #1db954; 
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* Mobile specific styles */
@media (max-width: 480px) {
    body {
        padding: 20px;
    }

    #login {
        width: 100%;
        max-width: 300px;
    }
}
/* Button Styles (for <button> elements) */
button.admin-button {
    background-color: #808080; /* Grey background */
    color: white; 
    padding: 2px 2px;
    font-size: 1.2em;
    margin: 5px;
    border: 2px solid #7a7a7a; /* Slightly darker grey border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effect */
}

/* Hover effect for admin buttons */
button.admin-button:hover {
    background-color: #666666; /* Darker grey on hover */
    border-color: #5a5a5a; /* Darker border on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Slightly bigger shadow */
    transform: translateY(-2px); /* Button lift effect */
}

/* Focus effect for admin buttons */
button.admin-button:focus {
    outline: none; /* Remove default focus outline */
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.6); /* Red focus ring */
}

#logout {
    display: flex;
    justify-content: space-around; /* Adjusts space between the buttons */
}

button.logout {
    background-color: #f39c12; /* Grey background */
    color: white; /* Red text */
    padding: 2px 2px;
    font-size: 1.2em;
    margin: 2px;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effect */
    flex: 1; /* Make each button expand to fill the container */
}

/* Hover effect for admin buttons */
button.logout:hover {
    background-color: #666666; /* Darker grey on hover */
    border-color: #5a5a5a; /* Darker border on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Slightly bigger shadow */
    transform: translateY(-2px); /* Button lift effect */
}

/* Focus effect for admin buttons */
button.logout:focus {
    outline: none; /* Remove default focus outline */
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.6); /* Red focus ring */
}
#back {
    display: flex;
    justify-content: space-around; /* Adjusts space between the buttons */
}

button.back {
    background-color: #5dade2; 
    color: white; /* Red text */
    padding: 2px 2px;
    font-size: 1.2em;
    margin: 2px;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effect */
    flex: 1; /* Make each button expand to fill the container */
}

/* Hover effect for admin buttons */
button.back:hover {
    background-color: #666666; /* Darker grey on hover */
    border-color: #5a5a5a; /* Darker border on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Slightly bigger shadow */
    transform: translateY(-2px); /* Button lift effect */
}

/* Focus effect for admin buttons */
button.back:focus {
    outline: none; /* Remove default focus outline */
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.6); /* Red focus ring */
}

.scoresheet {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px; /* spacing between entries */
  margin-left: 5px;
}
.score-container {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.left-container,
.right-container {
  width: 45%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.entry img {
  width: 24px;
  height: auto;
}

.entry label {
  margin-left: 4px;
  padding: 4px;
  font-size: 0.8rem;
}

.entry input[type="number"] {
  width: 23px;
  padding: 2px;
  margin-right: 4px;
  font-size: 0.8rem;
  text-align: center;
}
