﻿.rewards-header-container {
}
.rewards-header-container h1 {
    text-align: left;
}
.rewards-header-container h4 {
    text-align: left;
}

.rewards-descriptions {
    padding: 1rem;
    overflow: hidden; /* Ensure content is hidden when collapsed */
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.rewards-descriptions h3 {
    cursor: pointer;
    width: fit-content;
}
.rewards-descriptions h3:hover {
    color: #DD6E42;
    transition: color 0.3s ease;
}

.rewards-descriptions .expandable-content {
    max-height: 0; /* Collapsed state */
    overflow: hidden; /* Hide overflowing content */
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0; /* Fade out when collapsed */
}

.rewards-descriptions.expanded .expandable-content {
    max-height: 500px; /* Expanded state (adjust to fit your content) */
    opacity: 1; /* Fade in when expanded */
}

.rewards-descriptions .expandable-content p {
    margin: 0.5rem 0;
}

.rewards-mid-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.form-section {
    
}

.form-section label {
    display: block;
    font-weight: bold;
}

.form-section input[type="text"],
.form-section textarea,
.form-section select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-section input[type="text"]:focus,
.form-section textarea:focus,
.form-section select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/*All children in the form*/
.form-section form > * {
    margin-bottom: 1rem;
}

.rules-table-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-flow: wrap;
}

.rules-table-container div {
    margin: 1rem 0;
}

.creature-preset-container {
}

.individual-treasure-container {
}

.themed-container {
}

.generated-rewards-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;

    padding: 2%;
}

.advanced-filters-container{
}

.coin-filter-container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.form-separator {
    display: flex;
    justify-content: space-around;
}

.rewards-table-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;

    width: 100%;
}

.rewards-table-container table{
    margin-bottom: 1rem;
    margin-right: 1rem;
}

.inner-preset-container {
    display: flex;
    justify-content: left;
}

.inner-container-select {
    display: flex;
    flex-direction: column;
    margin-right: 1rem;
    width: 50%;
}

.inner-container-select #creature-type {
}
