body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 2rem;
    background: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    color: #CC0000;
    text-align: center;
    margin-bottom: 2rem;
}

form, .content-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 550px;
    box-sizing: border-box;
}

label {
    font-weight: bold;
    margin-top: 1.5rem;
    display: block;
}

input[type="text"],
input[type="number"],
input[type="radio"],
input[type="email"],
textarea {
    font-size: 1.1rem;
    padding: 0.6rem;
    margin-top: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.2s ease;
}

input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
}

textarea {
    resize: vertical;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #CC0000;
    outline: none;
}

input[type="submit"], button {
    margin-top: 2rem;
    background-color: #CC0000;
    color: white;
    padding: 0.9rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover, button:hover {
    background-color: #a00000;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #CC0000;
    color: white;
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    form, .content-box {
        padding: 1.5rem;
    }
}
