/* Custom Styling for WebDwar.com - Verified Portal Directory */

/* CSS Reset & Variable Definitions */
:root {
    /* Dark Theme Variables (Default) */
    --bg-main: #0a0d16;
    --bg-card: rgba(22, 29, 49, 0.65);
    --bg-card-hover: rgba(30, 39, 66, 0.85);
    --bg-sidebar: rgba(13, 18, 32, 0.85);
    --bg-header: rgba(10, 13, 22, 0.8);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(212, 175, 55, 0.4);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Brand Accent Colors */
    --accent-gold: #e5b83b;
    --accent-gold-glow: rgba(229, 184, 59, 0.25);
    --accent-blue: #3b82f6;
    --accent-blue-glow: rgba(59, 130, 246, 0.25);
    --accent-green: #10b981;
    --accent-green-glow: rgba(16, 185, 129, 0.25);
    --accent-red: #ef4444;
    --accent-red-glow: rgba(239, 68, 68, 0.25);
    
    /* Common UI variables */
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 14px;
    --border-radius-lg: 24px;
}

/* Light Theme Variables overrides */
.light-theme {
    --bg-main: #f5f7fb;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-sidebar: rgba(240, 243, 248, 0.9);
    --bg-header: rgba(245, 247, 251, 0.85);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(229, 184, 59, 0.6);
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Dynamic Ambient Glow Rings */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: -10;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.light-theme .ambient-glow {
    opacity: 0.04;
}

.glow-1 {
    top: -100px;
    left: -100px;
    background: var(--accent-gold);
}

.glow-2 {
    top: 30%;
    right: -200px;
    background: var(--accent-blue);
}

.glow-3 {
    bottom: -100px;
    left: 20%;
    background: var(--accent-green);
}

/* Main Header & Branding */
.main-header {
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.portal-gate {
    position: relative;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-gold), #b8860b);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(229, 184, 59, 0.3);
}

.gate-arch {
    position: absolute;
    top: 4px;
    width: 26px;
    height: 28px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: none;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.gate-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 0 20px var(--accent-gold);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.portal-gate:hover .gate-glow {
    opacity: 0.4;
}

.gate-icon {
    font-size: 20px;
    color: #ffffff;
    z-index: 2;
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-text h1 span {
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(229, 184, 59, 0.2);
}

.logo-text .tagline {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 700;
    margin-top: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.state-select-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: var(--transition-smooth);
}

.state-select-wrapper.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
}

.state-select-wrapper label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.state-select-wrapper select {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: var(--transition-smooth);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5b83b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}

.state-select-wrapper select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

.theme-toggle-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
    background: var(--bg-card-hover);
    transform: scale(1.08);
}

/* App Main Layout Structure */
.app-layout {
    flex: 1;
    display: flex;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    gap: 2rem;
}

/* Sidebar Navigation */
.sidebar {
    width: 320px;
    flex-shrink: 0;
    background: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    height: calc(100vh - 140px);
    position: sticky;
    top: 100px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--card-shadow);
}

.sidebar-scroll {
    height: 100%;
    overflow-y: auto;
    padding-right: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Sidebar Custom Scrollbar */
.sidebar-scroll::-webkit-scrollbar {
    width: 4px;
}
.sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-scroll::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.sidebar-section {
    margin-bottom: 1.5rem;
}

.sidebar-section h3 {
    font-family: var(--font-heading);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 800;
    margin-bottom: 1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-links li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.nav-links li a i {
    width: 20px;
    font-size: 16px;
    margin-right: 10px;
    transition: var(--transition-smooth);
}

.nav-links li a span {
    margin-right: auto;
}

.nav-links li a .badge {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

/* Active Nav States */
.nav-links li.active a, 
.nav-links li a:hover {
    color: var(--text-primary);
    background-color: var(--bg-card-hover);
    border-color: var(--border-color);
}

.nav-links li.active a {
    border-color: rgba(229, 184, 59, 0.25);
    background: linear-gradient(90deg, rgba(229, 184, 59, 0.08) 0%, var(--bg-card-hover) 100%);
}

.nav-links li.active a i {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.nav-links li.active a .badge {
    background-color: var(--accent-gold-glow);
    color: var(--accent-gold);
}

/* Bookmarks Sidebar Section */
.bookmark-section {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.bookmark-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.bookmark-count {
    background: var(--accent-gold-glow);
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
}

.bookmark-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.empty-bookmark-msg {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    padding: 0.5rem;
    text-align: center;
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-sm);
}

.bookmark-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.bookmark-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.bookmark-item-link {
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 80%;
}

.bookmark-item-link i {
    color: var(--accent-gold);
    font-size: 12px;
}

.remove-bookmark-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px;
    font-size: 12px;
    transition: var(--transition-smooth);
}

.remove-bookmark-btn:hover {
    color: var(--accent-red);
    transform: scale(1.2);
}

/* Admin Sidebar Entry Button */
.admin-nav-section {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
    margin-bottom: 0;
}

.admin-panel-btn {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-panel-btn:hover, .admin-panel-btn.active {
    background-color: var(--accent-gold-glow);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Content Area Layout */
.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0; 
}

/* Router Views Wrapper */
.view-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.view-section.hidden {
    display: none !important;
}

/* Banner / Search Hero Section */
.banner-section {
    position: relative;
    background: linear-gradient(135deg, #111a30 0%, #060912 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem 4rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.banner-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(229, 184, 59, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 10% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-gold-glow);
    border: 1px solid rgba(229, 184, 59, 0.2);
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.banner-content h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
}

.banner-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 2rem;
}

/* Search Box Container */
.search-box-container {
    position: relative;
    width: 100%;
    margin-bottom: 1.25rem;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
}

.search-box-container input {
    width: 100%;
    background-color: rgba(10, 13, 22, 0.85);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 1.1rem 3.5rem 1.1rem 3.25rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.light-theme .search-box-container input {
    color: var(--text-primary);
    background-color: #ffffff;
}

.search-box-container input::placeholder {
    color: var(--text-muted);
}

.search-box-container input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 4px var(--accent-gold-glow), 0 8px 30px rgba(0,0,0,0.4);
    background-color: var(--bg-main);
}

.clear-search-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.clear-search-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.clear-search-btn:hover {
    color: #ffffff;
}

.trending-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.trending-tags span {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.tag-btn {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tag-btn:hover {
    background-color: var(--accent-gold-glow);
    color: var(--accent-gold);
    border-color: rgba(229, 184, 59, 0.2);
}

/* State Notice Banner */
.state-notice-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, rgba(229, 184, 59, 0.15) 0%, rgba(229, 184, 59, 0.02) 100%);
    border: 1px solid rgba(229, 184, 59, 0.25);
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.5rem;
    animation: slideDown 0.3s ease;
}

.state-notice-banner.hidden {
    display: none !important;
}

.notice-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.notice-info i {
    color: var(--accent-gold);
    font-size: 16px;
}

.reset-state-btn {
    background: rgba(229, 184, 59, 0.15);
    border: 1px solid rgba(229, 184, 59, 0.3);
    color: var(--accent-gold);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
}

.reset-state-btn:hover {
    background: var(--accent-gold);
    color: #0a0d16;
}

/* Quick Stats Bar */
.quick-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
}

.stat-lbl {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Toolbar & Filters */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.active-category-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    position: relative;
    padding-left: 14px;
}

.active-category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background-color: var(--accent-gold);
    border-radius: 4px;
    box-shadow: 0 0 8px var(--accent-gold);
}

.filter-options {
    display: flex;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-btn:hover {
    color: var(--text-primary);
}

.filter-btn.active {
    background-color: var(--bg-card-hover);
    color: var(--accent-gold);
    box-shadow: var(--card-shadow);
}

/* Portal Grid Layout */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    animation: fadeIn 0.4s ease;
}

.portal-grid.hidden {
    display: none !important;
}

/* Portal Card Style */
.portal-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 200px;
    position: relative;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    border-top-left-radius: var(--border-radius-md);
    border-top-right-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.portal-card[data-type="central"]::before {
    background: var(--accent-blue);
}

.portal-card[data-type="state"]::before {
    background: var(--accent-gold);
}

.portal-card[data-type="utility"]::before {
    background: var(--accent-green);
}

.portal-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    background-color: var(--bg-card-hover);
}

/* Card Header elements */
.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.card-badge {
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-badge.central {
    background-color: var(--accent-blue-glow);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.card-badge.state {
    background-color: var(--accent-gold-glow);
    color: var(--accent-gold);
    border: 1px solid rgba(229, 184, 59, 0.15);
}

.card-badge.utility {
    background-color: var(--accent-green-glow);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.card-badge.verified {
    background-color: var(--accent-green-glow);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.15);
    display: flex;
    align-items: center;
    gap: 3px;
}

.bookmark-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    padding: 2px;
    transition: var(--transition-smooth);
    margin-left: auto;
}

.bookmark-btn:hover {
    transform: scale(1.2);
}

.bookmark-btn.active {
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(229, 184, 59, 0.4);
}

/* Title & Description */
.portal-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.portal-card p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1; 
}

/* Card Button Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
}

.domain-display {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 140px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.domain-display i {
    font-size: 9px;
}

.action-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.portal-card[data-type="central"] .action-link-btn:hover {
    background-color: var(--accent-blue);
    color: #ffffff;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
}

.portal-card[data-type="state"] .action-link-btn:hover {
    background-color: var(--accent-gold);
    color: #0a0d16;
    border-color: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(229, 184, 59, 0.35);
}

.portal-card[data-type="utility"] .action-link-btn:hover {
    background-color: var(--accent-green);
    color: #ffffff;
    border-color: var(--accent-green);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.action-link-btn i {
    font-size: 11px;
    transition: var(--transition-smooth);
}

.action-link-btn:hover i {
    transform: translateX(3px);
}

/* No Results State styling */
.no-results-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-md);
}

