body {
    font-family: Arial, sans-serif;
    background: #f4f6f8 url("background.jpg") no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

*, *::before, *::after {        /* ← expanded to cover pseudo-elements */
    text-decoration: none;
    box-sizing: border-box;     /* ← moved here so it applies globally */
}

.navbar {
    background: #003E50;
    padding: 0 5%;
    width: 100%;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navdiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
}

.logo a {
    font-size: 18px;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
}

li {
    list-style: none;
    display: inline-block;
}

li a {
    color: white;
    font-size: 17px;
    font-weight: bold;
    margin-left: 25px;
}

li a:hover {
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.page-content {
    display: flex;              /* ← kept your flex */
    flex-direction: column;     /* ← added: stacks form fields vertically */
    justify-content: flex-start;/* ← changed from center so content starts at top */
    align-items: stretch;       /* ← changed from flex-start so fields fill width */

    width: 80%;
    max-width: 1000px;          /* ← added: prevents it from getting too wide on large screens */
    min-height: 100vh;
    background: #ffffff;
    padding: 30px 40px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin: 20px auto;          /* ← changed: auto centers it horizontally */
    border-radius: 8px;         /* ← added: softens the card edges */
}

/* ── ADDED: input/label polish ── */
label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-top: 16px;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #cdd2d8;
    border-radius: 6px;
    font-size: 14px;
    color: #222;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #003E50;
    box-shadow: 0 0 0 3px rgba(0, 62, 80, 0.1);  /* ← brand-colored focus ring */
}

.grayout input {
    background: rgb(235, 235, 235);

}


button {
    margin-top: 30px;
    padding: 12px 24px;
    background: #1C485B;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

/* ── ADDED: responsive for small screens ── */
@media (max-width: 600px) {
    .page-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        padding: 20px;
    }
}

