/*css of the whole page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* css for the body */
body {
    background: linear-gradient(to right, #1e3c72, #2a5298); /* gradient from left to right in background */
    padding: 30px;
}

/* css for whole form */
.form-container {
    background-color: #ffffff;
    max-width: 850px;  /* total width of the form */
    margin: auto;
    padding: 30px 40px;
    border-radius: 10px;  /* rounded corners */
}

/* css for the heading in the form */
.form-container h1 {
    text-align: center;
    color: #1e3c72;
    margin-bottom: 10px;
}

/* css for the paragraph in the form */

.form-container p {
    text-align: center;
    color: #555;
    margin-bottom: 25px;
}

/* css for the labels of the form */
label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #333;
}

/* css for all types of inputs */
input[type="text"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #1e1d1d58;
    border-radius: 5px;
    font-size: 14px;
}

/* css for the display of placeholders */
input::placeholder,
textarea::placeholder {
    color: #4a4949;
}

/* css for focus */
input:focus,
select:focus,
textarea:focus {
    border-color: #1e3c72;
    outline: none;
    box-shadow: 0 0 5px rgba(30, 60, 114, 0.4);
}

/* css for submit button */
.submitbtn {
    width: 100%;
    background-color: #1e3c72;
    color: white;
    padding: 12px;
    margin-top: 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

/* hover effect on the submit button */
.submitbtn:hover {
    background-color: #16325c;
}

/* css for the php page */

/* css for the box */
.output-container {
    width: 600px;
    margin: 80px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
}

/* css for the heading of the box */
.output-container h1 {
    color: #2ecc71;
    font-size: 28px;
    margin-bottom: 15px;
}

/* css for the paragraph in the box */
.output-container p {
    font-size: 16px;
    color: #444;
    margin: 8px 0;
}

/* css for the bold content in the box */
.output-container p b {
    color: #000;
}

/* css for the link in the box */
.output-container a {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 20px;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    border-radius: 6px;
}

/* hover effect on the link */
.output-container a:hover {
    background-color: #1f6fa8;
}