.no-results-state.hidden {
    display: none !important;
}

.no-results-state i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.no-results-state h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.no-results-state p {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 420px;
    margin-bottom: 1.5rem;
}

/* VIEW 2: SERVICE GUIDANCE & DETAIL VIEW (2nd Page) CSS */
.detail-header-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.back-to-directory-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.back-to-directory-btn:hover {
    background-color: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.detail-badges-row {
    display: flex;
    gap: 8px;
}

.detail-hero-content {
    background: linear-gradient(135deg, #111b33 0%, #060912 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.detail-hero-main h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.detail-domain-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    background-color: var(--accent-gold-glow);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.detail-short-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    max-width: 800px;
}

.detail-grid-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
}

.detail-guidance-col, 
.detail-action-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.guidance-card, 
.action-box-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.guidance-card:hover, 
.action-box-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.guidance-card h3, 
.action-box-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.guidance-card h3 i {
    color: var(--accent-gold);
}

.card-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.long-about-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Documents Checkboxes */
.documents-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.documents-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.documents-checklist li:hover {
    background-color: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.documents-checklist li input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.documents-checklist li input[type="checkbox"]:checked {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}

.documents-checklist li input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ffffff;
    font-size: 10px;
}

.documents-checklist li.checked-item {
    color: var(--text-muted);
    text-decoration: line-through;
    border-color: rgba(16, 185, 129, 0.15);
    background-color: rgba(16, 185, 129, 0.02);
}

/* Step Timeline timeline-steps */
.timeline-steps {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 20px;
    margin-top: 10px;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-step {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bg-main);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 0 8px var(--accent-gold);
    z-index: 2;
}

.timeline-step-content h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-step-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Visit Official Portals Action Box */
.action-box-card.highlight-glow {
    border-color: rgba(229, 184, 59, 0.2);
    background: linear-gradient(135deg, rgba(22, 29, 49, 0.8) 0%, rgba(10, 13, 22, 0.95) 100%);
    position: relative;
}

.action-box-card h3 i {
    color: var(--accent-gold);
}

.action-box-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.portal-visit-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.primary-visit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
    color: #0a0d16;
    border: none;
    padding: 14px 20px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(229, 184, 59, 0.25);
    transition: var(--transition-smooth);
}

.primary-visit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 184, 59, 0.4);
    background: #ffd04b;
}

.primary-visit-btn i {
    font-size: 13px;
}

.sub-visit-btn {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.sub-visit-btn:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-hover);
}

/* Video Guide Player Container */
.video-container-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: #000000;
}

.video-container-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.info-disclosure-card {
    background-color: rgba(59, 130, 246, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.info-disclosure-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.info-disclosure-card p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* VIEW 3: ADMIN LOGIN & COMMAND CENTER STYLING */
.admin-login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem;
}

.admin-login-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.login-header {
    text-align: center;
}

.login-icon {
    font-size: 40px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px var(--accent-gold-glow);
}

.login-header h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.login-header p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.admin-login-card form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}

.input-group input {
    background-color: rgba(10, 13, 22, 0.8);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.light-theme .input-group input {
    color: var(--text-primary);
    background-color: #ffffff;
}

.input-group input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

.login-submit-btn {
    background-color: var(--accent-gold);
    color: #0a0d16;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--accent-gold-glow);
    transition: var(--transition-smooth);
    margin-top: 0.5rem;
}

.login-submit-btn:hover {
    background-color: #ffd04b;
    transform: translateY(-1px);
}

/* Admin Dashboard Container */
.admin-panel-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.admin-header-title h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}

.admin-header-title p {
    font-size: 13px;
    color: var(--text-secondary);
}

.admin-header-actions {
    display: flex;
    gap: 12px;
}

.admin-action-btn {
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.admin-action-btn.primary {
    background-color: var(--accent-gold);
    color: #0a0d16;
    box-shadow: 0 4px 12px var(--accent-gold-glow);
}

.admin-action-btn.primary:hover {
    background-color: #ffd04b;
    transform: translateY(-1px);
}

.admin-action-btn.secondary {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.admin-action-btn.secondary:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--accent-red);
    color: var(--accent-red);
}

/* Admin Quick Stats */
.admin-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.admin-stat-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.admin-stat-card .num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-gold);
}

.admin-stat-card .label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* CRUD Admin Table layout */
.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.admin-portals-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}

.admin-portals-table th {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-weight: 800;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.admin-portals-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
}

.admin-portals-table tr:last-child td {
    border-bottom: none;
}

.admin-portals-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.01);
    color: var(--text-primary);
}

.admin-table-actions {
    display: flex;
    gap: 8px;
}

.tbl-action-btn {
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition-smooth);
}

