/* General Resets and Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none; /* Removes outlines */
}

body {
    font-family: Arial, sans-serif;
    margin: 2% 10% 5% 10%; /* Responsive margins */
    background-image: url('BG.webp'); /* Path to a relevant background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Fixed background for parallax effect */
    color: #fff;
}

/* Removing any unexpected blue lines which might be borders */
button, div, h2, h3, form {
    border: none; /* Removes borders */
}

button {
    background-color: #064e9c;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* Section Headers */
h1, h2, h3 {
    color: #fff; /* Set text color to white */
    text-shadow: 2px 2px 4px #c0c0c0; /* Silver glow for text visibility */
}

/* Specific container adjustments */
.form-section-header {
    background: rgba(0, 0, 0, 0.5); /* Dark semi-transparent background for headers */
    padding: 10px;
    border-bottom: 2px solid #fff; /* Intentional blue bottom border for headers */
}

/* Fixing specific section layout issues */
.dynamic-container {
    background: rgba(255, 255, 255, 0.1); /* Light transparent background for form sections */
    padding: 10px;
    margin-top: 20px;
}

/* Utility Classes */
.hidden {
    display: none; /* Hide elements without removing them */
}


/* Styling for dynamic sections */
.dynamic-container {
    margin-top: 20px;
    border: 1px dashed #ccc;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.9); /* Light background for visibility */
    border-radius: 5px;
}

/* Specific styles for adding and removing items */
.add-remove-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

/* Enhance visual cues for interactive elements */
.dynamic-container h3 {
    margin-bottom: 10px; /* More space above section headers */
}

.form-section-header {
    margin-top: 20px; /* Spacing for form section headers */
    padding-bottom: 5px;
    border-bottom: 2px solid #064e9c; /* Blue underline for section headers */
}

/* Input and focus enhancements */
input[type='text']:focus, input[type='number']:focus, select:focus, textarea:focus {
    border-color: #0056b3; /* Highlight focus with a blue border */
    box-shadow: 0 0 8px rgba(0,86,179,0.5); /* More prominent shadow on focus */
}

/* Additional styles for checkboxes to align with the theme */
input[type='checkbox'] {
    transform: scale(1.5); /* Make checkboxes larger */
    margin-right: 5px;
}
