/* General styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #F4F6F9; /* Light background */
    margin: 0;
    padding-top: 20px;
    color: #00AEEF; /* Set default text color to #00AEEF */
}

/* Navbar */
.navbar {
    background-color: #2C3E50; /* Dark blue/gray from the logo */
    padding: 15px 20px;
}

.navbar-nav .nav-link {
    color: #FFFFFF; /* White text for contrast */
    font-size: 1.1rem;
    position: relative; /* This allows us to position the underline */
    padding-bottom: 5px;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #F1D500; /* Yellow on hover */
}

.navbar-nav .nav-link::after {
    content: ''; /* Adds an underline */
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px; /* Thickness of the underline */
    background-color: #F1D500; /* Yellow underline */
    transition: width 0.3s ease-in-out; /* Smooth transition */
}

.navbar-nav .nav-link:hover::after {
    width: 100%; /* Expands underline on hover */
}

/* Logo styling */
.navbar-brand img {
    height: 200px; /* Double the size of the logo (from 50px to 200px) */
    width: auto;
}

/* Form Styling */
form {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #56D7A6; /* Accent color from the logo */
}

label {
    font-size: 1.2rem;
    color: #2C3E50; /* Dark blue for text */
}

/* If using specific classes for labels */
.custom-label-color {
    color: #00AEEF; /* Desired label color */
}

.select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #CED4DA;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #F4F6F9; /* Light gray */
}

input[type="submit"] {
    background-color: #F1D500; /* Bright yellow */
    color: #2C3E50; /* Dark text for contrast */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #00AEEF; /* Bright blue from the logo */
    color: white;
}

/* Table Header Styling */
.custom-header-table thead th {
    background-color: #00AEEF; /* Header background color */
    color: white; /* Header text color remains white */
}

/* Ensure that links within the table header remain white */
.custom-header-table thead a {
    color: white;
    text-decoration: none; /* Removes underline from links */
}

.custom-header-table thead a:hover {
    text-decoration: underline; /* Adds underline on hover */
}

/* Ensure that buttons within the table header remain white */
.custom-header-table thead button {
    color: white;
    background: none; /* Removes default button background */
    border: none;     /* Removes default button border */
    padding: 0;       /* Removes default button padding */
    cursor: pointer;  /* Changes cursor to pointer on hover */
}

.custom-header-table thead button:hover {
    text-decoration: underline; /* Adds underline on hover */
}

/* Table Body Styling */
.custom-header-table tbody td {
    color: #00AEEF; /* Pool names and point scores in #00AEEF */
}

/* Override Bootstrap's text-primary and text-danger classes within table body */
.custom-header-table tbody td.text-primary,
.custom-header-table tbody td.text-danger {
    color: #00AEEF !important; /* Ensures consistent color */
}

/* Optional: Customize dropdown menu styles within table header */
.custom-header-table thead .dropdown-menu {
    background-color: #00AEEF; /* Dropdown background */
}

.custom-header-table thead .dropdown-menu .dropdown-item {
    color: white; /* Dropdown item text color */
}

.custom-header-table thead .dropdown-menu .dropdown-item:hover {
    background-color: #007B99; /* Dropdown item hover background */
    color: white;               /* Dropdown item hover text color */
}

/* Navbar Dropdown Menu Styling */
.navbar .dropdown-menu {
    background-color: #00AEEF; /* Sets the dropdown background color */
}

.navbar .dropdown-menu .dropdown-item {
    color: #FFFFFF; /* Sets the dropdown item text color to white */
}

.navbar .dropdown-menu .dropdown-item:hover {
    background-color: #007B99; /* Optional: Darker blue on hover */
    color: #FFFFFF; /* Ensures text remains white on hover */
}

/* Smooth transition for dropdown menu */
.navbar .dropdown-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.navbar .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
}

/* Customize dropdown menu borders and shadows */
.navbar .dropdown-menu {
    border: none; /* Removes default border */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
}
