@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-outfit: 'Outfit', sans-serif;
    
    /* Sleek Teal Color Palette */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --teal-950: #042f2e;

    --rose-50: #fff1f2;
    --rose-100: #ffe4e6;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    --rose-700: #be123c;
    
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
}

/* Base resets & typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-outfit);
    background-color: var(--slate-50);
    color: var(--slate-900);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseSlow {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(1.03); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-pulse-slow {
    animation: pulseSlow 8s ease-in-out infinite;
}

/* Layout wrappers */
.min-h-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}

.max-w-7xl {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Top bar styles */
.admin-bar-active {
    background: var(--slate-900);
    color: white;
    border-bottom: 2px solid rgba(245, 158, 11, 0.6);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    position: relative;
}

.admin-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    max-width: 80rem;
    margin: 0 auto;
}

.admin-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    color: var(--amber-400);
}

.admin-status .ping {
    width: 8px;
    height: 8px;
    background-color: var(--emerald-500);
    border-radius: 50%;
    position: relative;
}

.admin-actions {
    display: flex;
    gap: 0.75rem;
}

.top-header-info {
    background-color: var(--slate-950);
    color: var(--slate-300);
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--slate-800);
}

.top-header-info .info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.info-left, .info-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.info-item i {
    color: var(--teal-400);
    width: 14px;
    height: 14px;
}

.phone-badge {
    background: rgba(244, 63, 94, 0.1);
    color: var(--rose-500);
    border: 1px solid rgba(244, 63, 94, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: background 0.2s;
}

.phone-badge:hover {
    background: rgba(244, 63, 94, 0.2);
}

/* Header & Navbar */
header.main-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 2.75rem;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--teal-600);
}

/* Desktop menus */
.nav-menu {
    display: none;
    height: 100%;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }
}

.nav-item {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--slate-700);
    padding: 1.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-item:hover, .nav-item.active {
    color: var(--teal-600);
}

.nav-item.active {
    border-bottom-color: var(--teal-600);
}

/* Submenu systems */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 95%;
    left: 0;
    min-width: 240px;
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-out;
    padding: 0.5rem 0;
    z-index: 100;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-link {
    display: block;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    transition: all 0.2s;
}

.submenu-link:hover {
    background-color: var(--teal-50);
    color: var(--teal-700);
}

/* Mega dropdown */
.mega-submenu {
    min-width: 560px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.has-submenu:hover .mega-submenu {
    transform: translateX(-50%) translateY(0);
}

.mega-section-title {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--teal-700);
    background-color: var(--teal-50);
    padding: 0.5rem 0.875rem;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
}

.mega-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Header buttons & hamburger */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    border-radius: 9999px;
    font-size: 0.875rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-sm {
    padding: 0.4rem 0.875rem;
    font-size: 0.8rem;
}

.btn-primary {
    background: linear-gradient(to right, var(--teal-600), var(--emerald-600));
    color: white;
    box-shadow: 0 4px 6px -1px rgba(13, 148, 136, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--teal-500), var(--emerald-500));
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--slate-900);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--slate-800);
    transform: translateY(-1px);
}

.btn-outline {
    background: white;
    border: 2px solid var(--teal-600);
    color: var(--teal-700);
}

.btn-outline:hover {
    background-color: var(--teal-50);
}

.btn-white {
    background-color: white;
    color: var(--teal-900);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
    background-color: var(--teal-50);
}

.btn-danger {
    background-color: var(--rose-600);
    color: white;
}

.btn-danger:hover {
    background-color: var(--rose-700);
}

.hamburger-btn {
    display: block;
    background: var(--slate-100);
    color: var(--slate-800);
    padding: 0.5rem;
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.hamburger-btn:hover {
    background-color: var(--teal-50);
    color: var(--teal-600);
}

@media (min-width: 768px) {
    .hamburger-btn {
        display: none;
    }
}

/* Mobile drawer navigation */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 5.5rem;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(4px);
    z-index: 40;
    overflow-y: auto;
}

.mobile-nav-drawer.open {
    display: block;
}

.mobile-drawer-body {
    background: white;
    padding: 1.5rem;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-weight: 700;
    color: var(--slate-800);
    background-color: var(--slate-50);
    transition: all 0.2s;
}

.mobile-link-item.active {
    background-color: var(--teal-50);
    color: var(--teal-700);
}

