
/* Style for the dropdown */
#message-dropdown {
    font-size: 2rem; /* Larger font size for better readability */
    padding: 10px; /* Add padding for touch-friendly elements */
    border-radius: 8px; /* Smooth edges */
    border: 2px solid #ccc; /* Visible border */
}

/* Style for the text box */
#message-textbox {
    font-size: 2rem; /* Larger font size */
    text-align: center;
    border-radius: 8px; /* Smooth edges */
    border: 2px solid #ccc; /* Visible border */
    padding: 10px; /* Add padding for better usability */
    width: 80px; /* Wider box for better visibility */
}

/* Label styling */
label {
    font-size: 2rem; /* Increase label font size */
    font-weight: bold; /* Make the label bold */
}

/* Mobile-friendly adjustments */
@media (max-width: 600px) {
    #message-div {
        flex-direction: column; /* Stack elements vertically on smaller screens */
        gap: 15px; /* Add spacing between stacked elements */
        padding: 15px;
    }
    #message-dropdown,
    #message-textbox {
        width: 100%; /* Full width for better usability on smaller screens */
    }
}

#message-div {
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    width: calc(100% - 50px); /* Reduced margin for more space on smaller screens */
    font-family: Arial, sans-serif;
    display: flex; 
    flex-direction: column; /* Stack messages vertically */
    justify-content: center; 
    align-items: center; 
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 12px;
    margin: 0 auto; 
    gap: 10px; /* Add spacing between messages */
}

/* Styling for individual message lines */
.message-line {
    font-size: 2rem; /* Adjust font size for readability */
    padding: 10px; /* Add padding for better touch usability */
    border-radius: 8px; /* Rounded edges for modern look */
    width: 100%; /* Full width for better alignment */
    text-align: center; /* Center align text */
    background-color: #ffffff; /* White background for each message */
    border: 1px solid #ddd; /* Light border for separation */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Mobile-friendly adjustments */
@media (max-width: 600px) {
    #message-div {
        gap: 15px; /* Increased spacing between messages */
        padding: 15px;
    }
    .message-line {
        font-size: 1rem; /* Slightly smaller text for smaller screens */
        padding: 8px; /* Adjust padding for smaller devices */
    }
}
