 /* assets/css/form.css */

 body {
    font-family: 'Quicksand', sans-serif;
    background-color: #f0f0f0;
    margin: 0;
}
.form-container {
    width: 70%;
    max-width: 800px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 2.5rem 0 0 0;
    margin: 2rem auto;
    overflow: hidden;
}

@media (max-width: 768px) {
.form-container {
    width: 90% !important;
  }
	
	.form-responsive {
		width: 72% !important;
	}
	
	.email {
    width: 75% !important;
}
	
.firstnamelastname {
    margin-bottom: 0rem !important;
		flex-direction: column !important;
	    gap: 0px !important;
}
	
input#firstName {
    margin-bottom: 0px !important;
	}

input#surname {
    margin-bottom: 0px !important;
	}}

#firstName,#surname,#email,#position,#department,#specialRequirements,#courseCode,.input-field {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    border: 1px solid #0066cc;
    box-shadow: 0 1px 3px rgba(0, 102, 204, 0.1);
    box-sizing: border-box;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 1.5rem;
}

#position,#department {
    min-height: 2.75rem;
}

.textarea-field {
    min-height: 100px;
    resize: vertical;
}

#firstName:focus,#surname:focus,#email:focus,#position:focus,#department:focus,#specialRequirements:focus,#courseCode:focus,.input-field:focus {
    outline: none;
    border-color: #0052a3;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}
h2 {
    font-weight: 700 !important;
    color: #333;
    font-size: 1.75rem;
    margin: 0 0 1rem;
    padding-left: 3rem;
    padding-right: 3rem;
    line-height: 1.3;
}

h3 {
    font-weight: 700 !important;
    color: #333;
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem;
    padding-left: 3rem;
    padding-right: 3rem;
}
#nextBtn:hover {
    background-color: #555;
    color: white;
    box-shadow: none;
}
p {
    font-size: 1rem;
    color: #555;
    margin: 0 0 1.5rem;
    padding-left: 3rem;
    padding-right: 3rem;
    line-height: 1.6;
}
.button-container {
    width: 100%;
    background-color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 0;
    margin-top: 2rem;
}
.button {
    flex: 1;
    color: white;
    border: none;
    height: 3.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
    background-color: transparent;
}
.back-button {
    justify-content: flex-start;
    color: rgba(255, 255, 255, 0.7);
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
}

.next-button {
    justify-content: flex-end;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

.next-button:hover {
    background-color: rgba(255, 255, 255, 0.25);
}
.button svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    fill: currentColor;
    stroke: currentColor;
}
.column-container {
display: grid; /* Use grid layout */
grid-template-columns: 1fr; /* Single column layout */
gap: 0.5rem; /* Space between rows */
}
.checkbox {
    margin: 1rem 0;
}
.final-button {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 10px;
    height: 2rem;
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 2rem;
    padding: 0;
    text-transform: uppercase;
}
.register-button {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 10px;
    height: 4rem; /* Matches the height of the NEXT button */
    width: 100%; /* Adjust width as necessary */
    cursor: pointer;
    font-size: 1.2rem; /* Same font size as NEXT button */
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: end; /* Centered text within the button */
}
.info-box {
    border: 2px solid #0066cc;
    border-radius: 15px;
    padding: 1rem;
    margin: 2rem 3rem;
}

.info-box .course-label {
    margin: 0 0 0.5rem;
    padding: 0;
}

.form-fields {
    margin-left: 3rem;
    margin-right: 3rem;
}

.form-fields label {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.form-fields .required {
    color: #c00;
}

.dante-enrollment-error {
    padding-bottom: 2.5rem;
}

.dante-enrollment-error p {
    margin-bottom: 0;
}

.signup-button {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .form-fields {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
}