/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom right, #f8f9fa, #e9ecef);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #343a40;
}

/* Form Styling */
form#data-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

/* Textarea Styling */
textarea#text-input {
    width: 100%;
    height: 150px;
    padding: 1rem;
    border: 2px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    color: #495057;
    resize: none;
    transition: border-color 0.3s ease-in-out;
}

textarea#text-input:focus {
    outline: none;
    border-color: #007bff;
}

/* Button Styling */
button {
    padding: 0.8rem 1.2rem;
    background: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

button:hover {
    background: #0056b3;
}

button:active {
    transform: scale(0.98);
}

/* Responsive Styling */
@media (max-width: 480px) {
    form#data-form {
        padding: 1.5rem;
    }

    textarea#text-input {
        height: 120px;
    }
}
