:root {
    --bg-dark: #f8fafc;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --primary: #10b981;
    --primary-hover: #059669;
    --primary-glow: rgba(16, 185, 129, 0.1);
    --accent: #0891b2;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* WhatsApp Colors */
    --wa-bg: #efeae2;
    --wa-dark-bg: #0b141a;
    --wa-teal: #008069;
    --wa-teal-light: #00a884;
    --wa-chat-bg: #0b141a;
    --wa-incoming: #202c33;
    --wa-outgoing: #005c4b;
    --wa-text: #e9edef;
    --wa-text-muted: #8696a0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Glowing background animations */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, rgba(6, 182, 212, 0.03) 50%, rgba(255, 255, 255, 0) 100%);
    top: -200px;
    left: -200px;
    pointer-events: none;
    z-index: 0;
}

.glow-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, rgba(16, 185, 129, 0.02) 50%, rgba(255, 255, 255, 0) 100%);
    bottom: -100px;
    right: -200px;
    pointer-events: none;
}

/* Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    border-bottom: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.65);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.medical-logo-icon {
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

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

.header-status {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #047857;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

.mode-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: #0891b2;
}

/* Dashboard Layout */
.dashboard {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    padding: 2.5rem 3rem;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

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

.panel-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 80vh;
    min-height: 650px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.panel-header {
    margin-bottom: 1.5rem;
}

.panel-header h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.3rem;
}

.panel-header h2 i {
    color: var(--primary);
}