.tbl-action-btn.edit {
    background-color: var(--accent-green-glow);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.tbl-action-btn.edit:hover {
    background-color: var(--accent-green);
    color: #ffffff;
}

.tbl-action-btn.delete {
    background-color: var(--accent-red-glow);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.tbl-action-btn.delete:hover {
    background-color: var(--accent-red);
    color: #ffffff;
}

/* Modals & Popups for Forms */
.admin-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 2rem 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.admin-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.admin-modal-card {
    background-color: #0c111e;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    width: 100%;
    max-width: 780px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    color: #ffffff;
}

.portal-crud-form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background-color: rgba(10, 13, 22, 0.85);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 13px;
    outline: none;
    transition: var(--transition-smooth);
}

.light-theme .form-group input, 
.light-theme .form-group select, 
.light-theme .form-group textarea {
    color: var(--text-primary);
    background-color: #ffffff;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

.form-group .help-text {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.state-urls-inputs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 6px;
}

.state-urls-inputs-grid div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.state-urls-inputs-grid div .lbl {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    width: 20px;
}

.state-urls-inputs-grid div input {
    flex: 1;
    padding: 6px 8px;
    font-size: 11px;
}

.modal-footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.form-btn {
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.form-btn.cancel {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.form-btn.cancel:hover {
    background-color: var(--bg-card-hover);
    color: var(--text-primary);
}

.form-btn.submit {
    background-color: var(--accent-gold);
    color: #0a0d16;
    box-shadow: 0 4px 12px var(--accent-gold-glow);
}

.form-btn.submit:hover {
    background-color: #ffd04b;
}

/* Informational / Features Grid */
.info-section {
    margin-top: 1.5rem;
}

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

.info-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card .icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(229, 184, 59, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 16px;
}

.info-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
}

.info-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Suggestions & Feedback Section */
.feedback-card {
    background: linear-gradient(135deg, #0e1424 0%, #060912 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: var(--card-shadow);
}

.light-theme .feedback-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.feedback-info h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.light-theme .feedback-info h3 {
    color: #0f172a !important;
}

.feedback-info p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.light-theme .feedback-info p {
    color: #475569 !important;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row input, 
.form-row select {
    flex: 1;
    background-color: rgba(10, 13, 22, 0.85);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    outline: none;
    transition: var(--transition-smooth);
}

.light-theme .form-row input, 
.light-theme .form-row select {
    color: #0f172a !important;
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

.form-row input::placeholder {
    color: var(--text-muted);
}

.light-theme .form-row input::placeholder {
    color: #94a3b8 !important;
}

.form-row input:focus, 
.form-row select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

.submit-fb-btn {
    background-color: var(--accent-gold);
    border: none;
    color: #0a0d16;
    font-weight: 800;
    font-size: 14px;
    padding: 0 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.submit-fb-btn:hover {
    background-color: #ffd04b;
    box-shadow: 0 4px 15px rgba(229, 184, 59, 0.3);
    transform: translateY(-1px);
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0f172a;
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    color: var(--accent-green);
    font-size: 16px;
}

.toast-message {
    font-size: 13px;
    font-weight: 600;
}

/* Main Footer */
.main-footer {
    background-color: #05080e;
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    transition: var(--transition-smooth);
}

.light-theme .main-footer {
    background-color: #eaeff5;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    cursor: pointer;
}

.footer-logo i {
    color: var(--accent-gold);
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 320px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.footer-links ul li a:hover {
    color: var(--accent-gold);
    padding-left: 3px;
}

.footer-links p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.text-success {
    color: var(--accent-green);
}

.footer-bottom {
    max-width: 1600px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

/* KEYFRAMES & ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
    .app-layout {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: static;
    }

    .sidebar-scroll {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .nav-links li {
        flex: 1 1 200px;
    }
    
    .bookmark-section {
        border-top: 1px solid var(--border-color);
        padding-top: 1rem;
    }

    .admin-nav-section {
        border-top: 1px solid var(--border-color);
        padding-top: 1rem;
        margin-top: 0;
    }

    .detail-grid-layout {
        grid-template-columns: 1fr;
    }

    .admin-quick-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .header-container {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.5rem !important;
        padding: 0.8rem 1rem !important;
    }

    .brand-logo-img {
        height: 38px !important;
    }

    .header-actions {
        width: auto !important;
        justify-content: flex-end !important;
        gap: 10px !important;
    }
}

    .banner-section {
        padding: 2rem;
    }

    .banner-content h2 {
        font-size: 28px;
    }

    .quick-stats-bar {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .filter-options {
        justify-content: space-between;
    }

    .form-row {
        flex-direction: column;
    }

    .submit-fb-btn {
        padding: 14px 18px;
    }

    .state-urls-inputs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* BRAND LOGO IMAGE STYLING */
.brand-logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition-smooth);
}

.brand-logo-img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 10px rgba(229, 184, 59, 0.15));
}

/* LANGUAGE TRANSLATOR COMPONENT STYLING */
.language-translator-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.language-translator-wrapper .lang-lbl {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Google Translate Widget Override */
#google_translate_element {
    display: inline-block;
}

#google_translate_element select.goog-te-combo {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 2rem 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: var(--transition-smooth);
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#google_translate_element select.goog-te-combo:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

.goog-logo-link, .goog-te-gadget span {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}

/* Remove translate banner frame */
body {
    top: 0 !important;
}

.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
}

/* Keep combo selector visible but remove top frame */
iframe.goog-te-banner-frame {
    display: none !important;
}

#goog-gt-tt, .goog-te-balloon-frame {
    display: none !important;
}

/* ==========================================
   1. LIVE ALERT TICKER STYLING
   ========================================== */
.live-alert-ticker-container {
    background: rgba(22, 29, 49, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    height: 38px;
    overflow: hidden;
    position: relative;
    z-index: 99;
}

.dark-theme .live-alert-ticker-container {
    background: rgba(10, 13, 22, 0.95);
}

.light-theme .live-alert-ticker-container {
    background: rgba(248, 250, 252, 0.95);
}

.ticker-label {
    background: linear-gradient(135deg, var(--accent-gold), #d97706);
    color: #000000;
    font-size: 11px;
    font-weight: 800;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.15);
}

.ticker-content-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    margin-right: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.ticker-badge {
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.ticker-badge.hot {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.ticker-badge.active {
    background: #3b82f6;
    color: #ffffff;
}

.ticker-badge.warning {
    background: #eab308;
    color: #000000;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* ==========================================
   2. OFFICIAL FEE & TIMELINE CARD STYLING
   ========================================== */
.fee-timeline-card {
    background: rgba(251, 191, 36, 0.05) !important;
    border: 1px dashed var(--accent-gold) !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem;
}

.fee-timeline-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 1rem 0;
}

.fee-timeline-item {
    background: rgba(22, 29, 49, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.light-theme .fee-timeline-item {
    background: rgba(255, 255, 255, 0.8);
}

.fee-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(229, 184, 59, 0.15);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.fee-info {
    display: flex;
    flex-direction: column;
}

.fee-lbl {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.fee-info strong {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 700;
}

.fee-disclaimer {
    font-size: 11px;
    color: var(--accent-gold);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

/* ==========================================
   3. SMART DOCUMENT CHECKLIST HELPER
   ========================================== */
.helper-generator-card {
    background: linear-gradient(135deg, rgba(22, 29, 49, 0.7), rgba(15, 23, 42, 0.7));
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.dark-theme .helper-generator-card {
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.05);
}

.light-theme .helper-generator-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(241, 245, 249, 0.9));
    border-color: rgba(59, 130, 246, 0.3) !important;
}

.helper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0.5rem;
}

.helper-badge-spark {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    display: flex;
    align-items: center;
    gap: 4px;
}

.helper-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1rem;
}

.form-question {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-question label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.helper-select {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 12px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.helper-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.helper-result-box {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: var(--border-radius-sm);
    padding: 15px;
    margin-top: 1rem;
    animation: fadeIn 0.4s ease;
}

.result-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(34, 197, 94, 0.15);
    padding-bottom: 10px;
}

.result-header i {
    font-size: 20px;
    margin-top: 2px;
}

.result-header h4 {
    margin: 0 0 2px 0;
    color: var(--text-primary);
    font-weight: 800;
}

.result-header p {
    margin: 0;
    font-size: 11px;
    color: var(--text-muted);
}

.result-body h5 {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.custom-docs-ticklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-docs-ticklist li {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.custom-docs-ticklist li i {
    color: #22c55e;
    font-size: 14px;
}

/* ==========================================
   4. CSC & e-MITRA KIOSK FINDER STYLING
   ========================================== */
.kiosk-header-panel {
    margin-bottom: 1.5rem;
}

.kiosk-header-panel h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.kiosk-header-panel p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.kiosk-search-controls {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 16px;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .kiosk-search-controls {
        grid-template-columns: 1fr;
    }
}

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

.kiosk-search-input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--text-muted);
}

.kiosk-search-input-wrapper input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 15px 12px 45px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    outline: none;
    transition: var(--transition-smooth);
}

.kiosk-search-input-wrapper input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

.kiosk-filter-selects select {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 15px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

.kiosk-locator-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .kiosk-locator-grid {
        grid-template-columns: 1fr;
    }
}

.kiosks-list-container h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kiosks-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kiosk-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1.25rem;
    position: relative;
    transition: var(--transition-smooth);
}

.kiosk-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-gold);
    box-shadow: 0 8px 24px rgba(229, 184, 59, 0.05);
}

.kiosk-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.kiosk-card-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
}

.operator-badge {
    background: rgba(229, 184, 59, 0.15);
    color: var(--accent-gold);
    font-size: 9px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(229, 184, 59, 0.2);
}

.kiosk-card-address {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.kiosk-card-address i {
    margin-top: 3px;
    color: var(--accent-gold);
}

.kiosk-meta-row {
    display: flex;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: 12px;
}

.kiosk-meta-item {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.kiosk-meta-item i {
    color: #22c55e;
}

.no-kiosks-found {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 3rem;
    text-align: center;
    color: var(--text-muted);
}

.no-kiosks-found i {
    font-size: 40px;
    margin-bottom: 12px;
}

.operator-guidance-ticks {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.operator-guidance-ticks li {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.operator-guidance-ticks li i {
    color: #22c55e;
}

/* ==========================================
   5. VOICE AI CHATBOT MITRA STYLING
   ========================================== */
.chatbot-bubble-floating {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), #d97706);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(229, 184, 59, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.chatbot-bubble-floating:hover {
    transform: scale(1.08) rotate(8deg);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid var(--accent-gold);
    animation: ringPulse 2s infinite;
    opacity: 0;
}

@keyframes ringPulse {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.chatbot-badge {
    position: absolute;
    top: -8px;
    background: #ef4444;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    letter-spacing: 0.5px;
}

.chatbot-drawer {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 380px;
    height: 520px;
    border-radius: var(--border-radius-md);
    background: rgba(22, 29, 49, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    z-index: 999;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.chatbot-drawer.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.light-theme .chatbot-drawer {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 480px) {
    .chatbot-drawer {
        width: calc(100% - 30px);
        right: 15px;
        left: 15px;
        bottom: 95px;
        height: 480px;
    }
}

.chatbot-header {
    background: linear-gradient(135deg, rgba(22, 29, 49, 0.6), rgba(15, 23, 42, 0.6));
    border-bottom: 1px solid var(--border-color);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bot-icon-glow {
    width: 38px;
    height: 38px;
    background: rgba(229, 184, 59, 0.15);
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 0 15px var(--accent-gold-glow);
}

.bot-status-text h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
}

.status-indicator {
    font-size: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-indicator .dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px #22c55e;
}

.bot-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}

.bot-close-btn:hover {
    color: var(--text-primary);
}

.chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
}

.chat-message.bot {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    position: relative;
    padding-right: 38px;
}

.chat-speak-btn {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(229, 184, 59, 0.1);
    border: 1px solid rgba(229, 184, 59, 0.25);
    color: var(--accent-gold);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-speak-btn:hover {
    background: var(--accent-gold);
    color: #000000;
    transform: scale(1.1);
}

.chat-speak-btn.speaking {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    animation: speakerPulse 1.2s infinite;
}

@keyframes speakerPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.light-theme .chat-message.bot {
    background: #f1f5f9;
}

.chat-message.user {
    background: var(--accent-gold);
    color: #000000;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    font-weight: 600;
}

.chat-message p {
    margin: 0;
}

.chatbot-quick-triggers {
    display: flex;
    gap: 8px;
    padding: 10px 15px;
    overflow-x: auto;
    white-space: nowrap;
    border-top: 1px solid var(--border-color);
}

.chatbot-quick-triggers::-webkit-scrollbar {
    display: none;
}

.quick-btn {
    background: rgba(229, 184, 59, 0.1);
    border: 1px solid rgba(229, 184, 59, 0.2);
    color: var(--accent-gold);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.quick-btn:hover {
    background: var(--accent-gold);
    color: #000000;
}

.chatbot-input-area {
    border-top: 1px solid var(--border-color);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-input-area input {
    flex: 1;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 12px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    outline: none;
}

.chatbot-input-area input:focus {
    border-color: var(--accent-gold);
}

.voice-mic-btn {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #3b82f6;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.voice-mic-btn:hover {
    transform: scale(1.05);
}

.voice-mic-btn.recording {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    animation: micPulse 1.2s infinite;
}

@keyframes micPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.chat-send-btn {
    background: var(--accent-gold);
    border: none;
    color: #000000;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.chat-send-btn:hover {
    transform: scale(1.05);
}

/* ==========================================
 * NEXT-LEVEL DIGITAL PLATFORM SMART UTILITY TOOLS
 * ========================================== */

/* Generic / Utility Form Group */
.alert-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}
.alert-form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
}
.alert-form-group input {
    background-color: rgba(10, 13, 22, 0.85);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}
.light-theme .alert-form-group input {
    color: var(--text-primary);
    background-color: #ffffff;
}
.alert-form-group input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

/* Detector View Card Styles */
.detector-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.detector-input-wrapper {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.detector-input-wrapper input {
    flex: 1;
    background-color: rgba(10, 13, 22, 0.85);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: var(--transition-smooth);
}
.light-theme .detector-input-wrapper input {
    color: var(--text-primary);
    background-color: #ffffff;
}
.detector-input-wrapper input:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px var(--accent-gold-glow);
}
.scanner-anim-container {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.scanner-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    position: absolute;
    top: 0;
    left: 0;
    animation: scanning 1.5s infinite ease-in-out;
}
@keyframes scanning {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}
.scanner-anim-container p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    animation: textPulse 1s infinite alternate;
}
@keyframes textPulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.detector-result-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: fadeIn 0.4s ease;
}
.detector-status-header {
    display: flex;
    align-items: center;
    gap: 15px;
}
.detector-status-badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.detector-status-badge.safe {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.detector-status-badge.warning {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.detector-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
}
.detector-details-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.detector-details-item span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
}
.detector-details-item strong {
    font-size: 13px;
    color: var(--text-primary);
}

/* Document Compressor Styles */
.compressor-drag-zone {
    border: 2px dashed var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    cursor: pointer;
}
.compressor-drag-zone:hover {
    border-color: var(--accent-gold);
    background: rgba(229, 184, 59, 0.02);
}
.compressor-drag-zone.dragover {
    border-color: var(--accent-green);
    background: rgba(16, 185, 129, 0.04);
}
.drag-icon {
    font-size: 42px;
    color: var(--text-muted);
    margin-bottom: 5px;
}
.or-separator {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}
.select-file-lbl {
    cursor: pointer;
}

.compressor-controls-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}
.preview-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.preview-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
}
.preview-box h5 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}
.img-preview-container {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.img-preview-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.file-size-lbl {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-top: 8px;
}

.quality-slider-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.quality-slider-container label {
    font-size: 13px;
    font-weight: 700;
}
.quality-slider-container input[type="range"] {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}
.quality-slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-gold-glow);
}
.slider-hint {
    font-size: 11px;
    color: var(--text-muted);
}
.compress-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-danger-outline {
    background: transparent;
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-danger-outline:hover {
    background: var(--accent-red);
    color: #ffffff;
}

/* Scheme Wizard Styles */
.scheme-wizard-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.scheme-wizard-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
}
.wizard-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}
.wizard-progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
    transform: translateY(-50%);
}
.progress-step {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    transition: var(--transition-smooth);
}
.progress-step.active {
    background: var(--accent-gold);
    color: #0a0d16;
    border-color: var(--accent-gold);
    box-shadow: 0 0 12px var(--accent-gold-glow);
}
.wizard-step-section h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 5px;
}
.wizard-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}
.wizard-option-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.wizard-option-card:hover {
    border-color: var(--accent-gold);
    background: rgba(229, 184, 59, 0.02);
}
.wizard-option-card.active {
    border-color: var(--accent-gold);
    background: rgba(229, 184, 59, 0.06);
    box-shadow: 0 0 10px var(--accent-gold-glow);
}
.option-icon {
    font-size: 28px;
    color: var(--accent-gold);
}
.wizard-option-card h4 {
    font-size: 14px;
    font-weight: 800;
}
.wizard-option-card p {
    font-size: 11px;
    color: var(--text-secondary);
}
.wizard-button-row {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.float-right {
    float: right;
}
.font-large {
    font-size: 16px !important;
}
.wizard-select-wrapper {
    margin-top: 25px;
    text-align: center;
}
.wizard-select-wrapper select {
    width: 100%;
    max-width: 400px;
}

.wizard-results-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeIn 0.4s ease;
}
.results-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}
.results-header-row h3 {
    font-size: 18px;
    font-weight: 800;
}
.re-run-wizard-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.re-run-wizard-btn:hover {
    background: var(--bg-card-hover);
}
.matched-schemes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.matched-scheme-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 18px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition-smooth);
}
.matched-scheme-card:hover {
    border-color: var(--accent-gold);
    background: rgba(229, 184, 59, 0.01);
    transform: translateY(-2px);
}
.matched-scheme-card h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
}
.matched-scheme-card p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    flex: 1;
}

