@font-face {
    font-family: 'Glacial Indifference';
    font-style: normal;
    font-weight: 400;
    src: local('Glacial Indifference Regular'), url('GlacialIndifference-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Glacial Indifference';
    font-style: normal;
    font-weight: 700;
    src: local('Glacial Indifference Bold'), url('GlacialIndifference-Bold.woff') format('woff');
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

html {
    height: 100%; 
}


body {
    color: Black;
    background-color: #f1f1f1;

    line-height: normal;

    font-family: 'Glacial Indifference', sans-serif;
    font-size: 0.95em;
    letter-spacing: 0.1rem;


    width: 100%;
    min-width: 800px;

    
    margin: 0px auto 0px auto;
    padding: 0;

    
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

input, select, button {
    margin: 3px 3px 3px 0px;
    border: 1px solid #28425b;
    font-family: 'Glacial Indifference', sans-serif;
}

select {
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 14px;
    color: #28425b;
    text-align: center;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    padding-left: 12px;
}


a:link {
    color: #28425b;
    text-decoration: none;
}
a:hover {
    color: #28425b;
    text-decoration: none;
}
a:active {
    color: #28425b;
    text-decoration: none;
}



#header {
    display: flex; 
    flex-direction: column; 
    background-color: transparent;
    padding: 15px 30px 10px 30px;
    width: 100%; 
    box-sizing: border-box; 
}

.header-top {
    display: flex;
    align-items: center; 
    flex-wrap: wrap; 
    gap: 20px; 
    width: 100%; 
}

.header-logo-container {
    flex: 1 1 auto; 
    display: flex;
    align-items: center;
    min-width: 200px; 
    order: 1; 
}

.header-logo {
    max-height: 160px; 
    width: auto;
    display: block; 
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 1 1 auto; 
    min-width: 280px; 
    order: 3; 
}

#loginForm {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%; 
    gap: 5px; 
}

.login-inputs-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; 
    justify-content: flex-end; 
    gap: 5px; 
}


#loginForm input {
    margin: 0; 
    padding: 8px 12px;
    border: 1px solid #1B3F5E;
    border-radius: 16px;
    font-size: 14px;
    color: #555;
    text-align: center;
    flex: 1 0 150px; 
    max-width: 180px; 
}

#loginForm button {
    background-color: #2B4562;
    color: #f1f1f1;
    border: none;
    border-radius: 16px;
    padding: 8px 20px; 
    cursor: pointer;
    
    text-transform: uppercase;
    flex-shrink: 0; 
}

.login-links {
    font-size: 16px;
    margin-top: 5px;
    text-align: right;
    font-style: italic;
    letter-spacing: 0.1rem;
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.login-links a {
    text-decoration: none;
}

.login-links a:hover {
    text-decoration: underline;
}

.login-error {
    color: #FF0000;
    font-size: 12px;
    margin-top: 5px;
}

.login-link {
    color: #28425b !important;
}

.sign-up-link {
    margin-left: 15px;
    color: #28425b !important;
    font-weight: bold;
}

.login-signup-prompt {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.login-signup-prompt p {
    font-size: 16px;
    color: #c4974d;
    font-style: italic;
    margin: 0;
}

.login-signup-prompt .login-btn,
.login-signup-prompt .signup-btn {
    display: inline-block;
    padding: 2px 8px;
    margin: 0 2px;
    color: #28425b;
    text-decoration: none;
    border-radius: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.login-signup-prompt .login-btn:hover,
.login-signup-prompt .signup-btn:hover {
    background-color: #c4974d;
}

.user-info {
    text-align: right;
}

.user-name {
    font-size: 32px;
    color: #2B4562;
    font-weight: bold;
}

.user-links {
    font-size: 12px;
    text-transform: lowercase;
    display: flex;
    flex-direction: row;
    gap: 32px;
    margin-top: 10px;
    items-align: center;
    justify-content: flex-end;
    font-style: italic;
}

.profile-button a {
    color: #819596;
    font-weight: bold;
}

.logout-button a {
    color: #c4974d;
    font-weight: bold;
}

#nav {
    display: flex;
    justify-content: center; 
    flex-wrap: wrap; 
    padding: 0;
    margin: 10px 0; 
    gap: 12px;
    background-color: transparent;
    flex: 2 1 300px; 
    order: 2; 
    width: auto; 
    min-width: fit-content; 
}

.nav-button {
    display: inline-block;
    padding: 10px 20px; 
    margin: 0;
    background-color: #c4974d;
    color: #f1f1f1 !important;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
    border: none;
    font-size: 14px;
    white-space: nowrap; 
    flex-shrink: 0; 
}

.nav-button:hover {
    background-color: #c99540;
}

.nav-button.active {
    background-color: #597D96;
}

#content {
    text-align: left;
    padding: 8px 8px 20px 8px;
    margin: 0 auto 0 auto;
    min-width: 80%;
    max-width: 95%;
    background-color: transparent;
    flex: 1 0 auto; 
}

.footer-container {
    position: relative;
    margin-top: 40px;
    flex-shrink: 0;
    width: 100%;
}

.footer-logo {
    position: absolute;
    top: -110px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 198px; 
    overflow: hidden;
    z-index: 2;
}

.sf-logo {
    max-width: 100%;
    height: auto;
    display: block; 
    object-fit: contain; 
    object-position: top; 
}

#footer {
    font-size: 0.9em;
    text-align: center;
    padding: 20px 10%;
    margin: 0 auto;
    min-width: 800px;
    background-color: #D6A349;
    color: #f1f1f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#footer a {
    color: #f1f1f1;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9em;
}

