/* :root {
    --custom-color: #CF1A27;
} */

:root {
    --custom-color: #003270;
}

* {
    /* font-family: 'Open Sans', sans-serif; */
    font-family: 'Roboto', sans-serif;
}

/* Prevent horizontal scroll */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

/* --- TOP BAR --- */
/* .top-bar {
    background-color: black;
    color: #fff;
    font-size: 20px;
}

.top-bar .left-section {
    background-color: yellow;
}

.top-bar .right-section {
    background-color: cyan;
}

.social-icons {
    padding: 0;
}

.social-icons a {
    margin-left: 10px;
}

.social-icons i,
.right-icons i,
.lang-toggle a {
    color: #fff;
}

.right-icons {
    text-align: right;
}

.right-icons a {
    margin-left: 20px;

}

.social-icons i:hover,
.right-icons i:hover,
.lang-toggle a:hover {
    color: var(--custom-color);
} */

.optical-id {}

/* --- NAVIGATION MENU --- */
header {
    background-color: #003476;
    width: 100%;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    color: #fff;
    min-height: 50px;
}

/* Custom Variable to match your preferred color */
:root {
    --custom-color: #003476;
    /* The main deep blue color */
    --hover-color: #02ADEF;
    /* A bright blue for hover/accent */
    --active-bg: #fff;
    /* White background for the active link */
    --active-text: #003476;
    /* Main blue text for the active link */
}

/* Global font update */
body {
    margin: 0;
    font-family: 'Roboto', "Poppins", sans-serif;
    background-color: #f5f6fa;
}

/*
* BASE NAVIGATION STYLES
* Default to Mobile (< 768px): Burger menu is visible, Desktop links hidden.
*/
.header-inner {
    background-color: var(--custom-color);
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    min-height: 50px;
    height: 52px;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* General active link style */
#desktopLinks a.active,
#myLinks a.active {
    color: #00aaff;
    font-weight: bold;
    /* text-decoration: underline; */
}

/* Active state for dropdown links */
.dropdown-menu a.active {
    background-color: #f0f8ff;
    color: #0077cc;
}




.header-inner .logo {
    /* font-weight: bold; */
    /* font-size: 20px; */
    padding: 14px 20px;
    color: white;
    text-decoration: none;
    flex-shrink: 0;
    /* Pushes burger icon to the right on mobile */
    margin-right: auto;
    width: 50%;
}

.header-inner a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s, color 0.3s;
    font-weight: 500;
}

.header-inner a:hover {
    background-color: transparent;
    color: var(--hover-color);
}

/* 1. MOBILE MENU (< 768px) - Default State */
.header-inner a.icon {
    /* Burger is visible by default */
    background: var(--custom-color);
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    padding: 14px 20px;
    color: white;
    z-index: 20;
    /* Ensure it's above the dropdown */
}

.header-inner #myLinks {
    /* Mobile dropdown starts hidden, controlled by JS */
    display: none;
    overflow: hidden;
    background-color: #002a5c;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    width: 100%;
    top: 52px;
    z-index: 10;
}

.header-inner #myLinks a {
    display: block;
    color: white;
    padding: 14px 20px;
    font-size: 16px;
}

.header-inner #myLinks a:hover {
    background-color: #004d9e;
    color: var(--hover-color);
}

.header-inner #myLinks a.active {
    background-color: var(--active-bg);
    color: var(--active-text);
    font-weight: bold;
    border-radius: 5px;
    margin: 4px 10px;
    padding: 8px 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 2. DESKTOP MENU (Default is hidden) */
#desktopLinks {
    /* Desktop menu is HIDDEN by default */
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    /* Override margin-right: auto from logo for desktop view */
    margin-left: auto;
}

#desktopLinks>li {
    position: relative;
    height: 100%;
    min-height: 50px;
}

#desktopLinks>li>a {
    padding: 14px 15px;
    display: block;
    height: 100%;
}

#desktopLinks>li>a.active {
    background-color: white;
    color: #003476;
    font-weight: bold;
    padding: 14px 15px;
    border-radius: 5px;
    margin: 0;
    box-shadow: none;
}

/* Account Dropdown Styles */
.dropdown {
    position: relative;
    height: 100%;
    min-height: 50px;
    margin: 0;
}

.dropdown-toggle {
    padding: 14px 15px;
    color: white;
    cursor: pointer;
    display: block;
    height: 100%;
    margin: 0;
}

.dropdown-toggle:hover {
    color: var(--hover-color);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -80px;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
    margin-top: 0;
}

.dropdown-menu a {
    color: var(--custom-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background-color: #f1f1f1;
    color: var(--hover-color);
}

/*
* MEDIA QUERY for DESKTOP (>= 768px)
* Hides burger/mobile menu, SHOWS horizontal desktop links
*/
@media screen and (min-width: 768px) {

    /* HIDE Mobile components */
    .header-inner a.icon,
    .header-inner #myLinks {
        display: none !important;
    }

    /* SHOW Desktop components */
    #desktopLinks {
        display: flex;
        /* Makes the horizontal menu visible */
    }

    /* Ensure logo pushes links to the right on desktop */
    .header-inner .logo {
        margin-right: 0;
        /* Reset mobile margin */
        flex-grow: 1;
        /* Allow logo area to grow/push content */
    }
}



/* Account Page Styles */
.account-page-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 30px;
}

.account-section h2 {
    color: #003476;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
}

.account-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 16px;
}

.account-info-preview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
}

.account-info-preview h3 {
    color: #003476;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.account-info-preview ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-info-preview li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: #555;
    font-size: 15px;
}