.mobile-submenu-btn {
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.mobile-submenu-container {
    background-color: white;
    border: 1px solid var(--slate-100);
    border-radius: 1rem;
    margin-top: 0.25rem;
    padding: 0.5rem;
}

.mobile-submenu-item {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
    border-radius: 0.5rem;
}

.mobile-submenu-item:hover {
    background-color: var(--teal-50);
    color: var(--teal-700);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 7rem;
    background-color: var(--slate-950);
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--slate-950), rgba(15, 23, 42, 0.9), rgba(19, 78, 74, 0.8));
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: rgba(20, 184, 166, 0.15);
    color: var(--teal-300);
    border: 1px solid rgba(20, 184, 166, 0.3);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.gradient-text {
    background: linear-gradient(to right, var(--teal-400), var(--emerald-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-p {
    font-size: 1.125rem;
    color: var(--slate-300);
    margin-bottom: 2rem;
    max-w: 42rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

/* Quick Action Tiles */
.quick-actions-section {
    position: relative;
    z-index: 10;
    margin-top: -3rem;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .quick-actions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.action-tile {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--slate-200);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
}

.action-tile:hover {
    transform: translateY(-4px);
}

.action-tile.emergency {
    background: linear-gradient(to bottom right, var(--rose-600), var(--rose-700));
    color: white;
    border: none;
}

.tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tile-icon {
    padding: 0.75rem;
    border-radius: 1rem;
    background-color: var(--teal-50);
    color: var(--teal-600);
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-tile.emergency .tile-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.tile-badge {
    font-size: 0.65rem;
    font-weight: 850;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    background-color: var(--teal-100);
    color: var(--teal-800);
}

.action-tile.emergency .tile-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.action-tile h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.action-tile p {
    font-size: 0.8rem;
    color: var(--slate-600);
    margin-bottom: 1.5rem;
}

.action-tile.emergency p {
    color: var(--rose-100);
}

.tile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--teal-600);
    margin-top: auto;
}

.action-tile.emergency .tile-link {
    color: white;
}

/* Profil Singkat */
.profil-singkat-section {
    padding: 5rem 0;
    background: white;
    border-bottom: 1px solid var(--slate-100);
}

.profil-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .profil-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.section-indicator {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--teal-600);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.25;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.profil-content p {
    color: var(--slate-600);
    margin-bottom: 1.5rem;
}

.kars-box {
    background-color: var(--teal-50);
    border: 1px solid var(--teal-200);
    padding: 1.5rem;
    border-radius: 1.5rem;
    margin-bottom: 1.5rem;
}

.kars-title {
    font-weight: 700;
    color: var(--teal-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.kars-title i {
    color: var(--amber-500);
}

.kars-desc {
    font-size: 0.85rem;
    color: var(--slate-700);
    line-height: 1.5;
}

/* Image showcase card */
.image-showcase {
    position: relative;
}

.showcase-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, var(--teal-100), var(--teal-50));
    border-radius: 2.5rem;
    transform: rotate(2deg) scale(1.03);
    z-index: 0;
}

.showcase-card {
    position: relative;
    background: var(--slate-900);
    border-radius: 2.5rem;
    padding: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--slate-200);
}

.showcase-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 2rem;
}

.showcase-banner {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    padding: 1.25rem;
    border-radius: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--slate-100);
}

.showcase-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-900);
}

.showcase-text p {
    font-size: 0.75rem;
    color: var(--slate-500);
}

.showcase-icon {
    background-color: var(--teal-600);
    color: white;
    padding: 0.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video Playlist Section */
.video-playlist-section {
    padding: 5rem 0;
    background-color: var(--slate-50);
}

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

@media (min-width: 1024px) {
    .video-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.main-video-player {
    background: white;
    border-radius: 2rem;
    padding: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-200);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 1.5rem;
    overflow: hidden;
    background: black;
}

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

.main-video-details {
    padding: 1.25rem;
}

.main-video-details h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 0.35rem;
}

.main-video-details p {
    font-size: 0.85rem;
    color: var(--slate-500);
}

.playlist-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: white;
    border-radius: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--slate-200);
    height: fit-content;
}

.playlist-sidebar h3 {
    font-size: 1.1rem;
    font-weight: 800;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--slate-100);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.playlist-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 380px;
    overflow-y: auto;
}

.playlist-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    background-color: var(--slate-50);
}

.playlist-item:hover, .playlist-item.active {
    background-color: var(--teal-50);
}

.playlist-item.active .item-details h4 {
    color: var(--teal-700);
}

