body { 
    margin: 0; 
    background-color: #2c2f33; 
    color: white; 
}

canvas { 
    display: block; 
}

.hover-text { 
    font-size: 12px; 
    color: grey; 
}

.hidden { 
    display: none; 
}

#loading-bar { 
    position: fixed; /* Fixed positioning */
    bottom: 0; /* Stick to the bottom */
    left: 0;  /* Align to the left */
    width: 0; 
    height: 40px; 
    background-color: #7289da; 
    z-index: 999; /* Optional: make sure it is on top of other elements */
}

#male-preview, #female-preview { 
    max-width: 200px; 
    max-height: 200px; 
}

#grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto auto;
    gap: 20px;
    text-align: center;
}

#submit-section {
    grid-row: 3;
    grid-column: 1 / 3;
    text-align: center;
}

#male-section,
#female-section {
    grid-row: 1;
}

#imageContainer {
    grid-row: 4;
    grid-column: 1 / 4;
}

#male-input, #female-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.custom-file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #7289da;
    /* padding: 12px 24px;  Adjust the padding as you see fit */
    padding: 8px 8px;
    border-radius: 4px; /* Giving it a slight rounded edge */
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for better UX */
    margin-top: 10px;  /* Spacing from the label */
    margin-bottom: 10px;
    width: 120px; /* Set to the width of the original input button */
    height: 15px; /* Set to the height of the original input button */
}

#dropdown-section {
    text-align: center;
    grid-row: 2;
    grid-column: 1 / 3;
    text-align: center;
}

