* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f4f4f4;
}

/* Wrapper for the form */
.wrapper {
    width: 100%;
    max-width: 600px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Fieldset Styles */
fieldset {
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 10px;
}

/* Form Elements */
form figcaption {
    font-size: 30px;
    text-align: center;
    margin-bottom: 1rem;
}
label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.new-field-container input{
    margin: 0;
    width: 73%;
}

/* Checkbox Style */
input[type="checkbox"] {
    margin-right: 10px;
}

/* Button Styles */
.button-container{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

button {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: fit-content;
    height: fit-content;
}

.button-container button:hover {
    background-color: #218838;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .wrapper {
        padding: 15px;
    }

    button {
        width: 100%;
        margin: 5px 0;
    }

    .new-field-container {
        flex-direction: column;
    }

    .new-field-container input {
        margin-right: 0;
        margin-bottom: 10px;
    }
}