.panel-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Panel 1: Portal & Chat Widget --- */
.portal-mock {
    flex: 1;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    background: radial-gradient(ellipse at bottom, #f1f5f9, #f8fafc);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portal-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    align-items: center;
}

.portal-hero {
    max-width: 400px;
}

.portal-hero h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #0f172a, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portal-hero p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.portal-stats {
    display: flex;
    gap: 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.portal-stats i {
    color: #eab308;
}

/* Web Chat Widget Panel */
.web-chat-widget {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 380px;
    height: 480px;
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 100;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
}

.web-chat-widget.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-bottom: 1px solid var(--card-border);
    padding: 1rem;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bot-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.bot-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.chat-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.chat-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.chat-header-action {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-header-action:hover {
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.05);
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Custom Scrollbar */
.chat-messages::-webkit-scrollbar,
.wa-chat-body::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.wa-chat-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.msg-bubble {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.4;
    word-break: break-word;
    animation: bubbleUp 0.3s ease forwards;
}

@keyframes bubbleUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.msg-bubble.bot {
    align-self: flex-start;
    background: #f1f5f9;
    color: var(--text-main);
    border-bottom-left-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.msg-bubble.user {
    align-self: flex-end;
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 3px;
}

.msg-bubble p {
    margin-bottom: 0.4rem;
}

.msg-bubble p:last-child {
    margin-bottom: 0;
}

.msg-bubble strong {
    font-weight: 600;
    color: var(--accent);
}

.msg-bubble.user strong {
    color: #fff;
}

/* Options/Chips Container */
.chat-options-container {
    padding: 0.5rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-height: 110px;
    overflow-y: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.option-chip {
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.option-chip:hover {
    background: var(--primary-glow);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.chat-input-area {
    padding: 0.8rem 1rem;
    border-top: 1px solid var(--card-border);
    display: flex;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.5);
}

.chat-input-area input {
    flex: 1;
    background: #f8fafc;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: var(--text-main);
    font-size: 0.85rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}

.chat-input-area input:focus {
    border-color: var(--primary);
}

.send-btn {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-btn:hover {
    background: var(--primary-hover);
}

.send-btn:active {
    transform: scale(0.95);
}

/* Loading Dots */
.loading-dots {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 10px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: loading-bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loading-bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1.0);
    }
}

/* Doctor Search Results */
.doctor-cards-list {
    margin-top: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
}

.doctor-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 0.9rem;
    display: flex;
    gap: 0.8rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.doctor-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.doc-avatar {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.doc-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.doc-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
}

.doc-specialty {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--primary);
    background: var(--primary-glow);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    width: max-content;
}

.doc-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.doc-meta span i {
    width: 16px;
    color: var(--accent);
}

.doc-meta span.rating-span i {
    color: #eab308;
}

.doc-actions {
    display: flex;
    align-items: flex-end;
}

.book-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.book-btn:hover {
    background: var(--primary-hover);
}


/* --- Panel 2: WhatsApp Phone Simulator --- */
.phone-mock {
    margin: 0 auto;
    width: 340px;
    height: 680px;
    background: #111;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 3px rgba(255, 255, 255, 0.2);
    position: relative;
    border: 4px solid #333;
}

.phone-speaker {
    width: 60px;
    height: 4px;
    background: #333;
    border-radius: 9999px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
}

.phone-home-bar {
    width: 100px;
    height: 4px;
    background: #555;
    border-radius: 9999px;
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--wa-chat-bg);
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-repeat: repeat;
    opacity: 0.05;
    pointer-events: none;
}

/* WhatsApp Header */
.wa-header {
    background: var(--wa-dark-bg);
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 5;
}

.wa-header-back {
    color: var(--wa-teal-light);
    margin-right: 0.4rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.wa-business-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.wa-avatar {
    width: 36px;
    height: 36px;
    background: #202c33;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #8696a0;
}

.wa-details {
    display: flex;
    flex-direction: column;
}

.wa-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wa-text);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.wa-verified {
    color: #00a884;
    font-size: 0.75rem;
}

.wa-status {
    font-size: 0.65rem;
    color: var(--wa-text-muted);
}

.wa-header-actions {
    display: flex;
    gap: 0.8rem;
    color: var(--wa-text-muted);
    font-size: 0.95rem;
}

/* WhatsApp Chat Messages */
.wa-chat-body {
    flex: 1;
    padding: 0.8rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 2;
}

.wa-msg {
    max-width: 85%;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--wa-text);
    position: relative;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    animation: bubbleUp 0.25s ease forwards;
}

.wa-msg.incoming {
    align-self: flex-start;
    background: var(--wa-incoming);
    border-top-left-radius: 0;
}

.wa-msg.outgoing {
    align-self: flex-end;
    background: var(--wa-outgoing);
    border-top-right-radius: 0;
}

.wa-msg-meta {
    font-size: 0.65rem;
    color: var(--wa-text-muted);
    text-align: right;
    margin-top: 0.2rem;
}

/* WhatsApp Doctor Card */
.wa-doc-card {
    background: #111b21;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.6rem;
    margin-top: 0.5rem;
    display: flex;
    gap: 0.6rem;
}

.wa-doc-card .doc-avatar {
    width: 48px;
    height: 48px;
}

.wa-doc-card .doc-name {
    font-size: 0.8rem;
}

.wa-doc-card .doc-specialty {
    font-size: 0.7rem;
    padding: 0 0.3rem;
}

.wa-doc-card .doc-meta {
    font-size: 0.7rem;
}

/* WhatsApp Interactive Reply Buttons */
.wa-buttons-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.wa-quick-btn {
    background: #202c33;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0.8rem;
    color: var(--wa-teal-light);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.wa-quick-btn:hover {
    background: #2a3942;
}

/* WhatsApp Input Area */
.wa-input-bar {
    background: var(--wa-dark-bg);
    padding: 0.5rem 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 5;
}

.wa-input-wrapper {
    flex: 1;
    background: #2a3942;
    border-radius: 9999px;
    padding: 0.4rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.wa-input-icon {
    color: var(--wa-text-muted);
    font-size: 0.95rem;
    cursor: pointer;
}

.wa-input-wrapper input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--wa-text);
    font-size: 0.82rem;
    font-family: var(--font-body);
}

.wa-send-btn {
    width: 36px;
    height: 36px;
    background: var(--wa-teal);
    border-radius: 50%;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s;
}

.wa-send-btn:active {
    transform: scale(0.95);
}

/* Dashboard Single Panel (Simulator only) */
.dashboard-single {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    min-height: calc(100vh - 120px);
    position: relative;
    z-index: 5;
}

.simulator-container {
    width: 100%;
    height: auto;
    min-height: 650px;
    flex: 1;
}

.sim-config-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.sim-config-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.sim-config-input-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.sim-config-input {
    flex: 1;
    background: var(--bg-dark);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 0.6rem 1rem;
    color: var(--text-main);
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sim-config-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}


.setup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.setup-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.setup-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.setup-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.3));
}

.setup-header h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.setup-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

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

.setup-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.setup-form input {
    background: var(--bg-dark);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    color: var(--text-main);
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.setup-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.setup-submit-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    transition: background 0.2s, transform 0.1s;
    margin-top: 0.5rem;
}

.setup-submit-btn:hover {
    background: var(--primary-hover);
}

.setup-submit-btn:active {
    transform: scale(0.98);
}


/* Mobile Responsiveness for Simulator */
@media (max-width: 767px) {
    .app-header {
        padding: 1rem 1.5rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .dashboard-single {
        padding: 1.5rem 1rem;
        min-height: auto;
    }
    
    .panel-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
        min-height: auto;
        height: auto;
    }
    
    .panel-header {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .panel-header h2 {
        font-size: 1.2rem;
        justify-content: center;
    }
    
    .phone-mock {
        width: 100%;
        max-width: 320px;
        height: 620px;
        border-radius: 28px;
        padding: 8px;
    }
    
    .phone-screen {
        border-radius: 20px;
    }
}

@media (max-width: 380px) {
    .dashboard-single {
        padding: 1rem 0.5rem;
    }
    
    .phone-mock {
        max-width: 100%;
        height: 580px;
    }
}