body {
    font-family: "Noto Sans", sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    background-color: #fff;
}

a {
    color: #284162;
    text-decoration: underline;
}

a:hover {
    color: #0535d2;
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.top-nav {
    text-align: right;
    padding: 10px 0;
}

.lang-link {
    font-size: 14px;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo img {
    height: 30px;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 12px;
    border: 1px solid #ccc;
    font-size: 16px;
    width: 250px;
}

.search-box button {
    padding: 9px 12px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-left: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Nav */
.main-nav {
    background-color: #26374a;
    border-top: 2px solid #fff;
}

.menu-btn {
    background-color: #26374a;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
}
.menu-btn:hover {
    background-color: #1c2836;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 15px;
    font-size: 14px;
}

.breadcrumbs a {
    color: #284162;
    text-decoration: underline;
}

.separator {
    margin: 0 5px;
    color: #666;
}

/* Main Content */
main {
    padding-bottom: 40px;
}

h1 {
    font-size: 34px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.heading-hr {
    display: none; /* We will use a red line under the paragraph instead, per the screenshot */
}

.intro {
    font-size: 18px;
    margin-bottom: 15px;
}

main::before {
    /* If we want a hr above intro, but screenshot shows it below intro */
}

/* We will add the red line below intro */
.intro::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #d3080c;
    margin-top: 20px;
}

.covid-notice {
    border-left: 4px solid #d3080c;
    padding: 10px 0 10px 20px;
    margin: 30px 0;
}

.covid-notice h2 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 400;
}

.covid-notice ul {
    margin: 0;
    padding: 0;
}

.covid-notice .no-bullet {
    list-style-type: none;
    margin-bottom: 5px;
}

.covid-notice .sub-list {
    list-style-type: disc;
    padding-left: 40px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.sub-intro {
    font-size: 16px;
    margin-bottom: 30px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    padding: 30px;
    text-align: center;
}

.card h2 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.card p {
    font-size: 16px;
    margin-bottom: 25px;
    min-height: 48px; /* Alignment */
}

.card-grey {
    background-color: #f5f5f5;
}

.card-white {
    background-color: #fff;
    border: 1px solid #ccc;
}

.card-action {
    margin-top: auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 600;
    border: 1px solid transparent;
}

.btn-primary, .btn-dark {
    background-color: #26374a;
    color: #fff !important;
}

.btn-primary:hover, .btn-dark:hover {
    background-color: #1c2836;
    text-decoration: none;
}

.btn-danger {
    background-color: #d3080c;
    color: #fff !important;
}

.btn-danger:hover {
    background-color: #a8060a;
    text-decoration: none;
}

/* Page Actions */
.page-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    margin-bottom: 20px;
}

.btn-action {
    background-color: #eaebed;
    color: #333;
    border: 1px solid #ccc;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-action:hover {
    background-color: #dcdcdc;
}

.date-modified {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
}

/* Footer */
.footer-main {
    background-color: #26374a;
    color: #fff;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.footer-nav li {
    width: 33.33%;
    margin-bottom: 10px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.landscape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.canada.ca/etc/designs/canada/wet-boew/assets/landscape.png') no-repeat right bottom;
    opacity: 0.3;
    z-index: 1;
}

.footer-bottom {
    background-color: #fff;
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.bottom-links li {
    margin-right: 15px;
}

.bottom-links li::after {
    content: "•";
    margin-left: 15px;
    color: #333;
}

.bottom-links li:last-child::after {
    content: "";
}

.bottom-links a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

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

.canada-logo img {
    height: 30px;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .footer-nav li {
        width: 50%;
    }
    .header-main {
        flex-direction: column;
        align-items: flex-start;
    }
    .search-box {
        margin-top: 15px;
        width: 100%;
    }
    .search-box input {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .footer-nav li {
        width: 100%;
    }
    .footer-bottom-content {
        flex-direction: column;
    }
    .canada-logo {
        margin-top: 20px;
    }
}

/* --- Login Page Styles --- */
.gckey-nav {
    background-color: #26374a;
}
.gckey-nav .nav-links {
    display: flex;
}
.gckey-nav a {
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-right: 1px solid #5a6872;
    border-left: 1px solid #5a6872;
    margin-left: -1px; /* collapse borders */
}
.gckey-nav a:first-child {
    border-left: none;
}
.gckey-nav a:hover {
    text-decoration: underline;
}

.gckey-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 5px;
}
.red-line {
    border: 0;
    height: 1px;
    background-color: #d3080c;
    margin-bottom: 30px;
}

.gckey-box {
    border: 1px solid #ccc;
    display: flex;
    margin-bottom: 30px;
}
.gckey-left, .gckey-right {
    padding: 30px;
    flex: 1;
}
.gckey-right {
    border-left: 1px solid #ccc;
}
.gckey-left h2, .gckey-right h2 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}
.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.forgot-pwd {
    margin-bottom: 20px;
}

.form-actions, .signup-action {
    display: flex;
    gap: 10px;
}
.btn-wide {
    width: 120px;
    text-align: center;
}
.btn-secondary {
    background-color: #eaebed;
    color: #333;
    border: 1px solid #ccc;
}
.btn-secondary:hover {
    background-color: #dcdcdc;
    text-decoration: none;
}

.mt-15 {
    margin-top: 15px;
}
.small-text {
    font-size: 14px;
    color: #555;
}

.exit-section {
    text-align: center;
    margin-bottom: 30px;
}
.btn-exit {
    padding: 8px 30px;
}
.gckey-date {
    margin-bottom: 40px;
}

.login-footer {
    background-color: #eaebed;
    padding: 40px 0;
    border-top: 1px solid #ccc;
}
.footer-cols {
    display: flex;
    justify-content: space-between;
}
.footer-cols .col {
    flex: 1;
    padding: 0 15px;
}
.footer-cols h3 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}
.footer-cols ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-cols li {
    margin-bottom: 8px;
}
.footer-cols a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}
.footer-cols a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .gckey-box {
        flex-direction: column;
    }
    .gckey-right {
        border-left: none;
        border-top: 1px solid #ccc;
    }
    .footer-cols {
        flex-direction: column;
    }
    .footer-cols .col {
        margin-bottom: 20px;
    }
    .gckey-nav .nav-links {
        flex-direction: column;
    }
    .gckey-nav a {
        border: none;
        border-bottom: 1px solid #5a6872;
    }
}

