body {
    background-color: #222222; /* Darker grey background */
    color: #66cc66; /* Softer green text */
    font-family: monospace;
    display: flex;
    flex-direction: column; /* Arrange children vertically */
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.main-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.container {
    background-color: #333333; /* Lighter grey rectangle */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    text-align: center;
}

h1 {
    margin-bottom: 2rem;
}

#generate-loadout {
    background-color: #66cc66;
    color: #222222;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    margin-bottom: 2rem;
    width: auto; /* Allow button to size to content */
    height: auto; /* Allow button to size to content */
}

#generate-loadout:hover {
    background-color: #88e888;
}

.section {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #444;
    padding-bottom: 1.5rem;
    text-align: left; /* Ensure section content is left-aligned */
}

.section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

h2 {
    margin: 0; /* Remove default margin */
    text-align: left; /* Ensure header is left-aligned */
}

.item-container {
    display: flex;
    justify-content: flex-start; /* Align item to the left */
    min-height: 2em;
    padding-left: 10px; /* Indent item text slightly */
}

.reroll-btn {
    background: none;
    color: #66cc66;
    border: 1px solid #66cc66;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.2em;
    display: inline-flex; /* Use flexbox for centering */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    padding: 0; /* Reset padding */
    flex-shrink: 0; /* Prevent button from shrinking */
}

.reroll-btn:hover {
    background-color: #444;
    border-color: #888;
}

a {
    color: #66cc66; /* Softer green link */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.coffee-link {
    text-align: center;
    margin-top: 2rem;
}