:root {
    --kendo-color-primary: #0069aa;
    --kendo-color-primary-hover: #0084d5;
    --kendo-color-primary-active: #005a91;
    --kendo-color-primary-on-surface: #0069aa;
}

html, body {
    font-family: 'ArrowDisplayRegular', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f0f0f0;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #0069aa;
    border-color: #005a91;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0084d5;
    border-color: #0070b8;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding: 0;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Page container */
.page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Section Styling - Applies to all sections */
.form-section,
.grid-section {
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    /* padding: 20px; */
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Section Headers */
.form-section h2,
.grid-section h2 {
    color: #333 !important;
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 0 12px 0 !important;
    position: relative !important;
    width: 100% !important;
    border: none !important;
}

/* Full-width underline for section headers */
.form-section h2::after,
.grid-section h2::after {
    content: '';
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 1px !important;
    background-color: #000 !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
    gap: 0.75rem;
    /* margin-top: 16px; */
}

/* .form-group {
    margin-bottom: 16px;
} */

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    color: #333;
}

/* Make sure Telerik components take full width */
.form-section .k-textbox,
.form-section .k-numerictextbox,
.form-section .k-datepicker,
.form-section .k-dropdown,
.form-section .k-combobox {
    width: 100%;
}

/* Top Header Website Title */
.top-header .website-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin-left: 1.5rem;
    vertical-align: middle;
}

