/* Form Styles */
.cotton-form-container {
    margin-bottom: 15px;
    background-color: rgba(155, 155, 155, 0.1);
    width: 33%;
    padding: 1rem;
}

.cotton-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.form-group {
    flex: 1 0 auto;
    margin: 10px 0;
}

.cotton-select {
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 5px center;
}

.cotton-button {
    background-color: #2980b9;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cotton-button:hover {
    background-color: #3498db;
}

/* Table Styles */
.cotton-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.cotton-table th,
.cotton-table td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}

.cotton-table th {
    background-color: #f2f2f2;
}

.cotton-table td {
    text-align: right;
}

.cotton-table td:first-child {
    text-align: left;
}

.no-results {
    color: #d9534f;
    margin-top: 20px;
}

.rankings-form .button-group {
    display: flex;
    gap: 10px; /* Adjust spacing as needed */
    margin-bottom: 15px; /* Add margin below buttons */
}

.rankings-form .button-group .cotton-button {
    flex-grow: 1; /* Distribute button width evenly */
    text-align: center; /* Center text within buttons */
}

.rankings-form .button-group .cotton-button.active {
    background-color: #0056b3; /* Example active button color */
    color: white;
}