.race-search-wrapper {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.race-search-form h3 {
    text-align: center;
    margin-bottom: 22px !important;
    color: #333;
}

.search-method-selection {
    margin-bottom: 15px;
}

.radio-group label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
	color:#000!important;
	
}

.form-group {
    margin-bottom: 15px;
}
.form-group label {
	color:#000!important;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 2px solid #e3d63b !important; /* More pronounced border */
    border-radius: 6px;
    font-size: 14px;
}

/* Faint placeholder text */
.form-group input::placeholder {
    color: #cbcbcb !important; /* Faint gray color */
    opacity: 1; /* Ensures consistent appearance across browsers */
}

/* Firefox specific placeholder styling */
.form-group input::-moz-placeholder {
    color: #aaa;
    opacity: 1;
}

/* WebKit specific placeholder styling */
.form-group input::-webkit-input-placeholder {
    color: #aaa;
}

/* MS Edge specific placeholder styling */
.form-group input::-ms-input-placeholder {
    color: #aaa;
}

.search-button {
    background: #eac320;
    border: none;
    color: #000;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

.search-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.search-button:hover:not(:disabled) {
    background: #d4ad1c;
}

/* Back to Search button styling */
.back-to-search-button {
    background: #eac320;;
    border: none;
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}

.back-to-search-button:hover {
    background: #000;
}

.back-to-search-wrapper {
    margin-top: 20px;
}

.error-messages {
    color: red;
    margin-top: 10px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

.results-table th, .results-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.results-table th {
    background: #f4f4f4;
    font-weight: bold;
    font-size: 13px;
}

.results-table tr:nth-child(even) {
    background: #fafafa;
}

.results-table tfoot td {
    background: #eac320;
    font-weight: bold;
}

/* Search results section */
#search_results_section {
    margin-top: 30px;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .race-search-wrapper {
        max-width: 95%;
        margin: 20px auto;
        padding: 15px;
    }
    
    .results-table {
        font-size: 12px;
    }
    
    .results-table th, .results-table td {
        padding: 6px 4px;
    }
    
    .results-table th {
        font-size: 11px;
    }
}

/* Highlight club column */
.results-table td:nth-child(5) {
    background-color: #f9f9f9;
   
}

.results-table thead th:nth-child(5) {
    background-color: #e9e9e9;
}

/* Style the placeholder text */
input::placeholder {
  color: #ccc!important;        /* change text color */
  font-size: 14px;    /* adjust font size */
  font-style: italic !important; /* make it italic */
  opacity: 1 !important;         /* ensure it's fully visible */
}

/* Optional: style on focus */
input:focus::placeholder {
  color: lightblue;
}
.r-search {
font-size:16px !important;
	color:#000!important;
	font-weight:bold !important;
}


/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}