html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html,
body {
  min-height: 100%;
  padding: 0;
  margin: 0;
}

.logo-link {
    text-decoration: none;
}

/* Desktop: horizontal nav in header */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: var(--wa-space-xs);
}

.login-section {
    margin-left: auto;
}

/* Desktop: collapse the sidebar � nav is shown inline in header instead */
wa-page[view='desktop'] {
    --menu-width: 0;
}

wa-page[view='desktop'] [slot="navigation"] {
    display: none;
}

/* Mobile: hide header nav & login � they're in the drawer */
wa-page[view='mobile'] .desktop-nav,
wa-page[view='mobile'] .login-section {
    display: none;
}

/* Mobile drawer: stack login items vertically */
[slot="navigation"] .login-nav {
    flex-direction: column;
    align-items: stretch;
}

.login-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: var(--wa-space-2xs);
}

.login-nav a {
    text-decoration: none;
    color: var(--wa-color-neutral-800);
    font-weight: 500;
}

.login-nav button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--wa-color-neutral-800);
    font-weight: 500;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
}

.brand-footer {
    background: linear-gradient(to bottom, #0091D6, #006CA0);
    color: var(--wa-color-brand-on-loud);
}

.centered-footer {
    display: flex;
    justify-content: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    padding: var(--wa-space-s) var(--wa-space-m);
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    width: 100%;
    text-align: center;
    color: var(--wa-color-brand-on-loud);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-container a {
    color: var(--wa-color-brand-on-loud);
    text-decoration: underline;
}

.primaryColor1 {
    color: #0091D6
}
primaryColor2 {
    color: #D64500
}
primaryColor3 {
    color: #D6B000
}
primaryBGColor1 {
    background-color: #0091D6
}
primaryBGColor2 {
    background-color: #D64500
}
primaryBGColor3 {
    background-color: #D6B000
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}
/* ===== Landing Page Styles ===== */

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: 500px;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #2d3436;
    line-height: 1.2;
}

.hero-highlight {
    color: #0091D6;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    color: #636e72;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
}

/* Button Styles */
.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #F5C518;
    color: #1A6BAA;
    border-color: #F5C518;
}

.btn-primary:hover {
    background-color: #e0b415;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(245, 197, 24, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #1A6BAA;
    border-color: #1A6BAA;
}

.btn-secondary:hover {
    background-color: rgba(26, 107, 170, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 107, 170, 0.2);
}

/* News Section */
.news-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
}

.news-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0091D6;
    text-align: center;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news-card-content {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A6BAA;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
}

.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    font-size: 1.1rem;
    color: #6c757d;
}

/* Responsive Design */
.courts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin-bottom: var(--wa-space-l);
}

.courts-header-text {
    display: flex;
    flex-direction: column;
    align-items:start;
    padding-bottom: 3px;
}

.courts-header-h1 {
    margin: 0 0 0 0;
    font-size: var(--wa-font-size-2xl);
    color: var(--wa-color-neutral-900);
}

.courts-header-text > span:last-child {
    color: var(--wa-color-neutral-600);
}
/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 2rem;
    margin: -5px -5px 0 -5px;
}

.login-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 2.5rem 2rem;
    width: 100%;
    max-width: 560px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.login-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.login-subtext {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1.75rem;
}

.login-field {
    margin-bottom: 1rem;
}

.login-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.login-input:focus {
    border-color: #0091D6;
    box-shadow: 0 0 0 3px rgba(0, 145, 214, 0.15);
}

.login-remember {
    font-size: 0.9rem;
    color: #495057;
}