/* Blank PDF Forms Styles */
.forms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.form-pdf-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    transition: var(--transition-smooth);
}
.form-pdf-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}
.pdf-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-red);
    font-size: 22px;
}
.pdf-info-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pdf-info-wrap h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
}
.pdf-info-wrap p {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.3;
}
.file-size-tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
}

/* Alert Checkbox Grid */
.alert-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 5px;
}
.alert-cb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 10px 12px;
    border-radius: 6px;
}
.alert-cb-item label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
}
.alert-cb-item input[type="checkbox"] {
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.upcoming-deadlines-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}
.upcoming-deadlines-list li {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}
.upcoming-deadlines-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.deadline-badge {
    padding: 4px 8px;
    font-size: 9px;
    font-weight: 800;
    border-radius: 4px;
    height: fit-content;
}
.deadline-badge.hot {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.deadline-badge.active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.deadline-badge.warning {
    background: rgba(229, 184, 59, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(229, 184, 59, 0.3);
}
.upcoming-deadlines-list strong {
    font-size: 12px;
    color: var(--text-primary);
    display: block;
    margin-bottom: 2px;
}
.upcoming-deadlines-list p {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* ==========================================
   PREMIUM CITIZEN VAULT & GOOGLE AUTH STYLES
   ========================================== */
.premium-badge {
    background: linear-gradient(135deg, #e5b83b 0%, #b28d24 100%);
    color: #111;
    font-size: 8px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 0 10px rgba(229,184,59,0.3);
}

.google-signin-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.google-signin-btn:hover {
    background: var(--btn-hover);
    border-color: var(--accent-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229,184,59,0.15);
}

/* User Auth Profile State inside Header */
.header-profile-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 4px 12px 4px 6px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-profile-badge:hover {
    border-color: rgba(229,184,59,0.3);
    background: rgba(229,184,59,0.03);
}

.header-profile-badge img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--accent-gold);
}

.header-profile-badge span {
    font-family: var(--font-header);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Saved document thumbnail card */
.saved-doc-thumbnail {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.saved-doc-thumbnail:hover {
    transform: scale(1.03);
    border-color: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(229,184,59,0.15);
}

.saved-doc-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex: 1;
}

.saved-doc-footer {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    padding: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.saved-doc-title {
    font-size: 9px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75%;
}

.saved-doc-delete-btn {
    background: none;
    border: none;
    color: var(--accent-red);
    cursor: pointer;
    font-size: 10px;
    padding: 4px;
    transition: transform 0.2s ease;
}

.saved-doc-delete-btn:hover {
    transform: scale(1.2);
}

/* Tracker card styling */
.tracker-item-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.tracker-item-card:hover {
    border-color: rgba(229,184,59,0.2);
    background: rgba(229,184,59,0.01);
}

.tracker-info h5 {
    font-family: var(--font-header);
    font-size: 13px;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.tracker-info p {
    font-family: var(--font-body);
    font-size: 11px;
    margin: 0;
    color: var(--text-secondary);
}

.tracker-actions {
    display: flex;
    gap: 8px;
}

.tracker-copy-btn, .tracker-delete-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 12px;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.tracker-copy-btn:hover {
    color: var(--accent-gold);
    background: rgba(229,184,59,0.1);
}

.tracker-delete-btn:hover {
    color: var(--accent-red);
    background: rgba(239, 68, 68, 0.1);
}

/* ==========================================
   MISSING & FINISHING STYLES
   ========================================== */

/* Profile locker view - alias for view-section */
.view-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.view-panel.hidden {
    display: none !important;
}

/* Brand Logo Image */
.brand-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(229, 184, 59, 0.3));
    transition: var(--transition-smooth);
}

.brand-logo-img:hover {
    filter: drop-shadow(0 0 12px rgba(229, 184, 59, 0.5));
    transform: scale(1.03);
}

/* Google Translate Language Wrapper */
.language-translator-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lang-lbl {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#google_translate_element {
    font-family: var(--font-body) !important;
}

#google_translate_element select {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: var(--transition-smooth);
}

#google_translate_element select:focus {
    border-color: var(--accent-gold);
}

/* Kiosks layout (used in profile vault two-column layout) */
.kiosks-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.kiosks-filter-container {
    position: sticky;
    top: 100px;
}

/* Matched Scheme Cards in Scheme Finder results */
.matched-schemes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.matched-scheme-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.matched-scheme-card:hover {
    border-color: rgba(229, 184, 59, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.matched-scheme-card h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.matched-scheme-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Re-run wizard button */
.re-run-wizard-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.re-run-wizard-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.15);
}

/* Results header row */
.results-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.results-header-row h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
}