.item-thumb {
    width: 80px;
    height: 60px;
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--slate-900);
    flex-shrink: 0;
}

.item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-play {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.2s;
}

.playlist-item:hover .thumb-play {
    opacity: 1;
}

.item-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-details h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate-800);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Maklumat Pelayanan */
.maklumat-section {
    padding: 5rem 0;
    background-color: white;
}

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

.maklumat-title-box {
    margin-bottom: 2.5rem;
}

.maklumat-title-box h2 {
    font-size: 2.25rem;
    font-weight: 800;
}

.maklumat-img-box {
    max-width: 60rem;
    margin: 0 auto;
    background-color: white;
    border: 1px solid var(--slate-200);
    padding: 0.75rem;
    border-radius: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.maklumat-img-box img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
}

/* Partners & Insurances */
.partners-section {
    padding: 5rem 0;
    background-color: var(--slate-50);
}

.partners-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    background-color: white;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.03);
    border: 1px solid var(--slate-200);
}

.partner-logo-card {
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: 1.25rem;
    padding: 1rem;
    width: 180px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.partner-logo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.partner-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* CTA Banner */
.cta-banner-section {
    padding: 5rem 0;
    background-color: var(--slate-950);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-banner-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.cta-banner-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-banner-content p {
    font-size: 1.1rem;
    color: var(--teal-100);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-btns {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cta-btns {
        flex-direction: row;
    }
}

/* Footer styling */
footer.main-footer {
    background-color: var(--slate-950);
    color: var(--slate-300);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--slate-800);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo-box i {
    color: var(--teal-400);
}

.footer-logo-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo-box span {
    font-size: 0.75rem;
    display: block;
    color: var(--teal-400);
}

.footer-col h4 {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col p {
    font-size: 0.85rem;
    color: var(--slate-400);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--slate-400);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--teal-400);
}

.footer-links a i {
    color: var(--teal-500);
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.footer-links a:hover i {
    transform: translateX(2px);
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--slate-400);
    line-height: 1.5;
}

.footer-contact-list li i {
    color: var(--teal-400);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-contact-list li i.phone {
    color: var(--rose-400);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: 2rem;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--slate-500);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-bottom-links a {
    color: var(--slate-400);
}

.footer-bottom-links a:hover {
    color: var(--teal-400);
}

/* Popup ad banner */
.popup-ad-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.popup-ad-overlay.show {
    display: flex;
}

.popup-ad-container {
    background: white;
    border-radius: 2rem;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    border: 4px solid white;
}

.popup-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s;
}

.popup-close-btn:hover {
    background-color: rgba(2, 6, 23, 0.8);
}

.popup-slider {
    position: relative;
    width: 100%;
}

.popup-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.popup-slide {
    width: 100%;
    flex-shrink: 0;
    position: relative;
}

.popup-slide img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.popup-slide-btn-wrapper {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.popup-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--slate-100);
}

.popup-dot {
    width: 8px;
    height: 8px;
    background-color: var(--slate-300);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s;
}

.popup-dot.active {
    background-color: var(--teal-600);
    width: 16px;
    border-radius: 4px;
}

/* Doctors View styling */
.page-header-banner {
    background-color: var(--slate-950);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-banner h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-header-banner p {
    color: var(--slate-300);
}

.search-doctors-box {
    background: white;
    padding: 1.5rem;
    border-radius: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-200);
    margin-top: -2.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

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

@media (min-width: 768px) {
    .search-grid {
        grid-template-columns: 2fr 2fr 1fr;
    }
}

.search-input-group {
    position: relative;
}

.search-input-group input, .search-input-group select {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: var(--slate-50);
    transition: border-color 0.2s;
}

.search-input-group input:focus, .search-input-group select:focus {
    border-color: var(--teal-500);
}

.search-input-group i {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-400);
}

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

@media (min-width: 640px) {
    .doctors-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .doctors-list-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.doctor-card {
    background: white;
    border-radius: 2rem;
    padding: 0.5rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}

.doctor-img {
    width: 100%;
    height: 260px;
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: var(--slate-100);
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-details {
    padding: 1.25rem 0.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.doctor-details h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.doctor-details p.spesialis {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--teal-600);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.doctor-schedule-section {
    border-top: 1px solid var(--slate-100);
    padding-top: 0.75rem;
}

.doctor-schedule-section h4 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-400);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.75rem;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

.schedule-day {
    color: var(--slate-700);
}

.schedule-hours {
    color: var(--slate-500);
    font-weight: bold;
}

/* Farmasi View Queue Board */
.farmasi-layout {
    padding: 3rem 0;
}

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

@media (min-width: 1024px) {
    .farmasi-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.queue-board-wrapper {
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.queue-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal-800);
    border-bottom: 2px solid var(--teal-50);
    padding-bottom: 0.75rem;
}

.active-call-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .active-call-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.active-call-box {
    background: linear-gradient(to bottom right, var(--teal-800), var(--teal-950));
    color: white;
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(13, 148, 136, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.active-call-box.racikan {
    background: linear-gradient(to bottom right, var(--slate-900), var(--slate-950));
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.25);
}

.active-call-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal-300);
    margin-bottom: 1rem;
}

.active-call-box.racikan .active-call-label {
    color: var(--amber-400);
}

.active-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.active-patient-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.active-rm {
    font-size: 0.8rem;
    color: var(--slate-400);
}

.queue-lists-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .queue-lists-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

.queue-list-box {
    background-color: var(--slate-50);
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--slate-200);
}

.queue-list-box h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--slate-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.queue-list-table {
    width: 100%;
    border-collapse: collapse;
}

.queue-list-table th {
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--slate-400);
    text-transform: uppercase;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--slate-200);
}

