body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #f0f4ff, #e6ecff);
    margin: 40px;
    color: #000080;
    font-size: 16px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
    padding: 12px;
    background: #ffffff;
    border-left: 5px solid #000080;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 128, 0.1);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000080;
    font-size: 15px;
}

input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    box-sizing: border-box;
    border: 2px solid #000080;
    border-radius: 8px;
    background-color: #f8faff;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 15px;
    color: #000080;
}

input[type="text"]:focus {
    border-color: #000080;
    box-shadow: 0 0 0 4px rgba(0, 0, 128, 0.2);
    outline: none;
}

button[type="submit"] {
    background-color: #000080;
    color: #ffffff;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 128, 0.2);
    margin-top: 10px;
}

button[type="submit"]:hover {
    background-color: #0000a0;
    transform: scale(1.05);
}

input[readonly] {
    background-color: transparent; /* Removes gray box */
    color: #000080; /* Match your main text color */
    cursor: default; /* Optional: feel less 'disabled' */
    border: none; /* Optional: remove border if you want a cleaner look */
    outline: none;
}


input[type="date"][readonly] {
    background-color: transparent;
    border: none;
    color: #000080;
    font-size: 16px;
    cursor: default;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

/* Error Message Box */
#error-message {
    background-color: #f8faff;  /* Soft blue background (matches your general theme) */
    color: #d8000c;  /* Red text for visibility */
    padding: 20px;
    margin: 20px 0;
    border: 2px solid #d8000c;  /* Red border for contrast */
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 128, 0.1);  /* Light shadow for prominence */
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
}

#error-message:hover {
    background-color: #f1f1f1;  /* Lighter background on hover */
    cursor: pointer;
}

/* Success Message Box */
#success-message {
    background-color: #e6fffa;  /* Light teal background */
    color: #28a745;  /* Green text for success */
    padding: 20px;
    margin: 20px 0;
    border: 2px solid #28a745;  /* Green border for contrast */
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 128, 0, 0.1);  /* Light green shadow */
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
}

#success-message:hover {
    background-color: #d1f7e7;  /* Lighter green on hover */
    cursor: pointer;
}


