body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    background-color: #f0f0f0;
    overflow-y: auto;
    flex-direction: column;
}

.password-container {
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

.responsive-input {
    width: 100%;
}

#symbolCheckboxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 10px 0;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

#passwordOutput {
    width: 100%;
    max-width: 100%;
    margin-top: 15px;
    margin-bottom: 20px;  /* Added space below the password output box */
    padding: 8px;
    border: 1px solid #ff9800;  /* Bright orange border */
    background-color: #ffffff;  /* White background */
    border-radius: 10px;  /* Rounded corners */
    box-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);  /* Orange shadow */
    box-sizing: border-box;
    resize: both;
    overflow: auto;
    font-family: Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "EmojiSymbols";
    min-height: 100px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.group {
    border: 2px solid #ff9800;  /* Bright orange border */
    border-radius: 10px;  /* Rounded corners */
    padding: 30px 15px 15px 15px;  /* Extra padding at the top to accommodate legend */
    margin-bottom: 20px;
    background-color: #ffe0b2;  /* More orangey shading */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Drop shadow */
    position: relative;
}

.group legend {
    font-weight: bold;
    padding: 5px 15px;
    background-color: #ff9800;  /* Bright orange background */
    color: #ffffff;  /* White text color */
    position: absolute;
    top: 0;  /* Align with top border */
    left: 50%;
    transform: translate(-50%, -50%);  /* Center horizontally and align vertically */
    border-radius: 10px;  /* Rounded background for the legend */
    text-align: center;
}
