/* General body styles */
body {
    font-family: Arial, sans-serif;  /* Font for the entire page */
    background-color: #f9f9f9;  /* Light background color */
    margin: 0;  /* Remove default margin */
    padding: 20px;  /* Add padding around the body */
    position: relative;  /* Relative positioning for absolute elements */
}

/* Container for centering elements */
.container {
    max-width: 600px;  /* Maximum width for content */
    margin: 0 auto;  /* Center the container */
    padding: 20px;
    background: white;  /* White background for the container */
    border-radius: 8px;  /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);  /* Subtle shadow */
}

/* Center the heading */
h1 {
    text-align: center;  /* Center alignment */
    color: #333;  /* Text color */
}

/* Position version information in the top right corner */
#versionInfo {
    position: absolute;  /* Absolute positioning */
    top: 20px;  /* Offset from top */
    right: 20px;  /* Offset from right */
    background: white;  /* White background for version info */
    border: 1px solid #ccc;  /* Light border */
    padding: 10px;  /* Padding inside the version info box */
    border-radius: 5px;  /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);  /* Subtle shadow */
    z-index: 1000;  /* Keep it above other elements */
    text-align: left;  /* Left-align text */
}

/* Input field styles */
input[type="text"] {
    width: 100%;  /* Full width */
    padding: 10px;  /* Padding inside the input */
    margin-top: 10px; /* Space above */
    border: 1px solid #ccc;  /* Light border */
    border-radius: 4px;  /* Rounded corners */
    box-sizing: border-box;  /* Include padding in width */
}

/* Button styles */
button {
    width: 100%;  /* Full width */
    padding: 10px;  /* Padding inside the button */
    margin-top: 20px;  /* Space above */
    border: none;  /* No border */
    border-radius: 4px;  /* Rounded corners */
    background-color: #4CAF50;  /* Green background */
    color: white;  /* White text */
    font-size: 16px;  /* Font size */
    cursor: pointer;  /* Pointer cursor on hover */
}

/* Button hover effects */
button:hover {
    background-color: #45a049;  /* Darker green on hover */
}

/* Result section styles */
#result {
    margin-top: 20px;  /* Space above the result */
    padding: 10px;  /* Padding inside the result box */
    border: 1px solid #ccc;  /* Light border */
    border-radius: 4px;  /* Rounded corners */
    background-color: #f0f0f0;  /* Light gray background */
    word-wrap: break-word;  /* Wrap long words */
}