/* Admin link in sidebar */
.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.65rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-weight: 700;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    letter-spacing: 0.3px;
}

.admin-sidebar-link:hover {
    color: var(--accent-gold);
    background: var(--accent-gold-glow);
    border-color: rgba(229, 184, 59, 0.2);
}

/* Responsive fixes */
@media (max-width: 1100px) {
    .kiosks-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .language-translator-wrapper {
        display: none;
    }
    
    .brand-logo-img {
        height: 36px;
    }
    
    .matched-schemes-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   GLOBAL UTILITY / HELPER CLASSES
   ========================================== */

/* Text Color Utilities */
.text-gold { color: var(--accent-gold) !important; }
.text-success { color: var(--accent-green) !important; }
.text-danger { color: var(--accent-red) !important; }
.text-warning { color: #eab308 !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-primary { color: var(--text-primary) !important; }

/* Text Alignment */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

/* Spacing Utilities */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 2rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }

/* Width */
.w-100 { width: 100% !important; }

/* Display */
.hidden { display: none !important; }
.d-flex { display: flex !important; }

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8860b 100%);
    color: #0a0d16;
    border: none;
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(229, 184, 59, 0.2);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-primary:hover {
    background: #ffd04b;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(229, 184, 59, 0.3);
}

/* Secondary Button */
.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

/* Small Button Modifier */
.btn-small {
    padding: 8px 14px !important;
    font-size: 12px !important;
}

/* Fade-in animation class */
.animate-fade-in {
    animation: fadeIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

/* ======================================================== */
/* MODERN HERO SECTION, CATEGORIES GRID & ABOUT WEBOWAR CSS */
/* ======================================================== */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, #111a30 0%, #060912 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem 4rem !important;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(229, 184, 59, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 10% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px !important;
}

.hero-tagline {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.hero-search-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 1.25rem;
    width: 100%;
}

.hero-search-actions .search-box-container {
    margin-bottom: 0;
    flex: 1;
}

.hero-cta-btn {
    height: 52px;
    flex-shrink: 0;
    border-radius: var(--border-radius-md) !important;
    font-size: 14px !important;
    padding: 0 24px !important;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(229, 184, 59, 0.35) !important;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem !important;
    }
    .hero-search-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Categories Grid Section Styling */
.categories-grid-section {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.categories-grid-section .section-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.category-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition-smooth);
}

.category-card:hover .category-icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

/* Icon Wrappers Color Theme */
.category-icon-wrap.bg-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.category-icon-wrap.bg-blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.category-icon-wrap.bg-gold {
    background: rgba(229, 184, 59, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(229, 184, 59, 0.2);
}
.category-icon-wrap.bg-purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.2);
}
.category-icon-wrap.bg-red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.category-icon-wrap.bg-cyan {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.category-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.category-card p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* About Section Styling */
.about-section {
    background: linear-gradient(135deg, rgba(22, 29, 49, 0.6) 0%, rgba(13, 18, 32, 0.7) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-logo {
    flex-shrink: 0;
}

.about-shield-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(229, 184, 59, 0.25));
    animation: pulseGold 3s ease-in-out infinite;
}

.about-details {
    flex: 1;
}

.about-details h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-details p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.about-details p:last-child {
    margin-bottom: 0;
}

.about-details code {
    background: rgba(229, 184, 59, 0.08);
    color: var(--accent-gold);
    border: 1px solid rgba(229, 184, 59, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
}

@keyframes pulseGold {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(229, 184, 59, 0.25)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 20px rgba(229, 184, 59, 0.45)); transform: scale(1.03); }
}

@media (max-width: 600px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-shield-logo {
        width: 64px;
    }
}

/* ==========================================================================
   HERO SEARCH ACTION DECK HUB DESIGN SYSTEM
   ========================================================================== */

.hero-search-hub-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 16px;
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: stretch;
}

