.auth-container {
    max-width: 400px;
    margin: 2rem auto;
    text-align: right;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 4px;
}

.nav-link {
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.nav-link:hover {
    color: #0056b3;
    background-color: rgba(0, 86, 179, 0.1);
}

.nav-link.active {
    color: #fff !important;
    background-color: #0056b3 !important;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 86, 179, 0.2);
}

/* Ensure active state is visible */
.card .nav .nav-link.active {
    color: #fff !important;
    background-color: #0056b3 !important;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 86, 179, 0.2);
}

.navbar-nav {
    margin-left: 0 !important;
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.auction-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.important-date {
    background-color: #e9ecef;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.header-banner {
    background: linear-gradient(to right, #1a237e, #3949ab);
    color: white;
    padding: 0;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.logo-container {
    width: 100%;
    padding: 10px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.title-container {
    flex-grow: 1;
}

.wayne-title {
    font-size: 2.8rem;
    margin-bottom: 0;
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
}

.treasurer-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
}

.treasurer-name {
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 400;
    color: #fff;
    line-height: 1.1;
}

.auth-container input {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #333;
    transition: all 0.3s ease;
}

.auth-container input:focus {
    background-color: #fff;
    border-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.auth-container input::placeholder {
    color: #666;
    font-size: 0.875rem;
}

.auth-container .btn-primary {
    background-color: #1a237e;
    border-color: #1a237e;
    color: #fff;
    font-weight: 500;
    padding: 0.25rem 1rem;
    height: 31px;
}

.auth-container .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.auth-container .btn-light {
    background-color: #fff;
    border-color: #fff;
    color: #1a237e;
    font-weight: 500;
    padding: 0.25rem 1rem;
    height: 31px;
}

.auth-container .btn-light:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

/* Contact Page Styles */
.contact-info, .contact-form {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-info a {
    color: #0056b3;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form .form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0,86,179,0.25);
}

.contact-form .btn-primary {
    background-color: #1a237e;
    border-color: #1a237e;
}

/* Search Page Styles */
.search-container {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.search-form .form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0,86,179,0.25);
}

.search-form .btn-primary {
    background-color: #1a237e;
    border-color: #1a237e;
    min-width: 120px;
}

.search-form .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.search-form .btn-secondary {
    min-width: 120px;
}

.login-inputs input {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #333;
}

.login-inputs input:focus {
    background-color: #fff;
    border-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.login-inputs input::placeholder {
    color: #666;
    font-size: 0.875rem;
}

.system-messages {
    margin: 2rem 0;
}

.message-item {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border-left: 4px solid;
}

.message-item.info {
    background-color: #e3f2fd;
    border-left-color: #2196f3;
}

.message-item.warning {
    background-color: #fff3e0;
    border-left-color: #ff9800;
}

.message-item.error {
    background-color: #ffebee;
    border-left-color: #f44336;
}

.message-item.success {
    background-color: #e8f5e9;
    border-left-color: #4caf50;
}

.message-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.message-date {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.system-messages-wrapper {
    margin-top: 2rem;
}

.system-messages-wrapper .alert {
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.system-messages-wrapper .alert-info {
    border-left-color: #0dcaf0;
}

.system-messages-wrapper .alert-warning {
    border-left-color: #ffc107;
}

.system-messages-wrapper .alert-danger {
    border-left-color: #dc3545;
}

.system-messages-wrapper .alert-success {
    border-left-color: #198754;
}

.system-messages-wrapper .bi {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.system-messages-wrapper .alert-info .bi {
    color: #0dcaf0;
}

.system-messages-wrapper .alert-warning .bi {
    color: #ffc107;
}

.system-messages-wrapper .alert-danger .bi {
    color: #dc3545;
}

.system-messages-wrapper .alert-success .bi {
    color: #198754;
}

@media (min-width: 768px) {
    .header-banner {
        min-height: 120px;
    }
    
    .logo-container {
        max-width: 400px;
        padding: 15px;
    }
    
    .logo {
        width: auto;
        max-height: 80px;
    }
}

.header-bg-primary {
    background: linear-gradient(to right, #1a237e, #3949ab);
    padding: 1rem 0;
}

.text-sm {
    font-size: 0.875rem;
}

.header-bg-primary a {
    color: #fff;
    text-decoration: none;
}

.header-bg-primary a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.form-control.text-sm {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.btn.text-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.navbar-brand img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767.98px) {
    .navbar-brand {
        margin-bottom: 1rem;
    }
    
    .form-group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem !important;
    }
    
    .form-control.text-sm {
        width: 100%;
    }
}

/* Remove number input spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* Proxy Bid Status Styles */
.proxy-bid-status {
    margin: 1rem 0;
}

#proxyBidStatus {
    background-color: #6f42c1; /* Bootstrap purple */
    color: white;
    font-weight: bold;
    display: inline-block;
} 

.nav-link-light {
    color: #fff !important;
    text-decoration: underline;
  }
  .nav-link-light:hover, .nav-link-light:focus {
    color: #ffd700 !important; /* or any highlight color you prefer */
    text-decoration: underline;
  }

/* Error Modal Styles */
#errorModal .modal-header {
    background-color: #dc3545;
    color: white;
}

#errorModal .modal-header .btn-close {
    filter: brightness(0) invert(1);
}

#errorModal .modal-body {
    padding: 1.5rem;
}

#errorModal .modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem;
}

#errorModal #errorMessage {
    color: #dc3545;
    font-weight: 500;
}

/* Main Content Styles */
#main-content {
    position: relative;
    min-height: 200px;
}

/* Custom table hover effect */
.custom-table-hover tbody tr:hover {
    background-color: rgb(156, 168, 226) !important;
    color: white !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-table-hover tbody tr:hover td {
    border-color: rgb(156, 168, 226);
    background-color: rgb(156, 168, 226) !important;
    color: white !important;
}

.custom-table-hover tbody tr:hover .btn {
    border-color: white;
}

/* Override Bootstrap's table-hover class */
.table-hover.custom-table-hover tbody tr:hover {
    background-color: rgb(156, 168, 226) !important;
    color: white !important;
}

.table-hover.custom-table-hover tbody tr:hover td {
    background-color: rgb(156, 168, 226) !important;
    color: white !important;
}

/* Additional specificity for table-striped */
.table-striped.custom-table-hover tbody tr:nth-of-type(odd):hover {
    background-color: rgb(156, 168, 226) !important;
    color: white !important;
}

.table-striped.custom-table-hover tbody tr:nth-of-type(odd):hover td {
    background-color: rgb(156, 168, 226) !important;
    color: white !important;
}

.table-striped.custom-table-hover tbody tr:nth-of-type(even):hover {
    background-color: rgb(156, 168, 226) !important;
    color: white !important;
}

.table-striped.custom-table-hover tbody tr:nth-of-type(even):hover td {
    background-color: rgb(156, 168, 226) !important;
    color: white !important;
}

/* Override Bootstrap nav-link styles for our sidebar */
.card .nav .nav-link {
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin: 0.25rem 0;
    text-decoration: none;
    display: block;
}

.card .nav .nav-link:hover {
    color: #0056b3;
    background-color: rgba(0, 86, 179, 0.1);
    text-decoration: none;
}

.card .nav .nav-link.active {
    color: #fff !important;
    background-color: #0056b3 !important;
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 86, 179, 0.2);
}

/* Force active state visibility */
.card .nav .nav-link.active,
.card .nav .nav-link.active:hover,
.card .nav .nav-link.active:focus {
    color: #fff !important;
    background-color: #0056b3 !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 4px rgba(0, 86, 179, 0.2) !important;
}

/* Add bottom border to profile form rows */
#profile-form .mb-3.row {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

#profile-form .mb-3.row:last-child {
    border-bottom: none;
}

/* Add bottom border to change password form rows */
#change-password-form .mb-3.row {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

#change-password-form .mb-3.row:last-child {
    border-bottom: none;
}

/* Apply search.html form control styling to profile and change password forms */
#profile-form .form-control,
#profile-form .form-select,
#change-password-form .form-control,
#change-password-form .form-select {
    border: 2px solid #585757;
    border-radius: 0.375rem;
}

#profile-form .form-control:focus,
#profile-form .form-select:focus,
#change-password-form .form-control:focus,
#change-password-form .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

#profile-form .form-control:hover,
#profile-form .form-select:hover,
#change-password-form .form-control:hover,
#change-password-form .form-select:hover {
    border-color: #adb5bd;
}

/* Remove the account home table borders */
#my-account-home-table tbody tr {
    border-bottom: none;
}

#my-account-home-table tbody tr:last-child {
    border-bottom: none;
}

/* Deposit Radio Button Styles */
.deposit-radio-container .form-check-input {
    border: 2px solid #333 !important;
    background-color: #fff !important;
}

.deposit-radio-container .form-check-input:checked {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

.deposit-radio-container .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

.deposit-radio-container .form-check-label {
    color: #333 !important;
    font-weight: bold !important;
}