.account-info-preview li i {
    color: #02ADEF;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}




/* --- BIGGER LOGO --- */
.biggerLogo {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.biggerLogo img {
    width: 340px;
    height: auto;
}

/* Responsive logo sizing */
@media (max-width: 999px) {
    .biggerLogo img {
        width: 280px;
    }
}

@media (max-width: 599px) {
    .biggerLogo img {
        width: 220px;
    }
}

@media (max-width: 399px) {
    .biggerLogo img {
        width: 180px;
    }
}

/* --- WELCOME SECTION --- */
main h1 {
    font-size: 25px;
    color: #191919;
    text-align: center;
    margin-top: 20px;
    font-weight: 900;
}

/* Responsive title sizing */
@media (max-width: 999px) {
    main h1 {
        font-size: 22px;
    }
}

@media (max-width: 599px) {
    main h1 {
        font-size: 20px;
    }
}

@media (max-width: 399px) {
    main h1 {
        font-size: 18px;
    }
}

main .text {
    font-size: 17px;
    color: #191919;
    width: 100%;
    font-weight: 400;
}

main .text p {
    margin: 0;
    padding: 0;
}

main .text ul {
    margin-top: 0;
    margin-left: 30px;
}

/* Responsive text and list sizing */
@media (max-width: 999px) {
    main .text {
        font-size: 15px;
    }

    main .text p {
        font-size: 15px;
    }
}

@media (max-width: 599px) {
    main .text {
        font-size: 14px;
    }

    main .text p {
        font-size: 14px;
    }
}

@media (max-width: 399px) {
    main .text {
        font-size: 13px;
    }

    main .text p {
        font-size: 13px;
    }
}




/* services */
/* Container for main (top) buttons */

/* Flex container for the buttons */
.main-buttons-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    /* space between buttons */
    flex-wrap: nowrap;
    /* force single row */
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Button styles */
.big-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 400px;
    /* optional: controls button width */
    flex: 1;
    height: 90px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 300;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: background 0.12s, border 0.12s, transform 0.12s;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    background: #fff !important;
    color: var(--custom-color);
    border: 2px solid black;
}

/* Button icons */
.big-btn .icon {
    margin-bottom: 8px;
    width: 25px;
}

/* Active state */
.big-btn.active {
    background: var(--custom-color) !important;
    color: #fff !important;
    border-color: var(--custom-color) !important;
}

/* Hover effect */
.big-btn:hover {
    text-decoration: none;
}

/* Red theme variant */
.big-btn.red {
    background: var(--custom-color);
    color: #fff;
}

.big-btn.red:hover {
    background: var(--custom-color);
    transform: translateY(-2px) scale(1.03);
}

/* White theme variant */
.big-btn.white {
    background: #fff;
    color: var(--custom-color);
    border: 1.5px solid #000000;
}

.big-btn.white:hover {
    background: #ffffff;
    border-color: var(--custom-color);
    color: black;
}


/* Secondary (bottom) buttons first */
.secondary-buttons-row-first {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 0;
}

.small-square-btn-first {
    display: flex;
    flex-direction: column;
    /* stack vertically */
    align-items: center;
    /* center horizontally */
    background: #fff;
    border-radius: 8px;
    border: 1.5px solid #000000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    width: 31%;
    min-height: 150px;
    /* increase height to accommodate 3 lines */
    padding: 16px 14px;
    text-decoration: none;
    color: #000000;
    transition: box-shadow 0.13s, border 0.13s, transform 0.13s;
    cursor: pointer;
    gap: 8px;
    /* space between icon, title, description */
}

.small-square-btn-first .icon {
    width: 25px;
    /* bigger icon */
    margin: 0;
}

.small-square-btn-first .btn-title {
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    margin: 0;
}

.small-square-btn-first .btn-desc {
    font-size: 15px;
    font-weight: 100;
    color: #000000;
    text-align: center;
    margin: 0;
}

.small-square-btn-first.active {
    background: var(--custom-color) !important;
    color: #a22b2b !important;
    border-color: var(--custom-color) !important;
}

/* Secondary (bottom) buttons second */

.secondary-buttons-row-second,
.secondary-buttons-row-third {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 0;
}

.small-square-btn-second,
.small-square-btn-third {
    display: flex;
    flex-direction: column;
    /* stack vertically */
    align-items: center;
    /* center horizontally */
    background: #fff;
    border-radius: 8px;
    border: 1.5px solid #000000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    width: 31%;
    min-height: 150px;
    /* increase height to accommodate 3 lines */
    padding: 16px 14px;
    text-decoration: none;
    color: #000000;
    transition: box-shadow 0.13s, border 0.13s, transform 0.13s;
    cursor: pointer;
    gap: 8px;
    /* space between icon, title, description */
}

.small-square-btn-second .icon,
.small-square-btn-third .icon {
    width: 25px;
    /* bigger icon */
    margin: 0;
}

.small-square-btn-second .btn-title,
.small-square-btn-third .btn-title {
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    margin: 0;
}

.small-square-btn-second .btn-desc,
.small-square-btn-third .btn-desc {
    font-size: 15px;
    font-weight: 100;
    color: #000000;
    text-align: center;
    margin: 0;
}

.small-square-btn-first:hover,
.small-square-btn-second:hover,
.small-square-btn-third:hover {
    text-decoration: none;
    color: var(--custom-color);
    border: 1.5px solid var(--custom-color);
}

.small-square-btn-first.active,
.small-square-btn-second.active,
.small-square-btn-third.active {
    border: 4px solid var(--custom-color) !important;
    color: var(--custom-color) !important;
    background: #fff !important;
}





/* links */
.quick-links-section {
    margin: 20px auto 18px auto;
    max-width: 1000px;
    padding: 20px 20px 10px 20px;
}

.quick-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    /* Create two vertical columns */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 100px;
    /* row , column gaps */
}

.quick-links-list li {
    display: flex;
    align-items: center;
}

.quick-links-list a {
    color: #000000;
    font-weight: 300;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding-left: 28px;
    /* increased from 18px to fit wider arrow */
    transition: color 0.14s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
    /* subtle text shadow */
}

.quick-links-list a::before {
    content: "›";
    color: var(--custom-color);
    font-size: 55px;
    /* increased from 35px */
    font-weight: 100;
    position: absolute;
    left: 0;
    top: 29%;
    /* better centering */
    transform: translateY(-50%);
}


.quick-links-list a:hover {
    color: var(--custom-color);
    text-decoration: none;
}




/* Statistics */
.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    padding: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stat-square {
    background: #fff;
    width: 33%;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition:
        box-shadow 0.14s ease,
        transform 0.11s ease,
        z-index 0.14s ease;
    /* needed for controlling z-index */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px) scale(1.05);
    z-index: 10;
    /* base level */
}

.stat-square:hover {
    cursor: pointer;
}

.stat-number {
    color: var(--custom-color);
    font-size: 45px;
    font-weight: 500;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.stat-description {
    color: var(--custom-color);
    font-size: 16px;
    font-weight: 400;
    text-align: center;
}




/* Footer */
.site-footer {
    background: #003476;
    color: #fff;
    margin-top: 100px;
    padding-top: 24px;
    font-size: 14px;
}

/* Top row: logo on left, social on right */
.footer-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin-bottom: 20px;
    padding: 0;
}

.footer-logo {
    max-width: 300px;
}

.footer-social-icons i,
.footer-social-icons i::before {
    justify-content: right;
    width: 35px;
    height: 15px;
    font-size: 16px;
    filter: brightness(4) grayscale(1) invert(1);
    transition: filter 0.15s;
    color: white;
}

.footer-social-icons a:hover i {
    filter: brightness(1.2) invert(36%) sepia(98%) saturate(3849%) hue-rotate(342deg) brightness(1.15);
}

/* Four columns below */
.footer-main-cols {
    display: flex;
    flex-direction: row;
    gap: 20px 30px;
    justify-content: space-between;
}

.footer-col-info {
    font-size: 17px;
    color: #e6e6e6;
    line-height: 1.7;
}

.footer-col-links {
    margin: 0;
    padding: 0;
}

.footer-col-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col-links li {
    margin-bottom: 10px;
}

.footer-col-links a {
    color: #f4f4f4;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.12s;
}

.footer-col-links a:hover {
    color: var(--hover-color);
    text-decoration: none;
}

.footer-col-apps--stacked {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    align-items: center;
    justify-content: center;
}


.footer-app-badge {
    height: 42px;
    width: auto;
}

/* //TODOOOOO footer responsiveness */