#footer a:hover {
    text-decoration: underline;
}

.footer-left, .footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    font-style: italic;
}

.footer-right {
    align-items: flex-end;
    text-align: right;
}

.footer-center {
    text-align: center;
    font-size: 0.9em;
    line-height: 1.5;
    position: relative;
}


.header-logo {
    display: inline-block;
    vertical-align: middle;
}

#tabs {
    text-align: left;
    margin: 20px 5px 15px 5px;
    font-size: 0.9em;
    white-space: nowrap;
    
}

#main-menu {
    text-align: left;
    margin: 5px 5px 5px 5px;
    font-size: 0.9em;
    white-space: nowrap;
    
}

#nav .selectedNav a:link {
    color: Black;
    background-color: #819595;
}
#nav .selectedNav a:visited {
    color: Black;
    background-color: #f1f1f1;
}
#nav .selectedNav a:hover {
    color: Black;
    background-color: #f1f1f1;
}
#nav .selectedNav a:active {
    color: Black;
    background-color: #f1f1f1;
}


#footer a:link {
    color: #28425b;
}
#footer a:visited {
    color: #28425b;
}
#footer a:hover {
    color: #28425b;
}
#footer a:active {
    color: #28425b;
}


#main-heading {
    float: left;
    margin: 5px;
    font-size: 2.0em;
    color: AliceBlue;
}
#main-heading a:link {
    color: AliceBlue;
}
#main-heading a:visited {
    color: AliceBlue;
}
#main-heading a:hover {
    color: AliceBlue;
}
#main-heading a:active {
    color: AliceBlue;
}


.header-logo {
    width: auto;
}


#common-project-name,
#common-address,
#common-jurisdiction-name,
#common-legaldesc,
#common-pro-name,
#common-firm-name,
#common-firm-address1,
#common-firm-address2,
#common-firm-phone,
#common-firm-permit,
#scheda-name,
#scheda-address1,
#scheda-address2,
#scheda-agent-name,
#schedf-agent-name,
#schedf-geotech-perm,
#schedf-geotech-temp,
#schedf-architectural,
#schedf-structural,
#schedf-mechanical,
#schedf-plumbing,
#schedf-fire-suppression,
#schedf-electrical,
#scheds-addr1,
#scheds-addr2,
#scheds-addr3,
#scheds-addr4,
#scheds-reviews-by,
#scheds-retainee {
    
    width: 95%;
}


#drop-area {
    z-index: 50;
    position: relative;
    width: 100%;
    height: 50px;
}
#drop-area-txt {
    z-index: 40;
    position: relative;
    top: -34px;
    margin-bottom: -18px;
    width: 100%;
    text-align: center;
}



.dl-link a:link,
.dl-link a:visited {
    color: #f1f1f1;
    font-size: 1.1em;
    padding: 10px 20px;
    background-color: #c4974d;
    white-space: pre;
    float: left;
    margin: 5px;
}


.drag-drop-enter {
    border: 1px dashed Orange;
}
.drag-drop-leave {
    border: 1px dashed #28425b;
}


.radioBtn input[type="checkbox"] {
    display: none;
}

.radioBtn input[type="radio"] {
    display: none;
}

.radioBtn label {
    display: inline-block;
    background-color: #28425b;
    color: Black;
    border-radius: 0.2em;
    padding: 5px 10px;

    border: 1px solid #28425b;
}