.login-remember label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.login-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.login-btn {
    background-color: #0091D6;
    color: #fff;
    border: none;
    padding: 0.65rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-btn:hover {
    background-color: #007bbd;
}

.login-forgot {
    font-size: 0.9rem;
    color: #6c757d;
    text-decoration: none;
}

.login-forgot:hover {
    color: #0091D6;
    text-decoration: underline;
}

.login-divider {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.login-external {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.login-external-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.login-external-btn:hover {
    background-color: #f0f0f0;
    border-color: #adb5bd;
}

.login-register {
    margin-top: 0.5rem;
}

.login-register a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: underline;
}

.login-register a:hover {
    color: #0091D6;
}

@media (max-width: 480px) {
    .login-card {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .login-heading {
        font-size: 1.4rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-logo {
        max-height: 300px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .news-title {
        font-size: 2rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-logo {
        max-height: 220px;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* News Modal */
.news-modal-image-wrapper {
    width: 100%;
    max-height: 320px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.news-modal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-modal-meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.news-modal-content {
    font-size: 1rem;
    color: #495057;
    line-height: 1.7;
}

.news-modal-content h1,
.news-modal-content h2,
.news-modal-content h3,
.news-modal-content h4,
.news-modal-content h5,
.news-modal-content h6 {
    color: #1A6BAA;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.news-modal-content h1 { font-size: 1.5rem; }
.news-modal-content h2 { font-size: 1.3rem; }
.news-modal-content h3 { font-size: 1.15rem; }

.news-modal-content p {
    margin-bottom: 0.75rem;
}

.news-modal-content a {
    color: #0091D6;
    text-decoration: underline;
}

.news-modal-content a:hover {
    color: #006CA0;
}

.news-modal-content ul,
.news-modal-content ol {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.news-modal-content li {
    margin-bottom: 0.25rem;
}

.news-modal-content hr {
    border: none;
    border-top: 1px solid #dee2e6;
    margin: 1.25rem 0;
}

.news-modal-content blockquote {
    border-left: 4px solid #0091D6;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #6c757d;
    font-style: italic;
}

.news-modal-content strong,
.news-modal-content b {
    font-weight: 700;
}

.news-modal-content em,
.news-modal-content i {
    font-style: italic;
}

/* ===== Manage Account Pages ===== */

.manage-page {
    background-color: #f8f9fb;
}

.manage-hero {
    background: linear-gradient(135deg, #0091D6, #006CA0);
    color: #fff;
    padding: 3rem 1.5rem;
}

.manage-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.manage-hero h1 {
    font-size: 2.25rem;
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.manage-hero-subtitle {
    font-size: 1.05rem;
    margin: 0;
    opacity: 0.9;
}

.manage-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 2rem;
}

/* Sidebar Navigation */
.manage-sidebar {
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.manage-nav {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
}

.manage-nav-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a3b5d;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.manage-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.manage-nav a {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: #495867;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.manage-nav a:hover {
    background-color: #f1f5f9;
    color: #0a7db8;
}

.manage-nav a.active {
    background-color: #e6f4fb;
    color: #0a7db8;
    font-weight: 600;
}

/* Content Cards */
.manage-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    padding: 2.25rem;
}

.manage-card-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a3b5d;
    margin: 0 0 0.25rem;
}

.manage-card-subtext {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1.75rem;
}

.manage-card-text {
    font-size: 0.95rem;
    color: #495867;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Form Fields */
.manage-field {
    margin-bottom: 1.25rem;
}

.manage-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a3b5d;
    margin-bottom: 0.4rem;
}

.manage-input {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    background: #fff;
}

.manage-input:focus {
    border-color: #0a7db8;
    box-shadow: 0 0 0 3px rgba(10, 125, 184, 0.12);
}

.manage-input:disabled {
    background-color: #f8fafc;
    color: #6c757d;
    cursor: not-allowed;
}

.manage-input-group {
    position: relative;
}

.manage-input-group .manage-input {
    padding-right: 7rem;
}

.manage-input-badge {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.manage-badge-success {
    background: #d1fae5;
    color: #065f46;
}

.manage-badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.manage-link-btn {
    background: none;
    border: none;
    color: #0a7db8;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0;
    text-decoration: underline;
}

.manage-link-btn:hover {
    color: #065a8d;
}

.manage-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
}

/* Sections within a card */
.manage-section {
    padding: 1.25rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.manage-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.manage-section:first-of-type {
    padding-top: 0;
}

.manage-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #244867;
    margin: 0 0 0.75rem;
}

.manage-section-danger {
    border-bottom: none;
}

/* External Login Rows */
.manage-login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.manage-login-provider {
    font-weight: 600;
    color: #1a3b5d;
}

.manage-login-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Alert Styles */
.manage-alert {
    padding: 0.85rem 1.15rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.manage-alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.manage-alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
    .manage-body {
        grid-template-columns: 1fr;
    }

    .manage-sidebar {
        position: static;
    }

    .manage-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .manage-nav a {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .manage-hero h1 {
        font-size: 1.75rem;
    }

    .manage-card {
        padding: 1.5rem;
    }
}

/* Privacy Page */
.privacy-page {
    background-color: #f8f9fb;
    color: #1f2d3d;
}

.privacy-hero {
    background: linear-gradient(135deg, #0091D6, #006CA0);
    color: #fff;
    padding: 3.5rem 1.5rem;
}

.privacy-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.privacy-hero h1 {
    font-size: 2.75rem;
    margin: 0.5rem 0 0.75rem;
    font-weight: 700;
}

.privacy-effective {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0;
    opacity: 0.85;
}

.privacy-hero-subtitle {
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0;
    opacity: 0.95;
}

.privacy-hero-subtitle a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.privacy-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2.5rem;
}

.privacy-content {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.privacy-content section + section {
    margin-top: 2.25rem;
}

.privacy-content h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1a3b5d;
}

.privacy-content h3 {
    font-size: 1.1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: #244867;
}

.privacy-content p,
.privacy-content li {
    font-size: 1rem;
    line-height: 1.7;
    color: #495867;
}

.privacy-content ul {
    padding-left: 1.25rem;
    margin: 0.5rem 0 1.25rem;
}

.sec-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e6f4fb;
    color: #0a7db8;
    font-weight: 700;
    font-size: 0.9rem;
}

.privacy-callout {
    background: #f1f6fb;
    border-left: 4px solid #0a7db8;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin: 1rem 0;
    color: #1a3b5d;
}

.privacy-contact {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1rem 1.25rem;
    border-radius: 8px;
}

.privacy-back-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: #0a7db8;
    font-weight: 600;
    text-decoration: none;
}

.privacy-back-top:hover {
    text-decoration: underline;
}

.privacy-toc {
    background: #fff;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.privacy-toc-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a3b5d;
    font-size: 1.05rem;
}

.privacy-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.privacy-toc a {
    text-decoration: none;
    color: #0a7db8;
    font-weight: 600;
    font-size: 0.95rem;
}

.privacy-toc a:hover {
    text-decoration: underline;
}

.page-hero {
    background: linear-gradient(135deg, #0091D6, #006CA0);
    color: #fff;
    padding: 1rem 2.5rem 1rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items:center;
    text-align: left;
    margin-bottom:1.5rem
}

.page-hero-inner {
    max-width: 1100px;
}

.page-hero h1 {
    font-size: 2.75rem;
    margin: 0.25rem 0 0.25rem;
    font-weight: 700;
}

.page-effective {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0;
    opacity: 0.85;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0;
    opacity: 0.95;
}

    .page-hero-subtitle a {
        color: #fff;
        text-decoration: underline;
        font-weight: 600;
    }


@media (max-width: 960px) {
    .privacy-body {
        grid-template-columns: 1fr;
    }

    .privacy-toc {
        position: static;
        order: -1;
    }
}

@media (max-width: 600px) {
    .privacy-hero h1 {
        font-size: 2.1rem;
    }

    .privacy-content {
        padding: 1.75rem;
    }
}