/* Footer bottom (copyright) */
.footer-bottom {
    text-align: center;
    font-size: 12px;
    padding: 20px 0 30px 0;
    margin-top: 20px;
    color: #ddd;
    /* border-top: 1px solid rgba(128, 128, 128, 0.24); */
}

/* //TODOOOOO footer responsiveness */


/* Arrow page up */
.site-footer {
    position: relative;
}

.footer-up-arrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    border-radius: 10%;
    background: var(--custom-color);
    color: white;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s, background 0.2s;
}

.footer-up-arrow:hover {
    opacity: 1;
    background: var(--custom-color);
    transform: translateY(-3px);
}

.footer-up-arrow i {
    font-size: 1.2em;
}

.footer-up-arrow:focus {
    outline: none;
}



.centered-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.optical-id {
    width: 320px;
    max-width: 90vw;
    height: auto;
    display: block;
}

/* Contact and Services Page Styles */
.contact-info h3,
.contact-form h3 {
    color: var(--custom-color);
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-weight: bold;
    color: #333;
}

.map-container {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 30px;
}

#map {
    width: 100%;
    height: 100%;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 25px;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.services {
    margin-top: 20px;
    border: 2px solid var(--custom-color);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px;
}

.services h3 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
    color: black;
    font-size: 23px;
}

.services.dropdown-open {
    padding-bottom: 320px;
}

.search-selection {
    margin-top: 15px;
    padding: 10px 15px;
    background: #f0f8ff;
    border: 1px solid var(--custom-color);
    border-radius: 8px;
    color: var(--custom-color);
    font-weight: 500;
    display: none;
}

.search-selection.show {
    display: block;
}

.search-item.none-option {
    color: #666;
    font-style: italic;
}

.search-item.none-option:hover {
    background: #f5f5f5;
    color: #333;
}


#popularRequestsList li::marker {
    color: var(--custom-color) !important;
}

#popularRequestsList {
    padding: 0px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 90%;
    gap: 0px 20px;
    margin: auto;
    list-style: none;
}

#popularRequestsList li {
    position: relative;
    list-style: disc;
    list-style-position: inside;
    font-size: 1.1em;
    margin: 2px 0;
    padding: 10px 18px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    color: var(--custom-color);
    background: #f7faff;
}

#popularRequestsList li:hover {
    background: var(--custom-color);
    color: #fff;
}

#popularRequestsList li:hover::marker {
    color: #fff !important;
}

.citizensRequestsList {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.citizensRequestsList li {
    list-style: disc;
    list-style-position: inside;
    font-size: 1.1em;
    margin: 8px 0;
    padding: 10px 18px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    color: var(--custom-color);
    background: #f7faff;
}

.citizensRequestsList li:hover {
    background: var(--custom-color);
    color: #fff;
}

.citizensRequestsList li:hover::marker {
    color: #fff !important;
}

#businessRequestsList {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 20px auto 0 auto;
    padding: 0;
    list-style: none;
}

#businessRequestsList li {
    list-style: disc;
    list-style-position: inside;
    font-size: 1.1em;
    margin: 8px 0;
    padding: 10px 18px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    color: var(--custom-color);
    background: #f7faff;
}

#businessRequestsList li:hover {
    background: var(--custom-color);
    color: #fff;
}

#businessRequestsList li:hover::marker {
    color: #fff !important;
}

/* Citizens and Business Requests List Items - moved from JavaScript */
.citizensRequestsList li,
#businessRequestsList li {
    font-size: 1.1em;
    margin: 8px 0;
    padding: 10px 18px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    color: var(--custom-color);
    background: #f7faff;
}

.citizensRequestsList li:hover,
#businessRequestsList li:hover {
    background: var(--custom-color);
    color: #fff;
}



/* Citizens Categories */
.citizens-category-btn,
.business-category-btn {
    margin: 2px;
    padding: 8px 10px;
    background: #f7faff;
    border: 2px solid var(--custom-color);
    border-radius: 8px;
    color: var(--custom-color);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
    min-width: 120px;
    width: calc(20% - 8px);
    box-sizing: border-box;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.citizens-category-btn:hover,
.business-category-btn:hover {
    background: var(--custom-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 50, 112, 0.2);
}

.citizens-category-btn.active,
.business-category-btn.active {
    background: var(--custom-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 50, 112, 0.3);
    border-color: var(--custom-color);
}

.citizens-category-btn:focus,
.business-category-btn:focus {
    outline: none;
    border-color: var(--custom-color);
}

.citizensRequestsList {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 20px auto 0 auto;
    padding: 0;
    list-style: none;
}

/* Search functionality styles */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    padding-right: 50px;
    font-size: 16px;
    border: 2px solid var(--custom-color);
    border-radius: 8px;
    background: #fff;
    color: var(--custom-color);
    transition: all 0.15s ease;
    outline: none;
}

.search-input:focus {
    border-color: var(--custom-color);
    box-shadow: 0 0 10px rgba(0, 50, 112, 0.2);
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid var(--custom-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-dropdown.show {
    display: block;
}

.search-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background 0.15s ease;
    color: var(--custom-color);
}

.search-item:hover {
    background: var(--custom-color);
    color: #fff;
}

.search-item:last-child {
    border-bottom: none;
}

.clear-btn {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.15s ease;
    z-index: 10;
}

.clear-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.clear-btn.show {
    display: block !important;
}





/* Fix text overflow issues */
.big-btn {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.small-square-btn-first .btn-title,
.small-square-btn-second .btn-title,
.small-square-btn-third .btn-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.small-square-btn-first .btn-desc,
.small-square-btn-second .btn-desc,
.small-square-btn-third .btn-desc {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}


.search-highlight {
    background-color: #ffeb3b;
    color: #000;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Utility classes for JavaScript display control */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.visible-flex {
    display: flex !important;
}

.visible-inline {
    display: inline !important;
}

/* Profile Form Styles */
.profile-form {
    margin-top: 20px;
    max-width: 100%;
}

.profile-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.profile-grid-single {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.profile-field {
    display: flex;
    flex-direction: column;
}

.profile-field label {
    margin-bottom: 5px;
}

.profile-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.profile-input-readonly {
    background-color: #f0f0f0;
}

.profile-checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-checkbox {
    width: auto;
    padding: auto;
}

.profile-submit-container {
    text-align: center;
    margin: 30px 0;
}

.profile-submit-btn {
    background: var(--custom-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.profile-submit-btn:hover {
    opacity: 0.9;
}

/* Profile section header with icon */
.profile-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: var(--custom-color);
    color: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-section-header i {
    font-size: 1.2rem;
    color: white;
}

.profile-section-header h4 {
    margin: 0;
    color: white;
    font-weight: 400;
    font-size: 1.1rem;
}

/* Required field indicator */
.required-field {
    color: #dc3545;
    font-weight: bold;
    margin-left: 2px;
    vertical-align: super;
    font-size: 0.8em;
    line-height: 0;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    display: inline;
}

/* Email required field - red asterisk */
.email-asterisk {
    color: #dc3545 !important;
}

/* Phone optional fields - blue asterisk */
.phone-asterisk {
    color: #003476 !important;
}

/* ID and Date required fields - red asterisk */
.id-asterisk,
.date-asterisk {
    color: #dc3545 !important;
}

/* Override any potential box styling for asterisks */
.required-field,
.optional-field,
.email-asterisk,
.phone-asterisk,
.id-asterisk,
.date-asterisk {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 0 2px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    display: inline !important;
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    min-height: auto !important;
}

/* Optional field indicator */
.optional-field {
    color: var(--custom-color);
    font-weight: bold;
    margin-left: 2px;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    vertical-align: super;
    font-size: 0.8em;
    line-height: 0;
    box-shadow: none !important;
    outline: none !important;
    display: inline;
}

/* Date input container */
.date-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.date-input {
    padding-right: 40px !important;
    cursor: pointer;
}

.date-picker-icon {
    position: absolute;
    right: 12px;
    color: var(--custom-color);
    cursor: pointer;
    font-size: 1.1rem;
    pointer-events: none;
}

.date-input:focus+.date-picker-icon {
    color: var(--custom-color);
}

/* Date picker calendar styles */
.date-picker-calendar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    max-width: 300px;
}

.date-picker-calendar.show {
    display: block;
}

.date-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: var(--custom-color);
    color: white;
    border-radius: 4px 4px 0 0;
}

.date-picker-header button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 1rem;
}

.date-picker-header button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

/* Month and year selector styles */
.month-year-selector {
    display: flex;
    gap: 5px;
    align-items: center;
}

.month-select,
.year-select {
    background: white;
    border: none;
    border-radius: 3px;
    padding: 5px 8px;
    font-size: 0.9rem;
    color: var(--custom-color);
    cursor: pointer;
    min-width: 80px;
}

.month-select {
    min-width: 100px;
}

.year-select {
    min-width: 70px;
}

.month-select:focus,
.year-select:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 1px;
}

.date-picker-body {
    padding: 10px;
}

.date-picker-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 5px;
}

