body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    margin: 0;
    padding: 0; /* ← remove padding */
    background-image: url("background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
}

/* Add a wrapper div to center the form instead */
.page-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

*{
    text-decoration: none;
}

.navbar {
    
    background: #003E50;
    padding: 0 5%;
    width: 100%;
    box-sizing: border-box; /* ← prevents overflow */
    position: sticky;       /* ← stays at top when scrolling */
    top: 0;
    z-index: 100;           /* ← stays above content */
}

.navdiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;           /* ← consistent navbar height */
}

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

li {
    list-style: none;
    display: inline-block;
}
#guidelinesList li {
    display: list-item;       /* ← overrides the global inline-block */
    margin-bottom: 6px;
    line-height: 1.5;
    list-style: disc;         /* ← optional: adds bullet points */
}

li a {
    color: white;
    font-size: 17px;
    font-weight: bold;
    margin-left: 25px;      /* ← use margin-left instead of margin-right */
}

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

/* Updated Grayout Style */
/* Updated Grayout Style: Grey background but NOT blocked */
/* CLASS 1: Visual Style Only (Grey but Editable) */


.column {
    flex: 1;
    padding: 0 10px;
    box-sizing: border-box;
}

textarea {
    resize: none;
}   

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
    align-items: flex-start; /* columns start at the same top position */
}

.form-container {
    width: 80%;  /* increased from 50% */
    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 0;
}

h2 {
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    color: #1C485B;
}

h3 {
    margin-top: 30px;
    color: #1C485B;
    border-left: 5px solid #1C485B;
    padding-left: 10px;
}

h4 {
    margin-top: 15px;
    color: #1C485B;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

textarea {
    min-height: 100px;
}



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;
}

button:hover {
    background: #00177e;
}

.guidelines-box {
    margin-top: 15px;
    padding: 15px;
    background: #f0f4f7;
    border-left: 4px solid #1C485B; /*#1c485b;*/
    display: none;
}

/* Class to handle hidden elements via JS */
.hidden-file {
    display: none;
}

.attachment-row {
    display: flex;
    gap: 20px;
    width: 100%;
    align-items: flex-start;
}

.attachment-row .column {
    flex: 1;
    min-height: 120px; /* forces equal height even if column is empty */
}