/* Large glowing glassmorphic search input box */
.main-search-hub-box {
    background: rgba(13, 18, 30, 0.45) !important;
    border: 2px solid rgba(0, 242, 254, 0.15) !important;
    border-radius: 16px !important;
    padding: 0 24px !important;
    height: auto !important;
    min-height: 164px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: all 0.3s ease;
    position: relative;
}

.main-search-hub-box:focus-within {
    border-color: #00f2fe !important;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.25) !important;
}

.main-search-hub-box .search-icon {
    font-size: 26px !important;
    color: #00f2fe !important;
    margin-right: 18px !important;
    filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.4));
}

.main-search-hub-box input {
    font-size: 18px !important;
    height: 60px !important;
    color: #f8fafc !important;
    font-weight: 500 !important;
}

.main-search-hub-box input::placeholder {
    color: #64748b !important;
    font-size: 16px;
}

/* Three vertical stacked action buttons */
.hero-action-deck {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
}

.hero-action-deck-btn {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Mode-specific neon accents */
.hero-action-deck-btn i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.hero-action-deck-btn .btn-txt-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-action-deck-btn .btn-main-txt {
    font-size: 13.5px;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.hero-action-deck-btn .btn-sub-txt {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

/* Cyan Glowing Mode */
#heroSearchBtn:hover, #heroSearchBtn.active {
    border-color: rgba(0, 242, 254, 0.45);
    background: rgba(0, 242, 254, 0.06);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.12);
    color: #00f2fe;
}
#heroSearchBtn:hover i, #heroSearchBtn.active i {
    color: #00f2fe;
    transform: scale(1.15);
    filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.6));
}

/* Gold Glowing Mode */
#heroSchemeBtn:hover, #heroSchemeBtn.active {
    border-color: rgba(229, 184, 59, 0.45);
    background: rgba(229, 184, 59, 0.06);
    box-shadow: 0 4px 15px rgba(229, 184, 59, 0.12);
    color: #e5b83b;
}
#heroSchemeBtn:hover i, #heroSchemeBtn.active i {
    color: #e5b83b;
    transform: scale(1.15);
    filter: drop-shadow(0 0 5px rgba(229, 184, 59, 0.6));
}

/* Red/Orange Glowing Mode */
#heroPhishBtn:hover, #heroPhishBtn.active {
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.06);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.12);
    color: #ef4444;
}
#heroPhishBtn:hover i, #heroPhishBtn.active i {
    color: #ef4444;
    transform: scale(1.15);
    filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.6));
}

/* Active selection border line indicator */
.hero-action-deck-btn::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background: transparent;
    transition: all 0.3s ease;
}
#heroSearchBtn.active::after { background: #00f2fe; }
#heroSchemeBtn.active::after { background: #e5b83b; }
#heroPhishBtn.active::after { background: #ef4444; }

/* Responsive adjustments & Collapsible Sidebar Drawer */
.menu-toggle-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    margin-right: 15px;
    z-index: 160;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .menu-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Make sidebar a beautiful collapsible icon-only dock on mobile */
    .sidebar {
        position: fixed !important;
        left: 0 !important;
        top: 73px !important;
        width: 70px !important;
        height: calc(100vh - 73px) !important;
        z-index: 150 !important;
        background: rgba(13, 18, 30, 0.96) !important;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.4) !important;
        transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
        padding: 20px 8px !important;
        border-right: 1px solid var(--border-color) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        overflow: hidden !important;
    }
    
    /* When expanded/open, smooth transition to full details */
    .sidebar.open {
        width: 300px !important;
        box-shadow: 10px 0 35px rgba(0, 0, 0, 0.6) !important;
    }
    
    .sidebar-scroll {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    /* Hide text details and headers when sidebar is collapsed */
    .sidebar:not(.open) h3,
    .sidebar:not(.open) span:not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.badge),
    .sidebar:not(.open) .badge,
    .sidebar:not(.open) .bookmark-section,
    .sidebar:not(.open) .admin-sidebar-link span,
    .sidebar:not(.open) .admin-sidebar-link i:last-child {
        opacity: 0 !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        display: none !important;
    }

    /* Icon-only centered view when collapsed */
    .sidebar:not(.open) .nav-links li a {
        justify-content: center !important;
        padding: 12px 0 !important;
        border-radius: var(--border-radius-sm) !important;
    }

    .sidebar:not(.open) .nav-links li a i {
        margin-right: 0 !important;
        font-size: 20px !important;
        transition: transform 0.3s ease !important;
    }
    
    .sidebar:not(.open) .nav-links li a:hover i {
        transform: scale(1.2) !important;
    }

    .sidebar:not(.open) .admin-sidebar-link {
        justify-content: center !important;
        padding: 12px 0 !important;
    }

    .sidebar:not(.open) .admin-sidebar-link i {
        margin-right: 0 !important;
        font-size: 20px !important;
    }
    
    /* Reveal styles back when sidebar is open */
    .sidebar.open h3 {
        opacity: 1 !important;
        display: block !important;
    }

    .sidebar.open .nav-links li a {
        justify-content: space-between !important;
        padding: 0.75rem 1rem !important;
    }

    .sidebar.open .nav-links li a i {
        margin-right: 10px !important;
        font-size: 16px !important;
    }

    .sidebar.open .admin-sidebar-link {
        justify-content: flex-start !important;
        padding: 10px 15px !important;
    }

    .sidebar.open .admin-sidebar-link i {
        margin-right: 10px !important;
        font-size: 16px !important;
    }

    /* Space out the main app layout and other elements so they are not hidden behind the collapsed sidebar */
    .app-layout {
        flex-direction: column !important;
        padding: 1.5rem 1.5rem 1.5rem calc(70px + 1.5rem) !important;
    }

    .top-search-detector-console,
    .live-alert-ticker-container,
    #immediateSearchResults,
    .main-footer {
        margin-left: 70px !important;
        width: calc(100% - 70px) !important;
    }

    .nav-links {
        flex-direction: column !important;
    }

    .nav-links li {
        flex: none !important;
        width: 100% !important;
    }

    /* Sticky Search Bar on Mobile */
    .main-search-hub-box {
        position: sticky !important;
        top: 80px !important;
        z-index: 90 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    }

    .hero-search-hub-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .main-search-hub-box {
        min-height: 80px;
    }
    .hero-action-deck {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .hero-action-deck-btn {
        flex: 1 1 200px;
    }
}

/* ==========================================================================
   WEB DWAR MITRA PROMO BANNER
   ========================================================================== */
.mitra-promo-banner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(229, 184, 59, 0.08) 100%);
    border: 1px solid rgba(229, 184, 59, 0.25);
    border-radius: 16px;
    padding: 24px 32px;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mitra-promo-banner:hover {
    transform: translateY(-2px);
    border-color: #e5b83b;
    box-shadow: 0 15px 40px rgba(229, 184, 59, 0.15);
}

.mitra-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(229, 184, 59, 0.15);
    color: #e5b83b;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.mitra-promo-content h3 {
    font-size: 18px;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 6px 0;
}

.mitra-promo-content p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.mitra-promo-content em {
    color: #e5b83b;
    font-style: normal;
    font-weight: 600;
}

.mitra-promo-btn {
    background: #e5b83b;
    color: #0c111d;
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.mitra-promo-banner:hover .mitra-promo-btn {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(229, 184, 59, 0.4);
}

@media (max-width: 768px) {
    .mitra-promo-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .mitra-promo-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   SSL SECURITY VERIFIED STRIP
   ========================================================================== */
.ssl-alert-strip {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ssl-alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
}

.ssl-alert-content i {
    font-size: 18px;
    color: #10b981;
    filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.4));
}

.ssl-alert-content strong {
    color: #10b981;
}

/* ==========================================================================
   TESTIMONIAL USE CASES
   ========================================================================== */
.testimonials-section {
    margin-top: 3rem !important;
}

.testimonial-card {
    background: rgba(15, 23, 42, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 24px !important;
    transition: all 0.3s ease !important;
}

.testimonial-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(229, 184, 59, 0.2) !important;
    box-shadow: 0 10px 25px rgba(229, 184, 59, 0.05) !important;
}

.user-avatar-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.testimonial-author {
    font-size: 12.5px;
    color: #94a3b8;
    font-weight: 600;
    margin: 4px 0 12px 0;
}

.testimonial-sub-text {
    font-size: 13px;
    line-height: 1.6;
    color: #cbd5e1;
    font-style: italic;
}

