/* 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);
}

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

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

.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: var(--text-primary);
    background-color: #ffffff;
}

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

.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: 768px) {
    .header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }

    .header-actions {
        justify-content: space-between;
    }

    .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;
}

.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);
}