/* --- Dashboard Styles --- */
.dashboard-layout {
    display: flex;
    gap: 30px;
}
.dashboard-content {
    flex: 3;
}
.dashboard-sidebar {
    flex: 1;
}
.continue-action {
    text-align: center;
    margin-top: 30px;
}
.btn-continue {
    padding: 10px 40px;
    font-size: 16px;
}
.options-box {
    border: 1px solid #ccc;
    background-color: #fff;
}
.options-header {
    background-color: #f5f5f5;
    padding: 10px 15px;
    border-bottom: 1px solid #ccc;
    color: #333;
    font-weight: bold;
}
.options-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.options-list li {
    border-bottom: 1px solid #eee;
}
.options-list li:last-child {
    border-bottom: none;
}
.options-list a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}
.options-list a:hover {
    background-color: #f9f9f9;
    text-decoration: underline;
}
.mt-40 {
    margin-top: 40px;
}
@media (max-width: 768px) {
    .dashboard-layout {
        flex-direction: column-reverse;
    }
}

/* --- Global Nav Styles --- */
.global-nav {
    background-color: #26374a;
}
.global-nav .nav-links {
    display: flex;
    flex-wrap: wrap;
}
.global-nav a {
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    border-right: 1px solid #5a6872;
    border-left: 1px solid #5a6872;
    margin-left: -1px;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    font-size: 15px;
}
.global-nav a:first-child {
    border-left: none;
}
.global-nav a:hover {
    text-decoration: underline;
    background-color: #1c2836;
}
.global-nav .arrow {
    font-size: 10px;
    margin-left: 5px;
}

/* --- Terms and Conditions Styles --- */
.terms-content {
    margin-bottom: 50px;
    font-size: 16px;
    color: #333;
}
.terms-list {
    margin: 20px 0;
    padding-left: 20px;
}
.terms-list li {
    margin-bottom: 10px;
}
.terms-sublist {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
}
.terms-sublist li {
    margin-bottom: 5px;
}
.terms-note {
    margin-top: 30px;
    margin-bottom: 30px;
    line-height: 1.6;
}
.terms-actions {
    display: flex;
    gap: 15px;
}
.btn-accept {
    padding: 10px 30px;
}
.btn-decline {
    padding: 10px 30px;
}

@media (max-width: 768px) {
    .global-nav .nav-links {
        flex-direction: column;
    }
    .global-nav a {
        border: none;
        border-bottom: 1px solid #5a6872;
        text-align: left;
    }
    .terms-actions {
        flex-direction: column;
    }
}

/* --- Identity Validation Styles --- */
.validation-content {
    margin-bottom: 50px;
    font-size: 16px;
    color: #333;
}
.mb-20 {
    margin-bottom: 20px;
}
.mt-30 {
    margin-top: 30px;
}
.text-danger {
    color: #d3080c;
    font-weight: bold;
}
.validation-form .form-control {
    padding: 8px 12px;
    border: 1px solid #ccc;
    font-size: 16px;
    margin-top: 10px;
}

/* --- Extended Footer Styles --- */
.extended-footer {
    background-color: #e5e7ea;
    border-top: 1px solid #ccc;
    padding-top: 40px;
}
.footer-ext-main {
    padding-bottom: 40px;
}
.ext-footer-cols {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.ext-col {
    flex: 1;
    min-width: 200px;
    padding-right: 20px;
}
.ext-col h3 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}
.mt-20 {
    margin-top: 20px;
}
.ext-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ext-col li {
    margin-bottom: 8px;
}
.ext-col a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
}
.ext-col a:hover {
    text-decoration: underline;
}
.icon-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.footer-icon {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .ext-footer-cols {
        flex-direction: column;
    }
    .ext-col {
        margin-bottom: 30px;
        padding-right: 0;
    }
}

/* --- Admin Login Styles --- */
.admin-login-page {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    background-color: #fff;
}
.admin-login-container {
    display: flex;
    height: 100vh;
}
.admin-login-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #fff;
}
.admin-header {
    background-color: #fcefdc; /* The beige top bar color from screenshot */
    padding: 15px 30px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
}
.admin-header img {
    height: 30px;
}
.admin-illustration {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px; /* space for header */
}
.admin-illustration img {
    max-width: 80%;
    max-height: 70%;
}
.admin-login-right {
    flex: 1;
    background: linear-gradient(135deg, #fbdca9 0%, #8bf0e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.admin-form-wrapper {
    width: 100%;
    max-width: 350px;
}
.admin-form-wrapper h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}
.admin-form-wrapper .form-group {
    margin-bottom: 20px;
}
.admin-form-wrapper label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}
.admin-form-wrapper .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}
.btn-admin-login {
    width: 100%;
    padding: 12px;
    background-color: #4285F4;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 20px;
}
.btn-admin-login:hover {
    background-color: #3367D6;
}
.admin-links {
    text-align: center;
}
.admin-links a {
    color: #333;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .admin-login-container {
        flex-direction: column;
    }
    .admin-login-left {
        display: none; /* Hide illustration on small screens */
    }
    .admin-login-right {
        padding: 20px;
    }
}