/* ==========================================================================
   MYSCHEME GATEWAY NAVIGATION STYLES
   ========================================================================== */
.myscheme-cat-btn:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: var(--accent-gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 184, 59, 0.1);
}

/* ==========================================================================
   TOP STICKY SEARCH & DETECTOR CONSOLE
   ========================================================================== */
.top-search-detector-console {
    top: 73px !important;
}

@media (max-width: 992px) {
    .top-search-detector-console {
        position: relative !important;
        top: 0 !important;
        padding: 10px 15px !important;
    }
    
    #headerPhishBtn {
        width: 100% !important;
        justify-content: center !important;
    }
}

.glow-hover-red:hover {
    background: rgba(239, 68, 68, 0.25) !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.25) !important;
    transform: scale(1.02);
}

/* Visa Country Button Premium styling */
.visa-country-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.visa-country-btn:hover {
    transform: translateY(-5px) scale(1.04) !important;
    border-color: var(--gold-color) !important;
    background: rgba(212, 175, 55, 0.08) !important;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2) !important;
}

/* =============================
   LIVE SEARCH SUGGESTIONS DROPDOWN
   ============================= */
.search-suggestions-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(12, 17, 29, 0.98);
    border: 1px solid rgba(229, 184, 59, 0.3);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
    z-index: 9999;
    overflow: hidden;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    animation: suggestionSlideIn 0.18s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

@keyframes suggestionSlideIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.18s ease, border-left-color 0.18s ease;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover {
    background: rgba(229, 184, 59, 0.07);
    border-left-color: #e5b83b;
}
.suggestion-icon {
    font-size: 14px; color: #e5b83b; opacity: 0.8;
    flex-shrink: 0; width: 18px; text-align: center;
}
.suggestion-text {
    display: flex; flex-direction: column; gap: 2px;
    flex: 1; min-width: 0;
}
.suggestion-title {
    font-size: 13.5px; font-weight: 600; color: #f1f5f9;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.suggestion-domain {
    font-size: 11px; color: #64748b;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.suggestion-arrow {
    font-size: 11px; color: #4b5563; flex-shrink: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}
.suggestion-item:hover .suggestion-arrow { color: #e5b83b; transform: translateX(3px); }
mark.suggestion-mark {
    background: rgba(229, 184, 59, 0.22); color: #e5b83b;
    border-radius: 3px; padding: 0 2px; font-style: normal;
}

/* Trending badge on portal cards */
.trending-badge {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(229, 184, 59, 0.12); color: #e5b83b;
    border: 1px solid rgba(229, 184, 59, 0.25);
    border-radius: 20px; font-size: 10px; font-weight: 700;
    padding: 2px 8px; letter-spacing: 0.5px; text-transform: uppercase;
}

/* ==========================================================================
   MINIMALIST HERO SECTION REDESIGN
   ========================================================================== */
.hero-minimalist {
    padding: 2rem 2.5rem !important;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(6, 9, 18, 0.95) 100%) !important;
}

.hero-content-minimalist {
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.hero-mini-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-mini-header h2 {
    font-size: 32px !important;
    font-weight: 800;
    background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 !important;
    letter-spacing: -1px;
}

.hero-tagline-mini {
    font-size: 14px !important;
    color: #64748b !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0 !important;
}

/* Quick Action Chips */
.hero-quick-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 700px;
}

.quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: #00f2fe;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.quick-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.15);
    background: rgba(0, 242, 254, 0.12);
    border-color: rgba(0, 242, 254, 0.4);
}

.quick-chip i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.quick-chip:hover i {
    transform: scale(1.15);
}

.quick-chip.chip-gold {
    background: rgba(229, 184, 59, 0.06);
    border-color: rgba(229, 184, 59, 0.2);
    color: #e5b83b;
}

.quick-chip.chip-gold:hover {
    box-shadow: 0 6px 20px rgba(229, 184, 59, 0.15);
    background: rgba(229, 184, 59, 0.12);
    border-color: rgba(229, 184, 59, 0.4);
}

.quick-chip.chip-red {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.quick-chip.chip-red:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.15);
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.4);
}

.quick-chip.chip-green {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.quick-chip.chip-green:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   MINIMALIST CATEGORY CARDS (Icon + Short Label)
   ========================================================================== */
.categories-grid-mini {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    gap: 12px !important;
}

.category-card-mini {
    padding: 1rem !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    min-height: auto !important;
}

.category-card-mini .category-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    font-size: 18px !important;
}

.category-card-mini h4 {
    font-size: 13px !important;
    margin: 0 !important;
}

.category-card-mini p {
    font-size: 11px !important;
    margin: 0 !important;
    opacity: 0.7;
    line-height: 1.3 !important;
}