/* Top Header Authentication Links */
.top-header .sign-in-link,
.top-header .sign-out-link {
    color: #ffffff;
    text-decoration: none;
    margin-left: 1rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid #ffffff;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.top-header .sign-in-link:hover,
.top-header .sign-out-link:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Profile Picture */
.top-header .profile-picture {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.top-header .user-icon {
    font-size: 24px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Arrow brand font */
@font-face {
    font-family: 'ArrowDisplayBold';
    font-display: swap;
    src: url(/fonts/ArrowDisplay_W_Bd.woff2) format("woff2"); }

@font-face {
    font-family: 'ArrowDisplayMedium';
    font-display: swap;
    src: url(/fonts/ArrowDisplay_W_Md.woff2) format("woff2"); }

@font-face {
    font-family: 'ArrowDisplayRegular';
    font-display: swap;
    src: url(/fonts/ArrowDisplay_W_Rg.woff2) format("woff2"); }


.brand-arrow {
    font-family: 'ArrowDisplayRegular', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Middle header nav link overrides (global to bypass CSS isolation precedence issues) */
header.site-header .middle-header .nav-horizontal a.nav-link,
header.site-header .middle-header .nav-horizontal a.nav-link:link,
header.site-header .middle-header .nav-horizontal a.nav-link:visited,
header.site-header .middle-header .nav-horizontal a.nav-link:hover,
header.site-header .middle-header .nav-horizontal a.nav-link:focus,
header.site-header .middle-header .nav-horizontal a.nav-link:active,
header.site-header .middle-header .nav-horizontal a.nav-link.active {
    color: #ffffff !important;
    background-color: transparent !important;
    text-decoration: none !important;
    border-bottom: 1px solid #c53030 !important; /* persistent red underline */
    font-size: 16px !important; /* enforce nav link size */
    display: inline-block;
}

header.site-header .middle-header .nav-horizontal a.nav-link:hover,
header.site-header .middle-header .nav-horizontal a.nav-link:focus {
    border-bottom-color: #ef4444 !important; /* brighter red on hover/focus */
}

/* Remove any focus outline/glow that may appear blue from other rules */
header.site-header .middle-header .nav-horizontal a.nav-link:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Telerik Menu Dropdown Styling to Match Nav Links */
.nav-menu-dropdown.k-menu {
    display: inline-block;
    background: transparent;
    border: none;
}

.nav-menu-dropdown.k-menu > .k-menu-item {
    background: transparent;
    border: none;
}

.nav-menu-dropdown.k-menu > .k-menu-item > .k-menu-link {
    color: #ffffff !important;
    background-color: transparent !important;
    text-decoration: none !important;
    border-bottom: 1px solid #c53030 !important;
    font-size: 16px !important;
    padding: 0.5rem 1rem;
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0;
}

.nav-menu-dropdown.k-menu > .k-menu-item > .k-menu-link:hover,
.nav-menu-dropdown.k-menu > .k-menu-item > .k-menu-link:focus {
    border-bottom-color: #ef4444 !important;
    background-color: transparent !important;
}

/* Position the arrow icon to the right of the text */
.nav-menu-dropdown.k-menu > .k-menu-item > .k-menu-link .k-menu-expand-arrow {
    margin-left: 0.25rem;
}

/* Dropdown popup styling */
.nav-menu-dropdown .k-menu-popup {
    background: #ffffff;
    border: 1px solid #d1d5db;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-menu-dropdown .k-menu-popup .k-menu-item .k-menu-link {
    color: #333 !important;
    padding: 0.75rem 1.5rem;
    background: transparent;
}

/* Ensure 5px bottom margin on middle header links is visible (global override) */
header.site-header .middle-header .nav-horizontal a.nav-link,
header.site-header .middle-header .nav-horizontal a.nav-link:link,
header.site-header .middle-header .nav-horizontal a.nav-link:visited,
header.site-header .middle-header .nav-horizontal a.nav-link:hover,
header.site-header .middle-header .nav-horizontal a.nav-link:focus,
header.site-header .middle-header .nav-horizontal a.nav-link:active,
header.site-header .middle-header .nav-horizontal a.nav-link.active {
    margin: 0 0 5px 0 !important;
}

/* ========================================
   Page Styles (Global for all pages)
   ======================================== */


.page h1 {
    color: #1a365d;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page .lead {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.form-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    /* margin-bottom: 2rem; */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
    color: #1a365d;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e31837;
    padding-bottom: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    min-width: 0;
}

.form-group label {
    font-size: 13px;
    font-family: 'ArrowDisplayMedium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #1f2937;
    flex-shrink: 0;
    white-space: nowrap;
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    /* margin-top: 1rem; */
}

.grid-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.grid-section h2 {
    color: #1a365d;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e31837;
    padding-bottom: 0.5rem;
}

/* Center checkbox and switch in grid cells */
.page .k-grid tbody td .k-checkbox,
.page .k-grid tbody td .k-switch {
    display: block;
    margin: 0 auto;
}

.page .k-grid tbody td:has(.k-checkbox),
.page .k-grid tbody td:has(.k-switch) {
    text-align: center;
    vertical-align: middle;
}

/* Center column headers for Active and Feature columns */
.page .k-grid-header .centered-header {
    text-align: center !important;
}

/* Page responsive adjustments */
@media (max-width: 768px) {
    .page {
        padding: 1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .page h1 {
        font-size: 2rem;
    }

    .form-section,
    .grid-section {
        padding: 1rem;
    }
}

/* ========================================
   Home Page Styles
   ======================================== */

/* Status Section */
.status-section {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
}

.status-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.status-label {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    flex-shrink: 0;
}

.status-steps {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 0;
}

.status-btn {
    position: relative;
    background: #e5e7eb;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 0;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%, 15px 50%);
    margin-left: -15px;
}

.status-btn:first-child {
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
    margin-left: 0;
    border-radius: 4px 0 0 4px;
}

.status-btn:last-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 15px 50%);
    border-radius: 0 4px 4px 0;
}

.status-btn:hover:not(.active) {
    background: #d1d5db;
}

.status-btn.active {
    font-weight: 600;
    color: white;
    z-index: 1;
}

.status-btn.status-green {
    background: #10b981;
}

.status-btn.status-amber {
    background: #f59e0b;
}

.status-btn.status-blue {
    background: #3b82f6;
}

.status-btn.status-red {
    background: #ef4444;
}

.status-btn .checkmark {
    font-size: 16px;
    font-weight: bold;
}

.status-btn .status-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 1024px) {
    .status-section {
        margin: 1.5rem 1rem;
    }
    
    .status-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .status-steps {
        width: 100%;
    }
    
    .status-btn {
        font-size: 12px;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .status-steps {
        flex-wrap: wrap;
    }
    
    .status-btn {
        clip-path: none;
        margin-left: 0;
        border-radius: 4px;
        min-width: 100px;
        flex: 0 1 calc(50% - 0.5rem);
    }
    
    .status-btn:first-child,
    .status-btn:last-child {
        clip-path: none;
        border-radius: 4px;
    }
}

/* Header Section - Full Width */
.header-section {
    background: white;
    border-top: 1px solid #d1d5db;
    border-bottom: 1px solid #d1d5db;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 1.5rem;
    position: sticky;
    top: 140px;
    z-index: 100;
}

.header-inner {
    padding: 1.5rem 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1200px) {
    .header-inner {
        padding: 1.5rem 85px;
    }
}

.title-section {
    flex-shrink: 0;
}

.company-name {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.25rem;
    letter-spacing: 0.05em;
}

.document-id {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
    letter-spacing: -0.02em;
}

.actions-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-action {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.btn-action.btn-primary {
    background-color: #0069aa;
    color: white;
    border-color: #0069aa;
}

.btn-action.btn-primary:hover {
    background-color: #0084d5;
    border-color: #0084d5;
}

.btn-action.btn-secondary {
    background-color: white;
    color: #374151;
    border-color: #d1d5db;
}

.btn-action.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.btn-action.btn-info {
    background-color: white;
    color: #374151;
    border-color: #d1d5db;
}

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

.total-amount {
    color: #059669;
    font-weight: 700;
}

.dropdown-icon {
    font-size: 10px;
    margin-right: 0.25rem;
}

.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.25rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    min-width: 120px;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    border: none;
    background: white;
    color: #374151;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: background-color 0.15s ease;
}

.dropdown-item:first-child {
    border-radius: 4px 4px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 4px 4px;
}

.dropdown-item:hover {
    background-color: #f9fafb;
    color: #0069aa;
}

.icon-buttons {
    display: flex;
    gap: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid #d1d5db;
}

.btn-icon {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.5rem;
    cursor: pointer;
    color: #0069aa;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background-color: #f0f9ff;
    border-color: #0069aa;
    color: #0084d5;
}

.btn-icon svg {
    display: block;
}

/* Details Section */
.details-section {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0;
    margin: 0 50px;
}

@media (min-width: 1200px) {
    .details-section {
        margin: 0 85px;
    }
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2rem;
    padding: 2rem;
}

.form-label {
    font-size: 13px;
    font-family: 'ArrowDisplayMedium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #1f2937;
    min-width: 140px;
    flex-shrink: 0;
    white-space: nowrap;
}

.form-value {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Home page responsive */
@media (max-width: 1024px) {
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .actions-section {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .header-section {
        margin-left: -1rem;
        margin-right: -1rem;
    }
    
    .header-inner {
        padding: 1rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .document-id {
        font-size: 24px;
    }
    
    .details-section {
        padding: 0;
        margin: 0 1rem;
    }
    
    .section-title {
        padding: 1rem;
    }
    
    .details-grid {
        padding: 1rem;
        gap: 1rem;
    }
    
    .icon-buttons {
        flex-wrap: wrap;
    }
}

/* ========================================
   Weather Page Styles
   ======================================== */

.table-container {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table thead {
    background-color: #e5e7eb;
}

.data-table thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #1f2937;
    border-bottom: 1px solid #d1d5db;
    white-space: nowrap;
}

.data-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.15s ease;
}

.data-table tbody tr:hover {
    background-color: #f9fafb;
}

.data-table tbody td {
    padding: 12px 16px;
    color: #374151;
    vertical-align: middle;
}

.receipt-link {
    color: #0069aa;
    text-decoration: underline;
    font-weight: 500;
}

.receipt-link:hover {
    color: #0084d5;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-paid {
    background-color: #d1fae5;
    color: #065f46;
}

.status-declined {
    background-color: #fee2e2;
    color: #991b1b;
}

.action-btn {
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.15s ease;
}

.action-btn:hover {
    background-color: #f3f4f6;
    border-color: #9ca3af;
    color: #374151;
}

.action-btn svg {
    display: block;
}

.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.records-per-page,
.go-to-page {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

.records-per-page label,
.go-to-page label {
    font-weight: 500;
}

.records-per-page select,
.go-to-page select {
    padding: 6px 32px 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.records-per-page select:hover,
.go-to-page select:hover {
    border-color: #9ca3af;
}

.pagination {
    display: flex;
    gap: 4px;
    align-items: center;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background-color: white;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.page-btn:hover:not(.active) {
    background-color: #f3f4f6;
    border-color: #9ca3af;
}

.page-btn.active {
    background-color: #0069aa;
    border-color: #0069aa;
    color: white;
    font-weight: 600;
}

.page-ellipsis {
    padding: 0 8px;
    color: #6b7280;
}

/* Weather page responsive */
@media (max-width: 1200px) {
    .data-table {
        font-size: 13px;
    }
    
    .data-table thead th,
    .data-table tbody td {
        padding: 10px 12px;
    }
}

@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .table-container {
        overflow-x: auto;
    }
}

/* ========================================
   Card-Based Page Styles (About, Services, Contact)
   ======================================== */

.page-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-header {
    padding: 2rem 0 1rem;
    margin-bottom: 1.5rem;
}

.page-header h1 {
    color: #000;
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-header .lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: #4a5568;
    margin-bottom: 0;
}

.intro-section {
    margin-bottom: 2rem;
}

.intro-section p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    transition: box-shadow 0.2s ease;
}

.info-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-icon {
    margin-bottom: 1.25rem;
    color: #000;
}

.card-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5;
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.card-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-links li {
    margin-bottom: 0.5rem;
}

.card-links li:last-child {
    margin-bottom: 0;
}

.card-links a {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.card-links a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .page-container {
        padding: 0 1rem;
    }
}

.flex-basis-100 {
    flex-basis: 100%;
}

.flex-basis-50 {
    flex-basis: 50%;
}

.flex-basis-33 {
    flex-basis: 33%;
}

/* ========================================
   FAQ Page Styles
   ======================================== */

.faq_question {
    font-weight: bold;
    font-size: 1.1em;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-left: 4px solid #0066cc;
    border-radius: 4px 4px 0 0;
}

.faq_answer {
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 4px 4px;
    line-height: 1.6;
    color: #495057;
}

ul.faq_answer,
ol.faq_answer {
    /* Align bullet text with paragraph answers */
    margin-left: 0;
    padding-left: 1.75rem;
}

ul.faq_answer li,
ol.faq_answer li {
    margin-left: 0;
}

/* Optional: Add hover effect for better interactivity */
.faq_question:hover {
    background-color: #e9ecef;
}