body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f0f2f5, #cfd8dc);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1000px;
    transition: all 0.3s ease;
}

h1 {
    margin-bottom: 20px;
    color: #333;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, button {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #007BFF;
    outline: none;
}

button {
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

#result {
    margin-top: 20px;
    text-align: left;
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fafafa;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

footer {
    margin-top: 20px;
    font-size: 14px;
}

footer a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #0056b3;
}

/* Media Queries for Responsive Design */
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    input, button {
        font-size: 14px;
        padding: 10px;
    }

    #result {
        font-size: 12px;
    }
}