.queue-list-table td {
    padding: 0.75rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--slate-100);
}

.queue-list-table tr:last-child td {
    border-bottom: none;
}

.queue-num-badge {
    font-weight: 800;
    color: var(--teal-700);
    background-color: var(--teal-50);
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
}

.queue-status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 9999px;
    background-color: var(--slate-200);
    color: var(--slate-700);
}

.queue-status-badge.selesai {
    background-color: var(--teal-100);
    color: var(--teal-800);
}

/* Page builder blocks layout */
.block-grid {
    display: grid;
    grid-template-columns: repeat(var(--grid-cols, 2), minmax(0, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.block-hero {
    background-color: var(--slate-900);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 2rem;
    border-radius: 2.5rem;
    margin: 1.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.block-hero-content {
    position: relative;
    z-index: 2;
    max-width: 60rem;
    margin: 0 auto;
}

.block-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.block-hero-content p.subtitle {
    font-size: 1.25rem;
    color: var(--teal-100);
    font-weight: 300;
}

.block-heading {
    padding: 1.5rem 2rem;
    max-width: 60rem;
    margin: 0 auto;
}

.block-heading h2 { font-size: 2rem; font-weight: 800; }
.block-heading h3 { font-size: 1.5rem; font-weight: 800; }
.block-heading h4 { font-size: 1.25rem; font-weight: 850; }

.heading-line {
    width: 64px;
    height: 6px;
    background: linear-gradient(to right, var(--teal-500), var(--emerald-500));
    border-radius: 9999px;
    margin-top: 0.5rem;
}

.block-heading.text-center .heading-line {
    margin-left: auto;
    margin-right: auto;
}

.block-richtext {
    padding: 1.5rem 2rem;
    max-width: 50rem;
    margin: 0 auto;
}

.richtext-container {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

.prose h1, .prose h2, .prose h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.prose p {
    margin-bottom: 1rem;
}
.prose ul, .prose ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.block-feature-cards {
    padding: 1.5rem 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--slate-200);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--teal-50);
    color: var(--teal-600);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--slate-600);
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--teal-600);
}

.block-gallery {
    padding: 1.5rem 2rem;
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .block-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .block-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 250px;
    border: 4px solid white;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.gallery-info {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    padding: 0.75rem;
    border-radius: 1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.info-icon {
    background-color: var(--teal-500);
    color: white;
    padding: 0.4rem;
    border-radius: 0.5rem;
    display: flex;
}

.block-image {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    background-color: white;
    max-width: 100%;
}

.image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background-color: var(--slate-900);
    color: white;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.block-video {
    padding: 1.5rem;
    max-width: 50rem;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 2rem;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    background-color: black;
}

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

.block-button {
    padding: 1.5rem;
    display: flex;
    max-width: 60rem;
    margin: 0 auto;
}

.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-start { justify-content: flex-start; }

.block-accordion {
    padding: 1.5rem 2rem;
    max-width: 50rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: white;
    border-radius: 1.5rem;
    border: 1px solid var(--slate-200);
    overflow: hidden;
}

.accordion-item summary {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    user-select: none;
}

.accordion-item summary::-webkit-details-marker {
    display: none;
}

.summary-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.summary-left .index {
    width: 2rem;
    height: 2rem;
    background-color: var(--teal-100);
    color: var(--teal-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.accordion-item .chevron {
    transition: transform 0.2s;
    background: var(--slate-100);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-item[open] summary .chevron {
    transform: rotate(180deg);
    background-color: var(--teal-600);
    color: white;
}

.accordion-item .content {
    padding: 1.5rem;
    border-top: 1px solid var(--slate-100);
    color: var(--slate-600);
    background-color: var(--slate-50);
}

.block-cta {
    padding: 1.5rem 2rem;
    max-width: 60rem;
    margin: 0 auto;
}

.cta-banner {
    background: linear-gradient(to right, var(--teal-800), var(--emerald-700));
    color: white;
    border-radius: 2rem;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(13, 148, 136, 0.2);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-banner h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-banner p {
    color: var(--teal-100);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.block-stats {
    padding: 1.5rem 2rem;
    max-width: 60rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .block-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--slate-200);
    text-align: center;
}

.stat-card .value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--teal-600);
    margin-bottom: 0.5rem;
}

.stat-card .label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--slate-500);
    letter-spacing: 0.05em;
}

.block-divider {
    padding: 1.5rem 2rem;
    max-width: 60rem;
    margin: 0 auto;
}

.divider-line {
    width: 100%;
}

/* Staff Login Card Styling */
.login-wrapper {
    background-color: var(--slate-50);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

.login-card {
    background: white;
    width: 100%;
    max-width: 28rem;
    border-radius: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border: 1px solid var(--slate-100);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon-box {
    width: 4rem;
    height: 4rem;
    background-color: #dbeafe;
    color: #2563eb;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.login-header h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 2.25rem;
}

.login-header p {
    font-size: 1rem;
    color: var(--slate-500);
    margin-top: 0.5rem;
}

.form-group {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
}

.form-control-icon {
    position: relative;
}

.form-control-icon input, .form-control-icon select, .form-control-icon textarea {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    background-color: var(--slate-50);
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    color: var(--slate-900);
    transition: all 0.15s ease-in-out;
}

.form-control-icon input:focus, .form-control-icon select:focus, .form-control-icon textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
    background-color: white;
}

.form-control-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-400);
    width: 1.25rem;
    height: 1.25rem;
    pointer-events: none;
}

.error-alert, .login-error-alert {
    background-color: #fef2f2;
    color: #dc2626;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #fee2e2;
    text-align: center;
    margin-bottom: 1.5rem;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.login-btn {
    width: 100%;
    background-color: #2563eb;
    color: white;
    font-weight: 700;
    padding: 1rem;
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
}

.login-btn:hover {
    background-color: #1d4ed8;
}

.login-footer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-500);
    padding-top: 1rem;
    margin-top: 2rem;
    border-top: 1px solid var(--slate-100);
}

/* Admin Dashboard layout */
.admin-layout {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
}

@media (min-width: 1024px) {
    .admin-layout {
        grid-template-columns: 240px 1fr;
    }
}

.admin-sidebar {
    background-color: var(--slate-950);
    color: white;
    padding: 1.5rem;
    border-right: 1px solid var(--slate-900);
}

.admin-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--slate-900);
    margin-bottom: 1.5rem;
}

.admin-sidebar-logo h3 {
    font-size: 1.1rem;
    font-weight: 800;
}

.admin-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate-400);
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: all 0.2s;
}

.admin-menu-btn:hover, .admin-menu-btn.active {
    color: white;
    background-color: var(--slate-900);
}

.admin-menu-btn.active {
    background-color: var(--teal-600);
}

.admin-main {
    background-color: var(--slate-100);
    padding: 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--slate-200);
}

.admin-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
}

.admin-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

/* Modal styling */
.admin-modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.admin-modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 2rem;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--slate-200);
    display: flex;
    flex-direction: column;
}

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

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--slate-100);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Page builder workspace */
.builder-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .builder-split {
        grid-template-columns: 320px 1fr;
    }
}

.builder-sidebar {
    background: white;
    border-radius: 1.5rem;
    border: 1px solid var(--slate-200);
    padding: 1.5rem;
}

.builder-workspace {
    background: var(--slate-50);
    border-radius: 1.5rem;
    border: 1px solid var(--slate-200);
    padding: 1.5rem;
    min-height: 500px;
}