/*.radioBtn label:hover {
border: 1px solid AliceBlue;
}*/

.radioBtn input[type="radio"]:checked + label {
    background-color: #28425b;
    color: #f1f1f1;

    border: 1px solid #28425b;
}

.radioBtn input[type="checkbox"]:checked + label {
    background-color: #28425b;
    color: #f1f1f1;

    border: 1px solid #28425b;
}

div.column2 {
    -moz-column-count: 2;
    -moz-column-gap: 0px;
    -webkit-column-count: 2;
    -webkit-column-gap: 0px;
    column-count: 2;
    column-gap: 0px;
}

.ir-items-reviewed label {
    cursor: pointer;
    user-select: none;
}



.features_title_list {
    margin-bottom: -1em;
    font-weight: bold;
}

.features_title {
    font-weight: bold;
}

.faq_title {
    font-size: larger;
    font-weight: bold;
}

.faq_q {
    padding-top: 0.5em;
    padding-bottom: 0.1em;
    color: #28425b;
}

.faq_a {
    padding-left: 1.2em;
}

.contactDiv {
    margin: 6px;
}

.contactAlt {
    padding: 1em;
    align-items: center;
    font-size: 2em;
    text-align: center;
}

.contactInput {
    padding: 2px;
    margin: 2px;

    border: 1px solid #28425b;

    width: 250px; 
    height: 1.3em;
    font-size: normal;
}

.contactInputMessage {
    padding: 2px;
    margin: 2px;

    border: 1px solid #28425b;

    width: 400px; 
    height: 150px;
    font-size: normal;
}

.contactInputVerification {
    padding: 2px;
    margin: 2px;

    border: 1px solid #28425b;

    width: 200px; 
    height: 1.3em;
    height: 100px;
    font-size: normal;
}

.login-form {
    display: flex;
    align-items: center;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
    padding: 8px 12px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 180px;
}

.login-form button {
    background-color: #2B4562;
    color: #f1f1f1;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.login-form button:hover {
    background-color: #4682B4;
}

.forgot-password {
    font-size: 0.8em;
    text-align: right;
    margin-top: 5px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.contact-title {
    text-align: center;
    color: #b4b4b4;
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: lighter;
    font-style: italic;
}

.form-group {
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    width: 100%;
    justify-content: flex-start;
}

.form-group label {
    margin-top: 8px;
    margin-bottom: 8px;
    color: #6e8080;
    font-weight: normal;
    text-align: right;
    width: 25%;
    padding-right: 15px;
}

.form-control {
    width: 70%;
    padding: 8px 12px;
    border: 1px solid #1B3F5E;
    border-radius: 16px;
    font-size: 16px;
    background-color: transparent;
}

.verification-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 70%;
}

.verification-input {
    flex: 1;
    width: auto;
}

.verification-image {
    max-height: 40px;
}

.message-input {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #c4974d;
    color: #f1f1f1;
    border: 1px solid #1B3F5E;
    border-radius: 16px;
    padding: 10px 60px;
    cursor: pointer;
    margin-top: 10px;
    margin-left: calc(25% + 15px);
    font-size: 1rem;
    text-transform: uppercase;
}

.contact-alt {
    margin-top: 30px;
    color: #6e8080;
    font-style: italic;
    margin-left: calc(25% + 15px);
}

.contact-alt a {
    color: #4682B4;
    text-decoration: none;
}

.contact-alt a:hover {
    text-decoration: underline;
}


.hero-section {
    text-align: center;
    padding: 60px 0;
    background-color: #f5f5f5;
}

.hero-section h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #28425a;
}

.hero-section h2 {
    font-size: 2.5em;
    font-weight: lighter;
    color: #28425a;
}

.highlight {
    color: #c4974d; 
}

.letters-section {
    background-color: #819595; 
    color: #f1f1f1;
    padding: 60px 80px; /* 60px top/bottom, 80px left/right */
    margin: 20px 0;
}

.letters-section .highlight {
    color: #1B3F5E;
    font-style: italic;
}

.letters-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: lighter;
    font-style: italic;
    color: #f1f1f1;
}

.letters-section h3 {
    font-size: 1.7em;
    color: #f1f1f1;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    border-bottom: 2px solid #c4974d;
    padding-bottom: 4px;
    font-style: italic;
}

.letters-section p,
.letters-section li {
    font-family: 'Inter', sans-serif;
    font-size: 1.05em;
    letter-spacing: 0.02rem;
    line-height: 1.6;
    color: #f1f1f1;
}

