/**
 * dlp-demo.css
 * Realistic AI service demo with browser frame, sidebar, chat layout,
 * glassmorphism DLP alert overlay, and parallax effects.
 * Themes: ChatGPT (dark), Claude (dark), Gemini (dark).
 */

/* ========== ANIMATED BORDER WRAPPER ========== */
.dlp-demo-wrapper {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 14px;
    padding: 2px;
    background: linear-gradient(var(--shine-angle, 0deg), #10b981, #a855f7, #10b981);
    animation: shine-rotate 8s linear infinite;
}

@keyframes shine-rotate {
    0% { --shine-angle: 0deg; }
    100% { --shine-angle: 360deg; }
}

@property --shine-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* ========== BROWSER WINDOW FRAME ========== */
.browser-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #161616;
}

.browser-titlebar {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 14px;
    background: #1b1b1b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 12px;
    user-select: none;
    color: #9a9a9a;
    font-family: 'Figtree', system-ui, sans-serif;
}

.browser-dots {
    display: flex;
    gap: 7px;
    flex-shrink: 0;
}

.browser-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.browser-dot.red { background: #ff5f57; }
.browser-dot.yellow { background: #febc2e; }
.browser-dot.green { background: #28c840; }

.browser-url-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 5px 12px;
    max-width: 340px;
    margin: 0 auto;
}

.browser-lock {
    width: 12px;
    height: 12px;
    color: #6e6e6e;
    flex-shrink: 0;
}

.browser-url-text {
    font-size: 12px;
    color: #9a9a9a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.3s ease-in-out;
}

.browser-ext-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: color 0.4s ease, filter 0.4s ease;
    flex-shrink: 0;
    border-radius: 4px;
}

.browser-ext-icon svg {
    width: 16px;
    height: 16px;
}

.browser-ext-icon.active {
    color: #8b5cf6;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.7));
}

/* ========== CROSS-DISSOLVE SNAPSHOT OVERLAY ========== */
.dlp-demo-snapshot {
    position: absolute !important;
    top: 40px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
    height: auto !important;
    transition: opacity 0.5s ease-in-out;
}

.dlp-demo.cross-dissolve-in {
    transition: opacity 0.5s ease-in-out;
}

/* ========== MAIN DEMO LAYOUT (Sidebar + Chat) ========== */
.dlp-demo {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 500px;
    overflow: hidden;
    font-family: 'Figtree', system-ui, sans-serif;
    color: #d1d1d1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.dlp-demo *,
.dlp-demo *::before,
.dlp-demo *::after {
    color: inherit;
}

.dlp-demo svg {
    fill: currentColor;
}

.dlp-demo svg[fill="none"] {
    fill: none;
}

/* ========== SIDEBAR ========== */
.dlp-sidebar {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.dlp-sidebar-header {
    padding: 12px 10px;
}

.dlp-sidebar-new-chat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: default;
    border: none;
    width: 100%;
    text-align: left;
    background: transparent;
    transition: background 0.15s;
}

.dlp-sidebar-new-chat svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.dlp-sidebar-section-label {
    padding: 12px 14px 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.5;
}

.dlp-sidebar-conversations {
    flex: 1;
    overflow: hidden;
    padding: 0 6px;
}

.dlp-sidebar-conv {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
    transition: background 0.15s;
    line-height: 1.4;
}

.dlp-sidebar-footer {
    padding: 10px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dlp-sidebar-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.dlp-sidebar-username {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== CHAT AREA ========== */
.dlp-chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

/* ========== TOPBAR (Model selector) ========== */
.dlp-topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
    user-select: none;
}

.dlp-topbar-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dlp-topbar-icon svg,
.dlp-topbar-icon img {
    width: 18px;
    height: 18px;
}

.dlp-topbar-label {
    font-weight: 600;
    font-size: 15px;
}

.dlp-topbar-model {
    font-weight: 400;
    opacity: 0.6;
    font-size: 13px;
}

.dlp-topbar-chevron {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

/* ========== MESSAGES ========== */
.dlp-messages {
    flex: 1;
    overflow: hidden;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dlp-message {
    display: flex;
    gap: 10px;
    max-width: 88%;
    line-height: 1.6;
    font-size: 14px;
}

.dlp-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.dlp-message.assistant {
    align-self: flex-start;
}

.dlp-message-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.dlp-message-icon svg,
.dlp-message-icon img {
    width: 16px;
    height: 16px;
}

.dlp-message-bubble {
    padding: 10px 16px;
    border-radius: 20px;
    word-break: break-word;
}

.dlp-message.assistant .dlp-message-bubble {
    background: transparent !important;
    padding: 4px 0;
    border-radius: 0;
}

/* ========== INPUT AREA ========== */
.dlp-demo-input-container {
    padding: 0 24px 20px;
    margin-top: auto;
}

.dlp-demo-input-box {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 24px;
    padding: 12px 16px;
}

.dlp-demo-input-icons-left,
.dlp-demo-input-icons-right {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.dlp-demo-input-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0.5;
    cursor: default;
}

.dlp-demo-input-icon svg {
    width: 18px;
    height: 18px;
}

.dlp-demo-text {
    flex: 1;
    min-width: 0;
}

.dlp-demo-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.dlp-demo-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.dlp-demo-send-btn svg {
    width: 16px;
    height: 16px;
    transition: fill 0.3s ease;
}

/* ========== CURSOR ========== */
.dlp-demo-cursor {
    display: inline-block;
    width: 2px;
    height: 18px;
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: dlp-cursor-blink 1s steps(1) infinite;
    transition: none;
}

@keyframes dlp-cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ========== HIGHLIGHT (sensitive data) ========== */
.dlp-demo-highlight {
    padding: 1px 4px;
    border-radius: 4px;
    font-size: inherit;
}

/* ========== ALERT OVERLAY (Glassmorphism) ========== */
.dlp-demo-alert {
    position: absolute;
    top: 52px;
    right: 12px;
    width: 310px;
    z-index: 50;
    border-radius: 14px;
    padding: 16px 18px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.dlp-demo-alert.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}

.dlp-demo-alert-branding {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a78bfa;
}

.dlp-demo-alert-branding svg {
    width: 13px;
    height: 13px;
    color: #a78bfa;
}

.dlp-demo-alert-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.dlp-demo-alert-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: dlp-alert-pulse 2s ease-in-out infinite;
}

@keyframes dlp-alert-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.dlp-demo-alert-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.dlp-demo-alert-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.dlp-demo-alert-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    margin-left: auto;
}

.dlp-demo-alert-content {
    font-size: 12px;
    line-height: 1.5;
    padding-left: 36px;
}

.dlp-demo-alert-detected {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 12px;
}

.dlp-demo-alert-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
}

.dlp-demo-alert-btn {
    font-size: 11px;
    padding: 7px 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

/* ========== CHATGPT THEME ========== */
.dlp-demo.theme-chatgpt {
    background: #212121;
}

/* Sidebar */
.dlp-demo.theme-chatgpt .dlp-sidebar {
    background: #171717;
}

.dlp-demo.theme-chatgpt .dlp-sidebar-new-chat {
    color: #ececec;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dlp-demo.theme-chatgpt .dlp-sidebar-new-chat svg {
    color: #ececec;
}

.dlp-demo.theme-chatgpt .dlp-sidebar-section-label {
    color: #ececec;
}

.dlp-demo.theme-chatgpt .dlp-sidebar-conv {
    color: #b4b4b4;
}

.dlp-demo.theme-chatgpt .dlp-sidebar-conv.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ececec;
}

.dlp-demo.theme-chatgpt .dlp-sidebar-footer {
    border-color: rgba(255, 255, 255, 0.06);
}

.dlp-demo.theme-chatgpt .dlp-sidebar-avatar {
    background: #6ba57a;
    color: #fff;
}

.dlp-demo.theme-chatgpt .dlp-sidebar-username {
    color: #ececec;
}

/* Topbar */
.dlp-demo.theme-chatgpt .dlp-topbar {
    color: #ececec;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dlp-demo.theme-chatgpt .dlp-topbar-icon svg {
    color: #ececec;
}

/* Messages */
.dlp-demo.theme-chatgpt .dlp-message.user .dlp-message-bubble {
    background: #303030;
    color: #ececec;
}

.dlp-demo.theme-chatgpt .dlp-message.assistant .dlp-message-icon {
    background: #6ba57a;
    color: #fff;
}

.dlp-demo.theme-chatgpt .dlp-message.assistant {
    color: #d1d5db;
}

/* Input */
.dlp-demo.theme-chatgpt .dlp-demo-input-box {
    background: #303030;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    padding: 14px 18px;
}

.dlp-demo.theme-chatgpt .dlp-demo-text {
    color: #ececec;
    font-size: 15px;
    line-height: 1.5;
    min-height: 24px;
}

.dlp-demo.theme-chatgpt .dlp-demo-cursor {
    background: #ececec;
}

.dlp-demo.theme-chatgpt .dlp-demo-highlight {
    background: rgba(249, 115, 22, 0.25);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.4);
}

.dlp-demo.theme-chatgpt .dlp-demo-input-icon {
    color: #ececec;
}

.dlp-demo.theme-chatgpt .dlp-demo-send-btn {
    background: #424242;
}

.dlp-demo.theme-chatgpt .dlp-demo-send-btn svg {
    fill: #9a9a9a;
}

.dlp-demo.theme-chatgpt .dlp-demo-send-btn.active {
    background: #ececec;
}

.dlp-demo.theme-chatgpt .dlp-demo-send-btn.active svg {
    fill: #212121;
}

/* Alert - ChatGPT */
.theme-chatgpt ~ .dlp-demo-alert {
    background: rgba(33, 33, 33, 0.88);
    border: 1px solid rgba(249, 115, 22, 0.25);
}

.theme-chatgpt ~ .dlp-demo-alert .dlp-demo-alert-icon {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
}

.theme-chatgpt ~ .dlp-demo-alert .dlp-demo-alert-title {
    color: #fb923c;
}

.theme-chatgpt ~ .dlp-demo-alert .dlp-demo-alert-badge {
    background: #f97316;
    color: #fff;
}

.theme-chatgpt ~ .dlp-demo-alert .dlp-demo-alert-content {
    color: rgba(255, 255, 255, 0.65);
}

.theme-chatgpt ~ .dlp-demo-alert .dlp-demo-alert-detected {
    background: rgba(249, 115, 22, 0.12);
    color: #fb923c;
}

.theme-chatgpt ~ .dlp-demo-alert .dlp-demo-alert-btn.primary {
    background: #f97316;
    color: #fff;
}

.theme-chatgpt ~ .dlp-demo-alert .dlp-demo-alert-btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

/* ========== CLAUDE THEME ========== */
.dlp-demo.theme-claude {
    background: #2d2d2a;
}

/* Sidebar */
.dlp-demo.theme-claude .dlp-sidebar {
    background: #262623;
}

.dlp-demo.theme-claude .dlp-sidebar-new-chat {
    color: #e8e6e3;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dlp-demo.theme-claude .dlp-sidebar-new-chat svg {
    color: #e8e6e3;
}

.dlp-demo.theme-claude .dlp-sidebar-section-label {
    color: #e8e6e3;
}

.dlp-demo.theme-claude .dlp-sidebar-conv {
    color: #a8a69e;
}

.dlp-demo.theme-claude .dlp-sidebar-conv.active {
    background: rgba(255, 255, 255, 0.06);
    color: #e8e6e3;
}

.dlp-demo.theme-claude .dlp-sidebar-footer {
    border-color: rgba(255, 255, 255, 0.06);
}

.dlp-demo.theme-claude .dlp-sidebar-avatar {
    background: #d97757;
    color: #fff;
}

.dlp-demo.theme-claude .dlp-sidebar-username {
    color: #e8e6e3;
}

/* Topbar */
.dlp-demo.theme-claude .dlp-topbar {
    color: #e8e6e3;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dlp-demo.theme-claude .dlp-topbar-icon {
    color: #d97757;
}

/* Messages */
.dlp-demo.theme-claude .dlp-message.user .dlp-message-bubble {
    background: #3d3d3a;
    color: #e8e6e3;
}

.dlp-demo.theme-claude .dlp-message.assistant .dlp-message-icon {
    background: transparent;
    color: #d97757;
    font-size: 18px;
}

.dlp-demo.theme-claude .dlp-message.assistant {
    color: #ccc9c2;
}

/* Input */
.dlp-demo.theme-claude .dlp-demo-input-box {
    background: #3d3d3a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 14px 18px;
}

.dlp-demo.theme-claude .dlp-demo-text {
    color: #e8e6e3;
    font-size: 15px;
    line-height: 1.5;
    min-height: 24px;
}

.dlp-demo.theme-claude .dlp-demo-cursor {
    background: #e8e6e3;
}

.dlp-demo.theme-claude .dlp-demo-highlight {
    background: rgba(217, 119, 87, 0.25);
    color: #e8a088;
    border: 1px solid rgba(217, 119, 87, 0.4);
}

.dlp-demo.theme-claude .dlp-demo-input-icon {
    color: #e8e6e3;
}

.dlp-demo.theme-claude .dlp-demo-send-btn {
    background: #4a4a46;
    border-radius: 10px;
}

.dlp-demo.theme-claude .dlp-demo-send-btn svg {
    fill: #9a9894;
}

.dlp-demo.theme-claude .dlp-demo-send-btn.active {
    background: #d97757;
}

.dlp-demo.theme-claude .dlp-demo-send-btn.active svg {
    fill: #fff;
}

/* Alert - Claude */
.theme-claude ~ .dlp-demo-alert {
    background: rgba(45, 45, 42, 0.88);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.theme-claude ~ .dlp-demo-alert .dlp-demo-alert-icon {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.theme-claude ~ .dlp-demo-alert .dlp-demo-alert-title {
    color: #f87171;
}

.theme-claude ~ .dlp-demo-alert .dlp-demo-alert-badge {
    background: #dc2626;
    color: #fff;
}

.theme-claude ~ .dlp-demo-alert .dlp-demo-alert-content {
    color: rgba(255, 255, 255, 0.65);
}

.theme-claude ~ .dlp-demo-alert .dlp-demo-alert-detected {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
}

.theme-claude ~ .dlp-demo-alert .dlp-demo-alert-btn.primary {
    background: #dc2626;
    color: #fff;
}

.theme-claude ~ .dlp-demo-alert .dlp-demo-alert-btn.secondary {
    background: #dc2626;
    color: #fff;
}

.theme-claude ~ .dlp-demo-alert .dlp-demo-alert-actions {
    justify-content: center;
}

/* ========== GEMINI THEME ========== */
.dlp-demo.theme-gemini {
    background: #1a1a1a;
}

/* Sidebar */
.dlp-demo.theme-gemini .dlp-sidebar {
    background: #1e1e1e;
}

.dlp-demo.theme-gemini .dlp-sidebar-new-chat {
    color: #e8eaed;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dlp-demo.theme-gemini .dlp-sidebar-new-chat svg {
    color: #e8eaed;
}

.dlp-demo.theme-gemini .dlp-sidebar-section-label {
    color: #e8eaed;
}

.dlp-demo.theme-gemini .dlp-sidebar-conv {
    color: #9aa0a6;
}

.dlp-demo.theme-gemini .dlp-sidebar-conv.active {
    background: rgba(255, 255, 255, 0.06);
    color: #e8eaed;
}

.dlp-demo.theme-gemini .dlp-sidebar-footer {
    border-color: rgba(255, 255, 255, 0.06);
}

.dlp-demo.theme-gemini .dlp-sidebar-avatar {
    background: #8ab4f8;
    color: #1a1a1a;
}

.dlp-demo.theme-gemini .dlp-sidebar-username {
    color: #e8eaed;
}

/* Topbar */
.dlp-demo.theme-gemini .dlp-topbar {
    color: #e8eaed;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dlp-demo.theme-gemini .dlp-topbar-icon img {
    width: 20px;
    height: 20px;
}

/* Messages */
.dlp-demo.theme-gemini .dlp-message.user .dlp-message-bubble {
    background: #2d2d2d;
    color: #e8eaed;
}

.dlp-demo.theme-gemini .dlp-message.assistant .dlp-message-icon {
    background: transparent;
}

.dlp-demo.theme-gemini .dlp-message.assistant .dlp-message-icon img {
    width: 22px;
    height: 22px;
}

.dlp-demo.theme-gemini .dlp-message.assistant {
    color: #c4c7c5;
}

/* Input */
.dlp-demo.theme-gemini .dlp-demo-input-box {
    background: #2d2d2d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    padding: 14px 18px;
}

.dlp-demo.theme-gemini .dlp-demo-text {
    color: #e8eaed;
    font-size: 15px;
    line-height: 1.5;
    min-height: 24px;
}

.dlp-demo.theme-gemini .dlp-demo-cursor {
    background: #e8eaed;
}

.dlp-demo.theme-gemini .dlp-demo-highlight {
    background: rgba(234, 67, 53, 0.2);
    color: #f28b82;
    border: 1px solid rgba(234, 67, 53, 0.4);
}

.dlp-demo.theme-gemini .dlp-demo-input-icon {
    color: #e8eaed;
}

.dlp-demo.theme-gemini .dlp-demo-send-btn {
    background: #3d3d3d;
}

.dlp-demo.theme-gemini .dlp-demo-send-btn svg {
    fill: #9aa0a6;
}

.dlp-demo.theme-gemini .dlp-demo-send-btn.active {
    background: #8ab4f8;
}

.dlp-demo.theme-gemini .dlp-demo-send-btn.active svg {
    fill: #1a1a1a;
}

/* Alert - Gemini */
.theme-gemini ~ .dlp-demo-alert {
    background: rgba(26, 26, 26, 0.88);
    border: 1px solid rgba(234, 67, 53, 0.25);
}

.theme-gemini ~ .dlp-demo-alert .dlp-demo-alert-icon {
    background: rgba(234, 67, 53, 0.2);
    color: #f28b82;
}

.theme-gemini ~ .dlp-demo-alert .dlp-demo-alert-title {
    color: #f28b82;
}

.theme-gemini ~ .dlp-demo-alert .dlp-demo-alert-badge {
    background: #ea4335;
    color: #fff;
}

.theme-gemini ~ .dlp-demo-alert .dlp-demo-alert-content {
    color: rgba(255, 255, 255, 0.65);
}

.theme-gemini ~ .dlp-demo-alert .dlp-demo-alert-detected {
    background: rgba(234, 67, 53, 0.12);
    color: #f28b82;
}

.theme-gemini ~ .dlp-demo-alert .dlp-demo-alert-btn.primary {
    background: #ea4335;
    color: #fff;
}

.theme-gemini ~ .dlp-demo-alert .dlp-demo-alert-btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #f28b82;
    border: 1px solid rgba(234, 67, 53, 0.3);
}

/* ========== ENTRY ANIMATION ========== */
.hero-demo {
    opacity: 1;
}

/* ========== RESPONSIVE ========== */

/* Large tablets / small desktops */
@media (max-width: 900px) {
    .dlp-demo-wrapper {
        max-width: 100%;
    }

    .dlp-sidebar {
        width: 180px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .dlp-demo {
        height: auto;
        min-height: 420px;
    }

    .dlp-sidebar {
        display: none;
    }

    .dlp-messages {
        padding: 12px 20px;
    }

    .dlp-demo-input-container {
        padding: 0 16px 16px;
    }

    .dlp-demo-input-box {
        padding: 12px 14px !important;
    }

    .dlp-demo-text {
        font-size: 14px !important;
    }

    .dlp-demo-alert {
        width: 280px;
        right: 8px;
        top: 48px;
    }

    .dlp-demo-alert-content {
        padding-left: 0;
    }

    .dlp-message {
        font-size: 13px;
    }

    .browser-titlebar {
        height: 36px;
        padding: 0 10px;
    }

    .dlp-demo-snapshot {
        top: 36px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .dlp-demo {
        height: auto;
        min-height: 360px;
    }

    .browser-dots {
        display: none;
    }

    .browser-titlebar {
        height: 34px;
        padding: 0 8px;
    }

    .dlp-demo-snapshot {
        top: 34px;
    }

    .browser-url-bar {
        max-width: 100%;
        margin: 0;
    }

    .dlp-topbar {
        padding: 8px 14px;
        font-size: 13px;
    }

    .dlp-messages {
        padding: 10px 14px;
        gap: 12px;
    }

    .dlp-message {
        font-size: 12px;
        max-width: 92%;
    }

    .dlp-message-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .dlp-message-icon svg,
    .dlp-message-icon img {
        width: 14px;
        height: 14px;
    }

    .dlp-message-bubble {
        padding: 8px 12px;
        border-radius: 16px;
    }

    .dlp-demo-input-container {
        padding: 0 10px 12px;
    }

    .dlp-demo-input-box {
        padding: 10px 12px !important;
        border-radius: 20px !important;
        gap: 6px !important;
    }

    .dlp-demo-text {
        font-size: 13px !important;
        min-height: auto !important;
    }

    .dlp-demo-cursor {
        height: 16px;
    }

    .dlp-demo-send-btn {
        width: 30px !important;
        height: 30px !important;
    }

    .dlp-demo-send-btn svg {
        width: 14px;
        height: 14px;
    }

    .dlp-demo-alert {
        width: calc(100% - 24px);
        right: 12px;
        left: 12px;
        top: 44px;
    }

    .dlp-demo-alert-header {
        gap: 8px;
    }

    .dlp-demo-alert-icon {
        width: 22px;
        height: 22px;
    }

    .dlp-demo-alert-icon svg {
        width: 12px;
        height: 12px;
    }

    .dlp-demo-alert-title {
        font-size: 12px;
    }

    .dlp-demo-alert-badge {
        font-size: 8px;
        padding: 2px 6px;
    }

    .dlp-demo-alert-content {
        font-size: 11px;
        padding-left: 0;
    }

    .dlp-demo-alert-detected {
        font-size: 11px;
        padding: 5px 8px;
    }

    .dlp-demo-alert-btn {
        font-size: 11px;
        padding: 6px 12px;
    }

    .dlp-demo-alert-branding {
        font-size: 9px;
    }
}
