/* General Reset and Setup - EXTREME COLOR */
body {
    font-family: 'Arial Black', Gadget, sans-serif;
    /* Neon Pink/Electric Blue Gradient */
    background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
    margin: 0;
    padding: 10px;
    color: #000000; /* Black text for maximum contrast */
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
}

.container {
    max-width: 700px;
    margin: 15px auto;
    background-color: #ffff00; /* NEON YELLOW background */
    padding: 30px;
    border-radius: 25px;
    /* Thick, contrasting border with a deep shadow */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 5px solid #ff0000; /* BRIGHT RED Border */
    position: relative;
}

h1 {
    color: #0000ff; /* Electric Blue Heading */
    text-align: center;
    margin-bottom: 35px;
    font-size: 2.5em;
    text-shadow: 3px 3px 0px #ff00ff; /* Neon Pink Shadow */
    text-transform: uppercase;
}

/* Form Elements */
fieldset {
    border: 4px solid #00ff00; /* BRIGHT GREEN Border */
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 15px;
    background-color: #ffaa00; /* Bright Orange background */
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

legend {
    font-size: 1.5em;
    font-weight: bold;
    color: #800080; /* Deep Purple for Legend */
    padding: 5px 20px;
    background-color: #00ffff; /* Aqua background for legend */
    border-radius: 10px;
    border: 2px solid #000000;
    box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.3);
}

label {
    display: block;
    margin-bottom: 5px;
    margin-top: 15px;
    font-weight: 700;
    color: #ff0000; /* Red labels */
    font-size: 1.2em;
}

input[type="text"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 3px solid #0000ff; /* Blue border */
    border-radius: 10px;
    box-sizing: border-box; 
    font-size: 1.2em;
    background-color: #ffffff;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
    color: #333333;
    font-weight: bold;
}

input:focus, select:focus, textarea:focus {
    border-color: #ff00ff; /* Pink focus highlight */
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.7);
    outline: none;
}

/* Buttons - CHUNKY AND BRIGHT */
button {
    background: #00ff00; /* Green Button */
    color: #000000;
    padding: 18px 25px;
    border: 4px solid #800080; /* Purple Border */
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    font-size: 1.4em;
    margin-top: 20px;
    transition: all 0.2s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    font-weight: 900;
    text-transform: uppercase;
}

button:hover {
    background: #ff0000; /* Red on hover */
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    transform: translateY(-3px);
    border-color: #00ffff;
}

/* Previous button specific styling */
button[onclick*="previous"] {
    background: #ff00ff; /* Pink Previous Button */
    border-color: #0000ff;
    color: #ffffff;
}

button[onclick*="previous"]:hover {
    background: #00ffff; /* Aqua on hover */
    color: #000000;
    border-color: #ff00ff;
}

/* Door inventory page styling */
.door-entry {
    border: 5px dashed #ff0000; /* Red dashed border */
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 15px;
    background-color: #00ff00; /* Green background for entries */
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.door-entry h3 {
    margin-top: 0;
    color: #800080; /* Deep Purple for door headings */
    display: inline-block;
    font-size: 1.5em;
    text-shadow: 1px 1px 0px #ffffff;
}

.remove-door-btn {
    width: auto;
    background: #ff0000; /* Red remove button */
    border-color: #000000;
    color: white;
    float: right;
    padding: 10px 15px;
    font-size: 1em;
    margin-top: 0;
}

.remove-door-btn:hover {
    background: #0000ff; /* Blue on hover */
    color: #ffff00;
    transform: translateY(-1px);
}

.door-entry hr {
    border: 0;
    height: 3px;
    background: linear-gradient(to right, #ffaa00, #ff00ff); /* Orange-Pink separator */
    margin: 20px 0;
}