.letters-section ul {
    list-style: disc inside;
    padding-left: 20px;
    text-align: left;
    margin-bottom: 1.5em;
}

.letters-section li {
    margin: 12px 0;
    line-height: 1.5;
    padding-left: 4px;
    color: #f1f1f1;
}

.letters-section li::marker {
    color: #c4974d;
}

.letters-section a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: underline;
}

.letters-section a:hover {
    color: #c4974d;
    text-decoration: none;
}

/* Optional: Visual grouping for each code/region block */
.loa-group {
    padding: 1.2em 1.5em;
    margin-bottom: 2em;
    /*background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #c4974d;*/
    border-radius: 8px;
}

.features-section {
    background-color: #1B3F5E;
    color: #f1f1f1;
    padding: 40px;
    margin: 20px 0;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: lighter;
    font-style: italic;

}

.features-section ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.features-section li {
    margin: 10px 0;
    font-size: 1.1em;
}

.questions-section {
    padding: 40px;
    margin: 20px 0;
    letter-spacing: 0.1rem;
}

.questions-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.questions-column {
    flex: 1;
}


.questions-section h2 {
    text-align: left;
    margin-top: 0;
    margin-bottom: 40px;
    letter-spacing: 0.2rem;
    font-style: italic;
    font-size: 2.5rem;
    font-weight: lighter;
    color: #28425B;
}

.questions-section .highlight {
    font-style: normal;
    font-weight: bold;
    color: #c4974d;
}

.question { 
    margin-bottom: 30px;
    border-left: 4px solid #4682B4;
    padding-left: 20px;
}

.question h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #28425a;
    font-weight: bold;
    font-style: italic;
    font-size: 1.1rem;
}

.question p {
    margin: 0;
    line-height: 1.5;
    color: #666;
}


.schedule-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.menu-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 20px 5px 20px 5px;
}

.menu-button {
    flex-grow: 1;
    font-family: 'Glacial Indifference', sans-serif;
    line-height: 0px;
    padding: 15px 30px;
    background-color: transparent;
    border: 2px solid #28425b;
    border-radius: 16px;
    font-size: 20px;
    cursor: pointer;
    min-width: 150px;
    text-align: center;
    color: #333;
    text-transform: uppercase;
    height: 40px;
}

.menu-button.save-download {
    flex-grow: 3;
    max-width: 60%;
}

.tab-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    flex-grow: 1;
    padding: 15px 30px;
    border-radius: 16px;
    border: 2px solid #28425b;
    font-size: 20px;
    font-family: 'Glacial Indifference', sans-serif;
    line-height: 0px;
    cursor: pointer;
    min-width: 150px;
    height: 40px;
    text-align: center;
    text-transform: uppercase;
    background-color: #819596;
    color: #f1f1f1;
}

.tab-button.active {
    background-color: #c4974d;
}

.schedule-section {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 20px;
    margin-bottom: 20px;
}

.section-left {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}

.section-right {
    flex: 1;
    min-width: 300px;
}

.schedule-panel {
    background-color: transparent;
    border: 4px solid #28425b;
    margin-bottom: 20px;
    width: 100%;
}

