/* Google Search Mockup CSS */

.google-search-canvas {
    width: 800px;
    height: 400px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: 'Inter', sans-serif;
    color: #4d5156;
}

.google-logo-container {
    margin-bottom: 30px;
}

.google-logo-svg {
    width: 272px;
    height: 92px;
}

.google-logo-mono {
    color: #202124;
}

.mockup-dark .google-logo-mono {
    color: #ffffff;
}

.search-box-mockup {
    width: 584px;
    height: 46px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.search-box-mockup:hover,
.search-box-mockup.active {
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    border-color: rgba(223, 225, 229, 0);
}

.search-icon-google {
    width: 20px;
    height: 20px;
    color: #9aa0a6;
    margin-right: 12px;
}

.typing-container {
    flex: 1;
    font-size: 16px;
    color: #202124;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    height: 100%;
    padding-left: 2px;
}

#typing-text {
    font-family: Arial, sans-serif;
    letter-spacing: 0px;
    word-spacing: 0.5px;
    font-weight: 400;
    white-space: pre;
}

.cursor {
    display: inline-block;
    width: 1.5px;
    height: 20px;
    background: #4285f4;
    margin-left: 1px;
}

.cursor.blink {
    animation: google-cursor-blink 0.8s infinite;
}

@keyframes google-cursor-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.search-tools-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mic-icon,
.lens-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

/* Dark Mode Overrides */
.mockup-dark .google-search-canvas {
    background: #202124 !important;
}

.mockup-dark .search-box-mockup {
    background: #202124;
    border-color: #5f6368;
}

.mockup-dark .typing-container {
    color: #e8eaed;
}

.mockup-dark .cursor {
    background: #8ab4f8;
}

.search-buttons-mockup {
    margin-top: 30px;
    display: flex;
    gap: 12px;
}

.google-btn-mockup {
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    color: #3c4043;
    font-size: 14px;
    margin: 11px 4px;
    padding: 0 16px;
    line-height: 27px;
    height: 36px;
    min-width: 54px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.mockup-dark .google-btn-mockup {
    background-color: #303134;
    border-color: #303134;
    color: #e8eaed;
}

.google-btn-mockup:hover {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: 1px solid #dadce0;
    color: #202124;
}

.mockup-dark .google-btn-mockup:hover {
    background-color: #3c4043;
    border-color: #5f6368;
    color: #bdc1c6;
}

/* Animation recording state hint - Moved to viewport to avoid appearing in export */
#panzoom-viewport.recording::after {
    content: 'REC';
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: #ea4335;
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    z-index: 100;
    animation: pulse 1s infinite;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.4);
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}