.date-picker-weekday {
    text-align: center;
    font-weight: bold;
    color: var(--custom-color);
    font-size: 0.9rem;
    padding: 5px;
}

.date-picker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.date-picker-day {
    text-align: center;
    padding: 8px 5px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 0.9rem;
}

.date-picker-day:hover {
    background: #f0f0f0;
}

.date-picker-day.selected {
    background: var(--custom-color);
    color: white;
}

.date-picker-day.other-month {
    color: #ccc;
}

.date-picker-day.today {
    font-weight: bold;
    border: 2px solid var(--custom-color);
}

/* ============================================================================
   CONTACT PAGE STYLES
   ============================================================================ */

.contact-info-section {
    margin: 30px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 5px solid var(--custom-color);
}

.contact-info-section h2 {
    color: var(--custom-color);
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
}

.contact-details {
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    color: var(--custom-color);
    margin-right: 15px;
    margin-top: 3px;
    font-size: 18px;
    min-width: 20px;
}

.contact-item strong {
    color: #333;
    margin-right: 8px;
}

.service-note {
    margin-top: 20px;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 8px;
    border-left: 4px solid #02ADEF;
    color: #02ADEF;
}

.contact-form-section {
    margin: 40px 0;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--custom-color);
}

.contact-form-section h2 {
    color: var(--custom-color);
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 5px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--custom-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-text {
    font-size: 14px;
    color: #6c757d;
    margin-top: 5px;
}

.form-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.form-buttons .btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 120px;
}

.form-buttons .btn-primary {
    background-color: var(--custom-color);
    border-color: var(--custom-color);
}

.form-buttons .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.form-buttons .btn-secondary {
    background-color: #02ADEF;
    border-color: #02ADEF;
}

.form-buttons .btn-secondary:hover {
    background-color: #545b62;
    border-color: #545b62;
    transform: translateY(-2px);
}

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



/* ============================================================================
   SELECTED SERVICE DETAILS STYLES
   ============================================================================ */

.selected-service-details {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--custom-color);
    display: none;
}