.no-panel-header {
    color: #c4974d;
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.panel-header {
    background-color: #28425b;
    color: #f1f1f1;
    padding: 8px 15px 15px 15px;
    font-size: 20px;
    text-transform: uppercase;
}

.panel-content {
    padding: 20px;
    background-color: transparent;
}

.form-row {
    display: flex;
    margin-bottom: 4px;
    align-items: center;
    gap: 8px;
}

.form-col {
    display: flex;
    flex-direction: column;
    margin-bottom: 4px;
    gap: 8px;
}

.panel-column {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-label {
    width: 40%;
    text-align: right;
    padding-right: 15px;
    font-weight: 400;
    font-size: 16px;
    color: #555;
}

.form-input {
    max-width: 50%;
    flex-grow: 1;
}


.form-input input[type="text"] {
    width: 50%;
    padding: 10px;
    border: 2px solid #28425b;
    background-color: transparent;
    border-radius: 20px;
    font-size: 16px;
    font-family: 'Glacial Indifference', sans-serif;
}

.form-input select {
    width: 100%;
    padding: 10px;
    border: 2px solid #28425b;
    background-color: transparent;
    border-radius: 20px;
    font-size: 16px;
    font-family: 'Glacial Indifference', sans-serif;
    text-align: left;
}

.form-input .initials {
    width: 50px !important;
}

.form-input-square input[type="text"] {
    padding: 10px;
    font-size: 16px;
    font-family: 'Glacial Indifference', sans-serif;
    font-style: italic;
}

.ahj-group {
    display: flex;
    flex-direction: row;
    gap: 4px;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
}

.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 10px;
}

.checkbox-row {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 0; 
}

.checkbox-item label {
    font-size: 16px;
}

.orange {
    color: #c4974d;
}

input::placeholder {
    font-style: italic;
    text-transform: lowercase;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #28425b;
    border-radius: 8px;
    background-color: #f1f1f1;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}

input[type="checkbox"].checkbox-orange {
    border-color: #c4974d;
}

input[type="checkbox"].checkbox-orange:checked::after {
    border-color: #c4974d;
}

input[type="checkbox"]:checked {
    background-color: #f1f1f1;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 0px;
    width: 8px;
    height: 12px;
    border: solid #28425b;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #28425b;
    border-radius: 8px;
    background-color: #f1f1f1;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}

input[type="radio"]:checked {
    background-color: #f1f1f1;
}

input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #28425b;
}

.save-button {
    font-family: 'Glacial Indifference', sans-serif;
    font-size: 24px;
    line-height: 0px;
    padding: 20px 30px;
    border: 2px solid #28425b;
    background-color: transparent;
    border-radius: 16px;
    cursor: pointer;
    min-width: 150px;
    width: 100%;
    text-align: center;
    color: #333;
    text-transform: uppercase;
    height: 40px;
}

.footer-info {
    font-size: 14px;
    color: #c4974d;
    font-style: italic;
    text-align: center;
}

.today-button {
    font-family: 'Glacial Indifference', sans-serif;
    font-size: 20px;
    background-color: #28425b;
    color: #f1f1f1;
    padding: 0.5rem;
    letter-spacing: 0.2rem;
}


.reset-password-container,
.signup-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
}


.form-container h2 {
    color: #28425b;
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.form-description {
    text-align: center;
    font-size: 14px;
    color: #28425b;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #28425b;
    font-size: 14px;
    text-transform: uppercase;
}

.g-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.tos-agreement {
    text-align: center;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 20px;
}

.tos-agreement a {
    color: #28425b;
    text-decoration: underline;
}

.alert-success,
.alert-error {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
}

.alert-success {
    background-color: #e8f4f8;
    color: #28425b;
    border: 1px solid #a8c6d8;
}

.alert-error {
    background-color: #ffebeb;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
}


.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.profile-title {
    text-align: center;
    color: #b4b4b4;
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: lighter;
    font-style: italic;
}

.profile-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-column {
    flex: 1;
}

.profile-panel {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.profile-panel-header {
    background-color: #28425b;
    color: #f1f1f1;
    padding: 10px 15px;
    font-weight: lighter;
    letter-spacing: 0.1rem;
    font-size: 20px;
}

.profile-actions {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.alert-container {
    margin: 20px auto;
    max-width: 1000px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #28425b;
}

.alert-success {
    color: #28425b;
    background-color: #f1f1f1;
    padding: 5px 5px;
}

.alert-error {
    color: #c4974d;
    padding: 5px 5px;
}

.downloads-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.professionals-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.professional-item {
    padding: 15px;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    border: 2px solid #28425b;
}

.seal-container {
    display: flex;
    align-items: center;
    padding-left: 40px;
}

.seal-image {
    width: 0.5in;
    height: 0.5in;
    vertical-align: middle;
    object-fit: contain;
    border: 1px solid #ddd;
}

.seal-file-input {
    flex: 1;
    border: none;
}

.remove-seal-btn {
    margin-left: 15px;
    background-color: #f1f1f1;
    color: #28425b;
    border: 1px solid #28425b;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
}

.delete-btn {
    font-family: arial;
    background-color: #28425b;
    color: #f1f1f1;
    border: none;
    border-radius: 32px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 1.5em;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    place-self: end;
}

.add-professional {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 15px;
}

.add-pro-btn {
    background-color: #28425b;
    color: #f1f1f1;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

@media (max-width: 1200px) {
    .header-top {
        justify-content: space-around; 
        gap: 15px;
    }

    #nav {
       flex-basis: 400px; 
       order: 3; 
    }

    .header-right {
        min-width: 250px; 
        order: 2;
    }

    .header-logo {
        max-height: 200px; 
    }

     #loginForm input {
        flex-basis: 130px; 
     }
}



@media (max-width: 768px) {
    #header {
        padding: 10px 15px; 
    }

    .header-top {
        flex-direction: column; 
        align-items: center; 
        gap: 15px;
    }

    .header-logo-container {
        order: 1; 
        flex-basis: auto; 
        min-width: 0; 
        width: 100%; 
        justify-content: center; 
    }

    .header-logo {
        max-height: 80px; 
    }

    #nav {
        order: 3; 
        width: 100%; 
        justify-content: center; 
        margin: 10px 0;
        flex-basis: auto; 
    }

    .nav-button {
        padding: 8px 15px;
        font-size: 13px;
    }

    .header-right {
        order: 2; 
        align-items: center; 
        width: 100%; 
        min-width: 0; 
        flex-basis: auto; 
    }

    #loginForm {
        align-items: center; 
        max-width: 320px; 
    }

    .login-inputs-container {
        flex-direction: column; 
        width: 100%;
        gap: 8px;
    }

    #loginForm input,
    #loginForm button {
        width: 100%; 
        max-width: 100%;
        flex: 1 1 auto; 
        margin: 0;
    }

     #loginForm button {
        padding: 10px 20px; 
    }

    .login-links {
        justify-content: center; 
        gap: 15px;
        font-size: 14px; 
        flex-wrap: wrap;
    }

    .user-info {
        text-align: center; 
    }

    .user-name {
        font-size: 24px; 
    }

    .user-links {
        justify-content: center; 
        font-size: 11px;
        gap: 20px;
    }
}


