/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container for the whole page */
.container {
    width: 80%;
    margin: 50px auto;
    padding: 30px;
    background-color: #1a1a1a; /* Dark background for the container */
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4); /* Enhanced shadow */
    color: white; /* White text for better contrast */
}

/* Header styles */
h2 {
    text-align: center;
    color: #00A9E0; /* Blue header */
    margin-bottom: 30px;
    font-size: 22px;
}

/* Form elements */
form {
    display: flex;
    flex-direction: column;
}

/* Label styling */
label {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555; /* Lighter grey for labels */
}

/* Input fields */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
select {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc; /* Light grey border */
    border-radius: 4px;
    font-size: 14px;
    background: #f9f9f9;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* On focus (for all inputs) */
input:focus,
select:focus {
    border-color: #00A9E0;
    box-shadow: 0 0 5px rgba(0, 169, 224, 0.5); /* Blue glow */
    outline: none;
}

/* Button styling */
button {
    padding: 10px;
    background-color: #00A9E0;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover effect for button */
button:hover {
    background-color: #007bb8; /* Darker blue on hover */
}

/* Cancel button styling */
.cancel-btn {
    background-color: #ff4444; /* Red background for cancel */
    color: white;
    margin-right: 10px;
}

.cancel-btn:hover {
    background-color: #e63c3c; /* Darker red on hover */
}

/* Button container for better alignment */
.button-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 20px;
    }

    h2 {
        font-size: 18px;
    }

    button {
        font-size: 12px;
    }
}