.service-contact-info h4 {
    color: var(--custom-color);
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.service-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.detail-item {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-item strong {
    color: #333;
    margin-right: 8px;
}



/* ============================================================================
   CONTACT LAYOUT AND SIDEBAR STYLES
   ============================================================================ */

/* Contact layout container */
.contact-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

/* Contact form container */
.contact-form-container {
    flex: 1;
    max-width: 60%;
}

/* Contact details sidebar */
.contact-details-sidebar {
    flex: 1;
    max-width: 40%;
}

/* Contact details box */
.contact-details-box {
    background: #f8f9fa;
    border: 2px solid var(--custom-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
}

/* Contact details header */
.contact-details-header {
    border-bottom: 2px solid var(--custom-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.contact-details-header h3 {
    color: var(--custom-color);
    margin: 0;
    font-size: 1.25rem;
    font-weight: bold;
}

/* Contact details content */
.contact-details-content {
    min-height: 200px;
}

/* Contact detail rows */
.contact-detail-row {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-detail-row:last-child {
    margin-bottom: 0;
}

/* Contact labels */
.contact-label {
    font-weight: bold;
    color: var(--custom-color);
    min-width: 100px;
    margin-right: 15px;
    font-size: 0.9rem;
}

/* Contact values */
.contact-value {
    flex: 1;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.4;
}


/* Contact sections for organized layout */
.contact-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.contact-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-section .contact-item {
    margin-bottom: 8px;
}

.contact-section .contact-item:last-child {
    margin-bottom: 0;
}

/* Enhanced tooltip styles for asterisks */
.required-field,
.optional-field {
    cursor: help;
    position: relative;
}

/* Styles for clickable request links */
.citizensRequestsList a,
#businessRequestsList a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* .citizensRequestsList a:hover,
#businessRequestsList a:hover {
    color: var(--custom-color);
    text-decoration: underline;
} */

.required-field:hover::after,
.optional-field:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

.required-field:hover::before,
.optional-field:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
    margin-bottom: 1px;
}

/* Contact emails line - all emails in one horizontal line */
.contact-emails-line {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.contact-emails-line .contact-item {
    margin-bottom: 0;
    white-space: nowrap;
}

/* Contact phones line - phones in one horizontal line */
.contact-phones-line {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.contact-phones-line .contact-item {
    margin-bottom: 0;
    white-space: nowrap;
}

/* Profile phones row - display phone fields side by side */
.profile-phones-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Profile contact rows - exact 3-row layout */
.profile-contact-rows {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-contact-row {
    display: flex;
    gap: 15px;
}

.profile-contact-row .profile-field {
    flex: 1;
}

/* Row 1: Email only - full width */
.profile-contact-row:first-child .profile-field {
    flex: 1;
}

/* Row 2: Phones side by side - equal width */
.profile-contact-row:nth-child(2) .profile-field {
    flex: 1;
}

/* Row 3: Country only - full width */
.profile-contact-row:last-child .profile-field {
    flex: 1;
}

/* Profile field centered - for single items that should be centered */
.profile-field-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.profile-field-centered .profile-checkbox-container {
    justify-content: center;
    width: 100%;
}

/* ============================================================================
   REQUESTS TABS AND TABLE STYLES
   ============================================================================ */

/* Requests tabs navigation */
.requests-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.tab-button {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-button:hover {
    background: #e9ecef;
    color: var(--custom-color);
}

.tab-button.active {
    background: var(--custom-color);
    color: white;
    border-color: var(--custom-color);
}

.tab-button i {
    font-size: 1rem;
}

/* Tab content */
.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Requests table container */
.requests-table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Requests table */
.requests-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.requests-table th {
    background: var(--custom-color);
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
}

.requests-table td {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.requests-table tbody tr:hover {
    background: #f8f9fa;
}

/* Status badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    display: inline-block;
    min-width: 100px;
}

.status-in-progress {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-completed {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-pending {
    background: #cce5ff;
    color: #004085;
    border: 1px solid #b3d7ff;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Action buttons */
.action-btn {
    background: var(--custom-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.action-btn:hover {
    background: #002855;
    transform: translateY(-1px);
}

.action-btn i {
    font-size: 0.9rem;
}

/* ===== COMPREHENSIVE RESPONSIVE DESIGN ===== */

/* Large Desktops (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    /* Text scaling for large desktops */


    .big-btn {
        width: 450px;
        height: 100px;
        font-size: 22px;
    }

    .map-container {
        height: 700px;
    }

    .stat-square {
        height: 120px;
    }

    .stat-number {
        font-size: 50px;
    }

    .stat-description {
        font-size: 18px;
    }
}

/* Desktops (1200px - 1399px) */
@media (max-width: 1399px) {
    /* Text scaling for desktops */


    .big-btn {
        width: 400px;
        height: 90px;
        font-size: 20px;
    }

    .map-container {
        height: 600px;
    }

    .stat-square {
        height: 110px;
    }

    .stat-number {
        font-size: 45px;
    }

    .stat-description {
        font-size: 16px;
    }
}

/* Large Tablets and Small Desktops (1000px - 1199px) */
@media (max-width: 1199px) {
    /* Text scaling for large tablets */

    .logo {
        width: 200px;
    }

    .big-btn {
        width: 350px;
        height: 85px;
        font-size: 18px;
    }

    .small-square-btn-first,
    .small-square-btn-second,
    .small-square-btn-third {
        width: 30%;
        min-height: 140px;
        padding: 14px 12px;
    }

    .small-square-btn-first .btn-title,
    .small-square-btn-second .btn-title,
    .small-square-btn-third .btn-title {
        font-size: 18px;
    }

    .small-square-btn-first .btn-desc,
    .small-square-btn-second .btn-desc,
    .small-square-btn-third .btn-desc {
        font-size: 13px;
    }

    .map-container {
        height: 550px;
    }

    .stats-row {
        gap: 30px;
    }

    .stat-square {
        height: 100px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-description {
        font-size: 15px;
    }
}

/* Tablets (800px - 999px) */
@media (max-width: 999px) {

    /* Text scaling for tablets */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 18px;
    }

    p,
    span,
    div {
        font-size: 14px;
    }

    /* Navigation */
    .main-nav {
        position: absolute;
        top: 60px;
        right: 0;
        width: 300px;
        background: black;
        border-radius: 0 0 0 8px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
        transition: transform 0.3s;
        z-index: 1000;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 24px 20px;
        display: none;
        width: 100%;
    }

    .main-nav ul.active {
        display: flex;
        background: white;
    }

    .main-nav li {
        margin: 0 0 16px 0;
        display: block;
    }

    .main-nav a {
        font-size: 16px;
        padding: 8px 0;
        color: white;
        transition: color 0.3s ease;
    }

    .main-nav a:hover {
        color: var(--custom-color);
    }

    .main-nav ul.active a {
        color: var(--custom-color);
    }

    .burger-menu {
        display: flex;
    }

    /* Buttons */
    .big-btn {
        width: 33%;
        height: 90px;
        font-size: 17px;
        font-weight: 300;
        gap: 8px;
        padding: 10px;
    }

    .small-square-btn-first {
        width: 33%;
        min-height: 100px;
        padding: 16px 14px;
        gap: 8px;
    }

    .small-square-btn-second,
    .small-square-btn-third {
        width: 33%;
        min-height: 100px;
        padding: 16px 14px;
        gap: 8px;
    }

    .small-square-btn-first .btn-title,
    .small-square-btn-second .btn-title,
    .small-square-btn-third .btn-title {
        font-size: 16px;
        line-height: 1.2;
    }

    .small-square-btn-first .btn-desc,
    .small-square-btn-second .btn-desc,
    .small-square-btn-third .btn-desc {
        font-size: 12px;
        line-height: 1.3;
    }

    /* Map */
    .map-container {
        height: 500px;
    }

    /* Stats */
    .stats-row {
        gap: 20px;
        margin-top: 30px;
    }

    .stat-square {
        width: 30%;
        height: 80px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-description {
        font-size: 14px;
    }

    /* Quick Links */
    .quick-links-section {
        margin: 20px auto 18px auto;
        width: 90%;
        padding: 20px 20px 10px 20px;
    }

    .quick-links-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px 100px;
    }

    .quick-links-list a {
        font-size: 16px;
        padding-left: 28px;
    }

    .quick-links-list a::before {
        font-size: 55px;
        font-weight: 100;
        position: absolute;
        left: 0;
        top: 29%;
    }

    /* Footer */
    .footer-main-cols {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-col-apps--stacked {
        order: 3;
        margin-top: 20px;
    }
}

/* Medium Tablets (600px - 799px) */
@media (max-width: 799px) {

    /* Text scaling for medium tablets */

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 16px;
    }

    p,
    span,
    div {
        font-size: 13px;
    }

    /* Navigation */
    .main-nav {
        width: 100%;
        top: 48px;
    }

    /* Buttons */
    .big-btn {
        width: 33%;
        height: 80px;
        font-size: 13px;
        font-weight: 300;
        gap: 6px;
        padding: 8px;
    }

    .big-btn .icon {
        width: 20px;
    }

    .small-square-btn-first {
        width: 33%;
        height: 170px;
        padding: 12px 10px;
        gap: 6px;
    }

    .small-square-btn-first .icon {
        width: 20px;
    }

    .small-square-btn-first .btn-title {
        font-size: 14px;
        line-height: 1.2;
    }

    .small-square-btn-first .btn-desc {
        font-size: 11px;
        line-height: 1.3;
    }

    .small-square-btn-second,
    .small-square-btn-third {
        width: 33%;
        height: 170px;
        padding: 12px 10px;
        gap: 6px;
    }

    .small-square-btn-second .btn-title,
    .small-square-btn-third .btn-title {
        font-size: 14px;
        line-height: 1.2;
    }

    .small-square-btn-second .btn-desc,
    .small-square-btn-third .btn-desc {
        font-size: 11px;
        line-height: 1.3;
    }

    /* Map */
    .map-container {
        height: 400px;
    }

    /* Stats */
    .stats-row {
        gap: 15px;
        margin-top: 25px;
    }

    .stat-square {
        width: 30%;
        height: 70px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-description {
        font-size: 12px;
    }

    /* Quick Links */
    .quick-links-section {
        margin: 20px auto 18px auto;
        width: 90%;
    }

    .quick-links-list {
        display: grid;
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-main-cols {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-col-info {
        order: 1;
    }

    .footer-col-links {
        order: 2;
        margin-top: 0;
    }

    .footer-col-apps--stacked {
        order: 3;
        margin-top: 20px;
        text-align: center;
    }

    /* Footer text scaling */
    .footer-col-info h3,
    .footer-col-links h3 {
        font-size: 16px;
    }

    .footer-col-info p,
    .footer-col-links li,
    .footer-col-links a {
        font-size: 13px;
    }

    /* Tablet sub buttons - bigger to fit content */
    .secondary-buttons-row-first,
    .secondary-buttons-row-second,
    .secondary-buttons-row-third {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
        padding: 0 10px;
    }

    .small-square-btn-first,
    .small-square-btn-second,
    .small-square-btn-third {
        width: 100%;
        min-height: 140px;
        padding: 18px;
        gap: 10px;
        margin: 0;
    }

    .small-square-btn-first .btn-title,
    .small-square-btn-second .btn-title,
    .small-square-btn-third .btn-title {
        font-size: 18px;
        line-height: 1.3;
        font-weight: 600;
    }

    .small-square-btn-first .btn-desc,
    .small-square-btn-second .btn-desc,
    .small-square-btn-third .btn-desc {
        font-size: 14px;
        line-height: 1.4;
    }

    .small-square-btn-first .icon,
    .small-square-btn-second .icon,
    .small-square-btn-third .icon {
        width: 36px;
    }
}

/* Category buttons responsive design */
@media (max-width: 999px) {

    .citizens-category-btn,
    .business-category-btn {
        width: calc(20% - 8px);
        min-width: 90px;
        padding: 6px 8px;
        font-size: 11px;
    }
}

@media (max-width: 799px) {

    .citizens-category-btn,
    .business-category-btn {
        width: calc(25% - 8px);
        min-width: 80px;
        padding: 6px 8px;
        font-size: 11px;
    }
}

@media (max-width: 599px) {

    .citizens-category-btn,
    .business-category-btn {
        width: calc(33.33% - 8px);
        min-width: 70px;
        padding: 6px 8px;
        font-size: 10px;
    }
}

@media (max-width: 399px) {

    .citizens-category-btn,
    .business-category-btn {
        width: 100%;
        min-width: auto;
        margin: 4px 0;
        padding: 10px 15px;
        font-size: 12px;
    }
}

/* Mobile Phones (400px - 599px) */
@media (max-width: 599px) {

    /* Text scaling for mobile phones */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 14px;
    }

    p,
    span,
    div,
    li,
    a {
        font-size: 12px;
    }

    /* Logo */
    .logo {
        width: 140px;
    }

    /* Buttons */
    .big-btn {
        width: 33%;
        height: 70px;
        font-size: 12px;
        font-weight: 300;
        gap: 4px;
        padding: 6px;
        line-height: 1.1;
        text-align: center;
    }

    .big-btn .icon {
        width: 18px;
    }

    .small-square-btn-first {
        width: 33%;
        height: 70px;
        padding: 10px 8px;
        gap: 4px;
    }

    .small-square-btn-first .icon {
        width: 18px;
    }

    .small-square-btn-first .btn-title {
        font-size: 12px;
        line-height: 1.1;
    }

    .small-square-btn-first .btn-desc {
        font-size: 10px;
        line-height: 1.2;
    }

    .small-square-btn-second,
    .small-square-btn-third {
        width: 33%;
        height: 70px;
        padding: 10px 8px;
        gap: 4px;
    }

    .small-square-btn-second .btn-title,
    .small-square-btn-third .btn-title {
        font-size: 12px;
        line-height: 1.1;
    }

    .small-square-btn-second .btn-desc,
    .small-square-btn-third .btn-desc {
        font-size: 10px;
        line-height: 1.2;
    }

    /* Adjust main buttons row for mobile */
    .main-buttons-row {
        gap: 8px;
        margin-top: 15px;
        margin-bottom: 15px;
        flex-direction: column;
        align-items: center;
    }

    .main-buttons-row .big-btn {
        width: 100%;
        max-width: none;
    }

    /* When a main button is active on mobile, minimize main buttons */
    .main-buttons-row.minimized {
        flex-direction: row;
        justify-content: space-between;
        gap: 4px;
        margin-bottom: 10px;
    }

    .main-buttons-row.minimized .big-btn {
        width: 30%;
        height: 50px;
        font-size: 10px;
        padding: 4px;
        flex-shrink: 1;
    }

    .main-buttons-row.minimized .big-btn .icon {
        width: 16px;
        margin-bottom: 2px;
    }

    /* Active button expands to take more space */
    .main-buttons-row.minimized .big-btn.active {
        width: 50%;
        height: 60px;
        font-size: 12px;
        padding: 6px;
        flex-shrink: 0;
    }

    .main-buttons-row.minimized .big-btn.active .icon {
        width: 18px;
        margin-bottom: 3px;
    }

    /* Stack secondary buttons vertically on mobile */
    .secondary-buttons-row-first,
    .secondary-buttons-row-second,
    .secondary-buttons-row-third {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    .small-square-btn-first,
    .small-square-btn-second,
    .small-square-btn-third {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        min-height: 120px;
        padding: 12px;
        gap: 8px;
    }

    .small-square-btn-first .btn-title,
    .small-square-btn-second .btn-title,
    .small-square-btn-third .btn-title {
        font-size: 14px;
        line-height: 1.2;
        font-weight: 600;
    }

    .small-square-btn-first .btn-desc,
    .small-square-btn-second .btn-desc,
    .small-square-btn-third .btn-desc {
        font-size: 11px;
        line-height: 1.3;
    }

    .small-square-btn-first .icon,
    .small-square-btn-second .icon,
    .small-square-btn-third .icon {
        width: 30px;
    }

    /* Map */
    .map-container {
        height: 350px;
    }

    /* Stats */
    .stats-row {
        gap: 10px;
        margin-top: 20px;
    }

    .stat-square {
        width: 30%;
        height: 75px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-description {
        font-size: 10px;
    }

    /* Footer - stack contact, links, apps vertically */
    .footer-top-row {
        justify-content: space-between;
        align-items: center;
    }

    .footer-logo {
        width: 150px;
        max-width: 150px;
    }

    .footer-social-icons {
        align-items: center;
    }

    .footer-main-cols {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-col-info {
        order: 1;
    }

    .footer-col-links {
        order: 2;
        margin-top: 0;
    }

    .footer-col-apps--stacked {
        order: 3;
        margin-top: 20px;
        text-align: center;
    }

    /* Footer text scaling */
    .footer-col-info h3,
    .footer-col-links h3 {
        font-size: 14px;
    }

    .footer-col-info p,
    .footer-col-links li,
    .footer-col-links a {
        font-size: 12px;
    }
}

/* Very Small Mobile Phones (320px - 399px) */
@media (max-width: 399px) {

    /* Text scaling for very small mobile */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 12px;
    }

    p,
    span,
    div {
        font-size: 11px;
    }

    /* Logo */
    .logo {
        width: 120px;
    }

    /* Buttons */
    .big-btn {
        width: 33%;
        height: 65px;
        font-size: 11px;
        font-weight: 300;
        gap: 3px;
        padding: 5px;
        line-height: 1.0;
    }

    .big-btn .icon {
        width: 16px;
    }

    .small-square-btn-first,
    .small-square-btn-second,
    .small-square-btn-third {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        min-height: 120px;
        padding: 12px;
        gap: 8px;
    }

    .small-square-btn-first .btn-title,
    .small-square-btn-second .btn-title,
    .small-square-btn-third .btn-title {
        font-size: 14px;
        line-height: 1.2;
        font-weight: 600;
    }

    .small-square-btn-first .btn-desc,
    .small-square-btn-second .btn-desc,
    .small-square-btn-third .btn-desc {
        font-size: 11px;
        line-height: 1.3;
    }

    .small-square-btn-first .icon,
    .small-square-btn-second .icon,
    .small-square-btn-third .icon {
        width: 30px;
    }

    /* Map */
    .map-container {
        height: 300px;
    }

    /* Stats */
    .stats-row {
        gap: 8px;
        margin-top: 15px;
    }

    .stat-square {
        width: 30%;
        height: 50px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-description {
        font-size: 9px;
    }

    /* Footer text scaling */
    .footer-col-info h3,
    .footer-col-links h3 {
        font-size: 12px;
    }

    .footer-col-info p,
    .footer-col-links li,
    .footer-col-links a {
        font-size: 11px;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 799px) and (orientation: landscape) {

    /* Text scaling for landscape mobile */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 15px;
    }

    p,
    span,
    div {
        font-size: 13px;
    }

    .big-btn {
        height: 60px;
    }

    .small-square-btn-first,
    .small-square-btn-second,
    .small-square-btn-third {
        height: 120px;
    }

    .map-container {
        height: 300px;
    }

    .stats-row {
        margin-top: 15px;
    }

    .stat-square {
        height: 60px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-description {
        font-size: 10px;
    }
}


/* Responsive design for 768px and below */
@media (max-width: 768px) {

    /* Service details */
    .service-details-grid {
        grid-template-columns: 1fr;
    }

    .selected-service-details {
        padding: 15px;
        margin: 20px 0;
    }

    /* Contact layout */
    .contact-layout {
        flex-direction: column;
        gap: 20px;
    }

    .contact-form-container,
    .contact-details-sidebar {
        max-width: 100%;
    }

    .contact-details-box {
        position: static;
        margin-top: 20px;
    }

    .contact-detail-row {
        flex-direction: column;
        margin-bottom: 12px;
    }

    .contact-label {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 5px;
    }

    /* Profile sections */
    .profile-section-header {
        padding: 12px 15px;
    }

    .profile-section-header h4 {
        font-size: 1rem;
    }

    .profile-section-header i {
        font-size: 1rem;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .profile-phones-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .profile-contact-row {
        flex-direction: column;
        gap: 12px;
    }

    .profile-contact-row .profile-field {
        flex: none;
    }

    .date-picker-calendar {
        max-width: 300px;
        left: 50%;
        transform: translateX(-50%);
    }

    .month-year-selector {
        gap: 3px;
    }

    .month-select,
    .year-select {
        padding: 4px 6px;
        font-size: 0.8rem;
        min-width: 70px;
    }

    .month-select {
        min-width: 85px;
    }

    .year-select {
        min-width: 60px;
    }

    .date-picker-day {
        padding: 6px 3px;
        font-size: 0.8rem;
    }

    .date-picker-weekday {
        font-size: 0.8rem;
        padding: 3px;
    }

    /* Requests table */
    .requests-tabs {
        flex-direction: column;
        gap: 8px;
    }

    .tab-button {
        justify-content: center;
        padding: 10px 15px;
    }

    .requests-table-container {
        overflow-x: auto;
    }

    .requests-table {
        min-width: 600px;
        font-size: 0.8rem;
    }

    .requests-table th,
    .requests-table td {
        padding: 8px 6px;
    }

    .status-badge {
        padding: 4px 8px;
        font-size: 0.75rem;
        min-width: 80px;
    }

    .action-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    /* Contact page */
    .contact-info-section,
    .contact-form-section {
        margin-bottom: 20px;
    }

    .contact-item {
        margin-bottom: 10px;
    }

    .contact-item i {
        margin-right: 8px;
    }

    .contact-section {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .contact-emails-line,
    .contact-phones-line {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .contact-emails-line .contact-item,
    .contact-phones-line .contact-item {
        white-space: normal;
    }

    .form-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .form-buttons .btn {
        width: 100%;
    }
}

/* Responsive design for 480px and below */
@media (max-width: 480px) {

    /* Contact details */
    .contact-details-box {
        padding: 15px;
    }

    .contact-details-header h3 {
        font-size: 1.1rem;
    }

    .contact-label,
    .contact-value {
        font-size: 0.85rem;
    }

    /* Profile sections */
    .profile-section {
        padding: 15px;
        margin-bottom: 20px;
    }

    .profile-section-header {
        padding: 10px 12px;
        gap: 8px;
    }

    .profile-section-header h4 {
        font-size: 0.95rem;
    }

    .profile-section-header i {
        font-size: 0.9rem;
    }

    .date-picker-calendar {
        max-width: 280px;
    }

    .month-year-selector {
        gap: 2px;
    }

    .month-select,
    .year-select {
        padding: 3px 4px;
        font-size: 0.75rem;
        min-width: 60px;
    }

    .month-select {
        min-width: 75px;
    }

    .year-select {
        min-width: 50px;
    }

    .date-picker-day {
        padding: 5px 2px;
        font-size: 0.75rem;
    }

    .date-picker-weekday {
        font-size: 0.75rem;
        padding: 2px;
    }

    .required-field {
        font-size: 0.9rem;
    }

    /* Contact page */
    .contact-info-section h2,
    .contact-form-section h2 {
        font-size: 20px;
    }

    .contact-form .form-control {
        font-size: 14px;
        padding: 10px 12px;
    }
}

/* ============================================================================
   SUCCESS SUBMIT PAGE STYLES
   ============================================================================ */

/* Success Tabs Container */
.success-tabs-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Success Tabs */
.success-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.success-tab-button {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.success-tab-button:hover {
    background: #e9ecef;
    color: #003476;
}

.success-tab-button.active {
    background: #003476;
    color: #fff;
}

.success-tab-button i {
    font-size: 18px;
}

/* Success Tab Content */
.success-tab-content {
    display: none;
    padding: 40px;
}

.success-tab-content.active {
    display: block;
}

/* Success Message Container */
.success-message-container {
    text-align: center;
}

.success-icon {
    margin-bottom: 30px;
}

.success-icon i {
    font-size: 80px;
    color: #28a745;
}

.success-text h2 {
    color: #003476;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

.request-code-text {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.request-code {
    background: #003476;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 2px;
}

.request-instructions {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Success Actions */
.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.success-actions .btn-primary {
    background: #003476;
    border-color: #003476;
}

.success-actions .btn-primary:hover {
    background: #002a5c;
    border-color: #002a5c;
    transform: translateY(-2px);
}

.success-actions .btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
}

.success-actions .btn-secondary:hover {
    background: #5a6268;
    border-color: #5a6268;
    transform: translateY(-2px);
}

/* Print Container */
.print-container {
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.print-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #003476;
}

.print-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
}

.print-header h2 {
    color: #003476;
    font-size: 24px;
    margin-bottom: 10px;
}

.print-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.print-content {
    margin-bottom: 30px;
}

.print-message h3 {
    color: #003476;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.print-request-code {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #003476;
}

.print-request-code strong {
    color: #003476;
    font-size: 20px;
    letter-spacing: 2px;
}

.print-instructions {
    font-size: 16px;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

.print-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

.print-footer p {
    margin: 5px 0;
}

/* Print Actions */
.print-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.print-actions .btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.print-actions .btn-primary {
    background: #003476;
    border-color: #003476;
    color: #fff;
}

.print-actions .btn-primary:hover {
    background: #002a5c;
    border-color: #002a5c;
    transform: translateY(-2px);
    color: #fff;
}

.print-actions .btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.print-actions .btn-secondary:hover {
    background: #5a6268;
    border-color: #5a6268;
    transform: translateY(-2px);
    color: #fff;
}

/* Print Styles */
@media print {
    .success-tabs {
        display: none !important;
    }

    .success-tab-content {
        display: block !important;
    }

    .success-actions {
        display: none !important;
    }

    .print-actions {
        display: none !important;
    }

    .print-container {
        border: none;
        box-shadow: none;
    }

    .success-tabs-container {
        box-shadow: none;
    }

    body {
        background: white !important;
    }

    .site-footer {
        display: none !important;
    }

    header {
        display: none !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .success-tab-content {
        padding: 20px;
    }

    .success-text h2 {
        font-size: 24px;
    }

    .request-code {
        font-size: 18px;
        padding: 6px 12px;
    }

    .success-actions {
        flex-direction: column;
        align-items: center;
    }

    .success-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .print-container {
        padding: 20px;
    }

    .print-header h2 {
        font-size: 20px;
    }

    .print-message h3 {
        font-size: 18px;
    }
}

/* ============================================================================
   MY ACCOUNT PAGE STYLES
   ============================================================================ */

/* Account Tabs Container */
.account-tabs-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Account Tabs */
.account-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.account-tab-button {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.account-tab-button:hover {
    background: #e9ecef;
    color: #003476;
}

.account-tab-button.active {
    background: #003476;
    color: #fff;
}

.account-tab-button i {
    font-size: 18px;
}

/* Account Tab Content */
.account-tab-content {
    display: none;
    padding: 40px;
}

.account-tab-content.active {
    display: block;
}

/* Profile Section */
.profile-section h3 {
    color: #003476;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.profile-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-field label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.profile-field span {
    color: #666;
    font-size: 16px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

/* Requests Section */
.requests-section h3 {
    color: #003476;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Requests Tabs */
.requests-tabs {
    display: flex;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 4px;
    margin-bottom: 30px;
}

.tab-button {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 4px;
}

.tab-button:hover {
    background: #e9ecef;
    color: #003476;
}

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

.tab-button i {
    font-size: 16px;
}

/* Tab Content */
.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Requests Table */
.requests-table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.requests-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.requests-table th {
    background: #003476;
    color: #fff;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.requests-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    color: #333;
}

.requests-table tbody tr:hover {
    background: #f8f9fa;
}

/* Status Badges */
.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status.in-progress {
    background: #fff3cd;
    color: #856404;
}

.status.completed {
    background: #d4edda;
    color: #155724;
}

/* Settings Section */
.settings-section h3 {
    color: #003476;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.settings-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.setting-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.setting-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    margin: 0;
}

.setting-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #003476;
}

/* Responsive Design */
@media (max-width: 768px) {
    .account-tab-content {
        padding: 20px;
    }

    .profile-info {
        grid-template-columns: 1fr;
    }

    .requests-tabs {
        flex-direction: column;
        gap: 4px;
    }

    .tab-button {
        padding: 10px 15px;
    }

    .requests-table th,
    .requests-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .account-tabs {
        flex-direction: column;
    }

    .account-tab-button {
        padding: 12px 15px;
    }
}

/* ============================================================================
   MY REQUESTS PAGE STYLES
   ============================================================================ */

/* Requests Page Container */
.requests-page-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Requests Section */
.requests-section {
    padding: 40px;
}

/* Requests Tabs */
.requests-tabs {
    display: flex;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 4px;
    margin-bottom: 30px;
}

.tab-button {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 4px;
}

.tab-button:hover {
    background: #e9ecef;
    color: #003476;
}

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

.tab-button i {
    font-size: 16px;
}

/* Tab Content */
.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Requests Table */
.requests-table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.requests-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.requests-table th {
    background: #003476;
    color: #fff;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.requests-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
}

.requests-table tbody tr:hover {
    background: #f8f9fa;
}

/* Status Badges */
.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status.in-progress {
    background: #fff3cd;
    color: #856404;
}

.status.completed {
    background: #d4edda;
    color: #155724;
}

.status.pending {
    background: #d1ecf1;
    color: #0c5460;
}

/* Action Buttons */
.requests-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.requests-actions .btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.requests-actions .btn-primary {
    background: #003476;
    border-color: #003476;
    color: #fff;
}

.requests-actions .btn-primary:hover {
    background: #002a5c;
    border-color: #002a5c;
    transform: translateY(-2px);
    color: #fff;
}

.requests-actions .btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.requests-actions .btn-secondary:hover {
    background: #5a6268;
    border-color: #5a6268;
    transform: translateY(-2px);
    color: #fff;
}

/* Table Action Buttons */
.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
}

.btn-outline-primary {
    color: #003476;
    border-color: #003476;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #003476;
    border-color: #003476;
    color: #fff;
}

/* Responsive Design for Requests Page */
@media (max-width: 768px) {
    .requests-section {
        padding: 20px;
    }

    .requests-tabs {
        flex-direction: column;
        gap: 4px;
    }

    .tab-button {
        padding: 10px 15px;
    }

    .requests-table th,
    .requests-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .requests-actions {
        flex-direction: column;
        align-items: center;
    }

    .requests-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Hide some columns on mobile */
    .requests-table th:nth-child(6),
    .requests-table td:nth-child(6) {
        display: none;
    }
}

@media (max-width: 480px) {

    .requests-table th:nth-child(4),
    .requests-table td:nth-child(4) {
        display: none;
    }
}

.cursor-p {
    cursor: pointer;
}