@media (max-width: 480px) {
     .header-logo {
        max-height: 60px; 
    }
     #nav {
        gap: 8px;
     }
    .nav-button {
        padding: 8px 10px;
        font-size: 12px;
    }
    .login-links {
         font-size: 13px;
         gap: 10px;
    }
}






#content {
    text-align: left;
    padding: 20px; 
    margin: 0 auto;
    max-width: 1200px; 
    width: 100%; 
    box-sizing: border-box; 
    background-color: transparent;
    flex: 1 0 auto;
}

.footer-container {
    position: relative;
    margin-top: 40px;
    flex-shrink: 0;
    width: 100%;
}

.footer-logo {
    position: absolute;
    top: -110px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 198px; 
    overflow: hidden;
    z-index: 2;
}

.sf-logo {
    max-width: 100%;
    height: auto;
    display: block; 
    object-fit: contain; 
    object-position: top; 
}

#footer {
    font-size: 0.9em;
    text-align: center;
    padding: 20px 5%; 
    margin: 0 auto;
    width: 100%; 
    box-sizing: border-box; 
    background-color: #D6A349;
    color: #f1f1f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
    gap: 15px; 
    position: relative;
}

.footer-left, .footer-center, .footer-right {
    flex: 1 1 200px; 
}

.footer-left { text-align: left; align-items: flex-start;}
.footer-center { text-align: center;}
.footer-right { text-align: right; align-items: flex-end;}

@media (max-width: 768px) {
    #footer {
        flex-direction: column; 
        align-items: center; 
        text-align: center;
        padding: 20px 15px;
    }
    .footer-left, .footer-center, .footer-right {
        align-items: center;
        text-align: center;
        width: 100%;
    }
}

#lookup-ahj-btn.btn-lookup,
button.btn-lookup {
    font-family: 'Glacial Indifference', sans-serif !important;
    font-size: 14px !important;
    background-color: #28425b !important;
    color: #f1f1f1 !important;
    border: 1px solid #1a2f42 !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    margin-left: 8px !important;
    cursor: pointer !important;
    letter-spacing: 0.1rem !important;
    transition: background-color 0.2s !important;
    height: auto !important;
    line-height: normal !important;
    white-space: nowrap !important;
}

#lookup-ahj-btn.btn-lookup:hover,
button.btn-lookup:hover {
    background-color: #1a2f42 !important;
}

#lookup-ahj-btn.btn-lookup:disabled,
button.btn-lookup:disabled {
    background-color: #5a6f83 !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

// ahj lookup status messages
.status-message {
    padding: 10px 15px;
    margin: 8px 0;
    font-size: 14px;
    display: inline-block;
}

.status-message.success {
    background-color: #e8f4f8;
    color: #28425b;
    border: 1px solid #a8c6d8;
}

.status-message.error {
    background-color: #ffebeb;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
}

.status-message.loading {
    background-color: #f8f8f8;
    color: #5a6f83;
    border: 1px solid #e0e0e0;
    font-style: italic;
}