/* Additional icon-wrap colors */
.category-icon-wrap.bg-orange {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.category-icon-wrap.bg-teal {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

/* ==========================================================================
   COMPACT STATS CHIPS BAR
   ========================================================================== */
.quick-stats-compact {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px !important;
    align-items: center;
    justify-content: center;
}

.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    white-space: nowrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.stat-chip i {
    font-size: 12px;
}

.stat-chip span {
    font-weight: 800;
    color: var(--text-primary);
}

.stat-chip:hover {
    border-color: rgba(229, 184, 59, 0.3);
    transform: translateY(-1px);
}

/* Utility color classes */
.text-cyan { color: #06b6d4 !important; }
.text-emerald { color: #10b981 !important; }
.text-gold { color: #e5b83b !important; }
.text-purple { color: #8b5cf6 !important; }

/* ==========================================================================
   ENHANCED SEARCH SUGGESTIONS WITH TRENDING SECTION
   ========================================================================== */
.search-suggestions-dropdown {
    max-height: 420px;
    overflow-y: auto;
}

.search-suggestions-dropdown::-webkit-scrollbar {
    width: 4px;
}

.search-suggestions-dropdown::-webkit-scrollbar-thumb {
    background: rgba(229, 184, 59, 0.3);
    border-radius: 2px;
}

/* Trending Section inside dropdown */
.suggestion-trending-section {
    padding: 10px 16px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.suggestion-trending-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.suggestion-trending-header i {
    color: #ef4444;
    font-size: 11px;
}

.suggestion-trending-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 8px;
}

.suggestion-trending-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(229, 184, 59, 0.06);
    border: 1px solid rgba(229, 184, 59, 0.15);
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-trending-chip:hover {
    background: rgba(229, 184, 59, 0.12);
    color: #e5b83b;
    border-color: rgba(229, 184, 59, 0.3);
}

.suggestion-trending-chip i {
    font-size: 10px;
    color: #e5b83b;
    opacity: 0.6;
}

/* Results Section Header inside dropdown */
.suggestion-results-header {
    padding: 8px 16px 4px;
    font-size: 10px;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.suggestion-results-header i {
    color: #3b82f6;
    font-size: 10px;
}

/* ==========================================================================
   MOBILE OPTIMIZATION: FAST-LOADING & COLLAPSIBLE MENUS
   ========================================================================== */
@media (max-width: 768px) {
    .hero-minimalist {
        padding: 1.5rem 1.25rem !important;
    }

    .hero-mini-header h2 {
        font-size: 24px !important;
    }

    .hero-tagline-mini {
        font-size: 12px !important;
    }

    .hero-quick-chips {
        gap: 8px;
    }

    .quick-chip {
        padding: 8px 14px;
        font-size: 12px;
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
        min-width: 0;
    }

    .categories-grid-mini {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }

    .category-card-mini {
        padding: 10px 6px !important;
    }

    .category-card-mini .category-icon-wrap {
        width: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
    }

    .category-card-mini h4 {
        font-size: 11px !important;
    }

    .category-card-mini p {
        display: none !important;
    }

    .quick-stats-compact {
        gap: 6px !important;
        justify-content: flex-start;
    }

    .stat-chip {
        padding: 6px 10px;
        font-size: 11px;
    }

    .trending-tags {
        gap: 5px !important;
    }

    .tag-btn {
        padding: 3px 10px;
        font-size: 11px;
    }

    /* Banner/Hero section font downsizing for fast render */
    .banner-content h2 {
        font-size: 24px !important;
    }

    .banner-content p {
        font-size: 13px !important;
    }

    .badge-pill {
        font-size: 10px;
        padding: 4px 10px;
    }

    /* Collapsible sidebar transition optimization */
    .sidebar {
        will-change: width, transform;
    }

    /* Hide heavy sections on mobile by default for fast paint */
    .about-section,
    .testimonials-section {
        content-visibility: auto;
        contain-intrinsic-size: 0 300px;
    }

    /* Optimize card grid for mobile */
    .portal-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .portal-card {
        min-height: auto !important;
        padding: 1rem !important;
    }

    .portal-card h3 {
        font-size: 15px !important;
    }

    .portal-card p {
        font-size: 12px !important;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0.75rem !important;
    }

    /* Compact toolbar on mobile */
    .toolbar {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start !important;
    }

    .filter-options {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Search results on mobile */
    #immediateSearchResults {
        padding: 1rem !important;
    }

    #immediateResultsGrid {
        grid-template-columns: 1fr !important;
    }

    /* Mitra promo compact on mobile */
    .mitra-promo-banner {
        padding: 16px !important;
        gap: 12px !important;
    }

    .mitra-promo-content h3 {
        font-size: 15px !important;
    }

    .mitra-promo-content p {
        font-size: 12px !important;
    }

    /* Footer compact */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* SSL strip compact */
    .ssl-alert-strip {
        padding: 10px 12px;
    }

    .ssl-alert-content {
        font-size: 11px !important;
    }

    /* Info cards compact */
    .info-grid {
        grid-template-columns: 1fr !important;
    }

    /* Search suggestions mobile */
    .search-suggestions-dropdown {
        max-height: 300px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .categories-grid-mini {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 6px !important;
    }

    .category-card-mini {
        padding: 8px 4px !important;
        gap: 4px !important;
    }

    .category-card-mini .category-icon-wrap {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
    }

    .category-card-mini h4 {
        font-size: 10px !important;
    }

    .quick-chip {
        padding: 7px 12px;
        font-size: 11px;
    }

    .hero-mini-header h2 {
        font-size: 22px !important;
    }

    /* Sidebar compact */
    .sidebar.open {
        width: 260px !important;
    }

    .header-container {
        padding: 0.75rem 1rem !important;
    }

    .brand-logo-img {
        width: 160px !important;
    }
}

/* ==========================================================================
   PERFORMANCE: GPU-ACCELERATED ANIMATIONS
   ========================================================================== */
.portal-card,
.category-card-mini,
.quick-chip,
.stat-chip,
.suggestion-item,
.tag-btn {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles - hide unnecessary elements */
@media print {
    .sidebar,
    .main-header,
    .top-search-detector-console,
    .live-alert-ticker-container,
    .chatbot-bubble-floating,
    .chatbot-drawer,
    .mitra-promo-banner {
        display: none !important;
    }
}

/* ==========================================================================
   PREMIUM GLASSMORPHIC FLOATING SEARCH BAR & SAFETY CONSOLE
   ========================================================================== */
.top-search-detector-console {
    background: rgba(10, 15, 30, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 24px;
    position: sticky;
    top: 60px;
    z-index: 99;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-console-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

/* Custom premium input wrapper */
.top-search-detector-console .search-box-container.main-search-hub-box {
    flex: 1;
    min-width: 280px;
    margin: 0;
    position: relative;
}

.top-search-detector-console .search-box-container input {
    width: 100%;
    height: 52px;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff;
    padding: 0 16px 0 52px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(0,0,0,0.2) !important;
}

.light-theme .top-search-detector-console .search-box-container input {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #0f172a;
}

.top-search-detector-console .search-box-container input:focus {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 0 4px rgba(229, 184, 59, 0.15), 0 12px 24px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-1px);
}

.light-theme .top-search-detector-console .search-box-container input:focus {
    background: #ffffff !important;
    border-color: #e5b83b !important;
    box-shadow: 0 0 0 4px rgba(229, 184, 59, 0.1), 0 12px 24px rgba(0, 0, 0, 0.08) !important;
}

/* Premium Phishing Detector Button */
#headerPhishBtn {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.04) 100%);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    font-weight: 700;
    border-radius: 16px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 52px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

#headerPhishBtn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.15), transparent);
    transition: all 0.6s ease;
}

#headerPhishBtn:hover::before {
    left: 100%;
}

#headerPhishBtn:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.08) 100%);
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
    color: #ff8787;
    transform: translateY(-1px);
}

#headerPhishBtn:active {
    transform: translateY(0);
}

/* Pulsing Red Dot for security badge */
#headerPhishBtn i {
    animation: securityPulse 2s infinite;
}

@keyframes securityPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* Mobile Responsiveness for sticky top search console */
@media (max-width: 768px) {
    .top-search-detector-console {
        padding: 10px 16px;
        top: 56px;
    }
    
    .top-console-inner {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .top-search-detector-console .search-box-container.main-search-hub-box {
        width: 100%;
    }
    
    #headerPhishBtn {
        width: 100%;
        justify-content: center;
        height: 46px;
        border-radius: 12px;
        font-size: 13px;
    }
    
    .top-search-detector-console .search-box-container input {
        height: 46px;
        border-radius: 12px;
        font-size: 14px;
        padding-left: 44px;
    }
    
    .top-search-detector-console .search-icon {
        left: 16px;
        font-size: 16px;
    }
}

/* Floating Quick Tools Dock */
.quick-tools-floating-dock {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    gap: 12px;
    background: rgba(10, 15, 30, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 10px 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.light-theme .quick-tools-floating-dock {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
}

.dock-item {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.light-theme .dock-item {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    color: #0f172a !important;
}

.dock-item:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--accent-gold) !important;
    color: #0a0d16 !important;
    border-color: var(--accent-gold) !important;
    box-shadow: 0 5px 15px rgba(229, 184, 59, 0.4) !important;
}

.dock-item .dock-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-item:hover .dock-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Hide original chatbot bubble */
.chatbot-bubble-floating {
    display: none !important;
}

/* Mobile responsive dock */
@media (max-width: 768px) {
    .quick-tools-floating-dock {
        bottom: 16px;
        right: 50%;
        transform: translateX(50%);
        padding: 8px 12px;
        border-radius: 25px;
    }
    .dock-item {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    .dock-item .dock-tooltip {
        display: none !important; /* Hide tooltips on touch screens */
    }
}

/* Hero State Selector Banner */
.hero-state-selector-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 20px;
    margin: 1.5rem 0 2rem 0;
    max-width: 680px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.light-theme .hero-state-selector-banner {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05) !important;
}

.state-icon-glow {
    font-size: 24px;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(229, 184, 59, 0.5);
}

.state-banner-info {
    flex-grow: 1;
    text-align: left;
}

.state-banner-info span {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.light-theme .state-banner-info span {
    color: #0f172a !important;
}

.state-banner-info p {
    font-size: 11px;
    color: var(--text-muted);
    margin: 2px 0 0 0;
}

.hero-select-dropdown {
    background: rgba(10, 15, 30, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    min-width: 220px;
    transition: all 0.3s ease;
    outline: none;
}

.light-theme .hero-select-dropdown {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

.hero-select-dropdown:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(229, 184, 59, 0.2);
}

@media (max-width: 768px) {
    .hero-state-selector-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
        text-align: center;
        margin: 1rem 0;
    }
    .state-banner-info {
        text-align: center;
    }
    .hero-select-dropdown {
        width: 100%;
        min-width: unset;
    }
    .state-icon-glow {
        align-self: center;
    }
}

/* Media Mentions Trust Panel */
.media-mentions-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2.5rem 0;
    text-align: center;
}

.light-theme .media-mentions-section {
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.media-title {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.media-logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.media-logo-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.light-theme .media-logo-card {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    color: #475569 !important;
}

.media-logo-card:hover {
    transform: translateY(-3px);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.15);
}

.light-theme .media-logo-card:hover {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(229, 184, 59, 0.3) !important;
    box-shadow: 0 4px 15px rgba(229, 184, 59, 0.1) !important;
}

.logo-icon {
    font-size: 16px;
    color: var(--accent-gold);
}

/* User Profile Avatar Styles */
.user-profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: #ffffff;
    margin: 0 auto 16px auto;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.avatar-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}
.avatar-gold {
    background: linear-gradient(135deg, #e5b83b 0%, #b45309 100%);
}
.avatar-emerald {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

