/**
 * SEARCH.CSS - Search Interface Styling
 * Kay's Website - Search Page Specifieke Styles
 */

/* ============================================
   SEARCH LAYOUT
   ============================================ */

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    padding: var(--space-20);
    font-family: var(--font-family-mono);
}

.search-wrapper {
    width: 100%;
    max-width: 600px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ============================================
   DIGITAL CLOCK
   ============================================ */
.digital-clock {
     font-family: "SF Mono", "Monaco", "Consolas", monospace;
    font-size: 96px;
    font-weight: 900;
    color: #00ff00;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-shadow: 0 0 2px #00ff0033;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    opacity: 0.4;
    white-space: nowrap;
}

.clock-date {
    font-family: var(--font-family-mono);
    font-size: 12px;
    color: #00ff00;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 2px #00ff0033;
}

.cursor {
    display: inline-block;
    width: 0.48em;
    height: 0.65em;
    background: #00ff00;
    vertical-align: baseline;
    margin-left: 2px;
    animation: blink 1s steps(1, end) infinite;
}

@keyframes blink {
    0%, 50% { opacity: 0.4; }
    51%, 100% { opacity: 0; }
}

/* ============================================
   TERMINAL PROMPT
   ============================================ */
.terminal-prompt {
    font-size: 14px;
    color: #00ff00;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-shadow: 0 0 2px #00ff0033;
}

.prompt-symbol {
    color: #00cc00;
}

/* ============================================
   SEARCH BOX
   ============================================ */
.search-box {
    position: relative;
    margin-bottom: 40px;
}

.search-input {
    width: 100%;
    padding: 14px 132px 14px 16px !important;
    font-size: 14px;
    border: 2px solid #00ff00;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.6);
    color: #00ff00;
    font-family: var(--font-family-mono);
    transition: all 0.2s ease;
    box-shadow: 0 0 2px #00ff0033;
    letter-spacing: 1px;
}

.search-input:focus {
    outline: none;
    border-color: #00ff00;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 3px #00ff0044;
}

.search-input::placeholder {
    color: #00aa00;
}

/* ============================================
   BUTTONS (MIC & SEARCH)
   ============================================ */
.mic-button {
    position: absolute !important;
    right: 70px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: 2px solid #00ff00 !important;
    color: #00ff00 !important;
    padding: 6px 12px !important;
    border-radius: 1px !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    font-family: var(--font-family-mono) !important;
    transition: all 0.2s ease !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    display: inline-block !important;
    z-index: 10 !important;
}

.mic-button:hover {
    background: rgba(0, 255, 0, 0.08) !important;
    box-shadow: 0 0 3px #00ff0044 !important;
}

.mic-button.listening {
    background: rgba(255, 68, 68, 0.1) !important;
    color: #ff4444 !important;
    border-color: #ff4444 !important;
    animation: pulse 1s infinite !important;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.search-button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 2px solid #00ff00;
    color: #00ff00;
    padding: 6px 12px;
    border-radius: 1px;
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font-family-mono);
    transition: all 0.2s ease;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.search-button:hover {
    background: rgba(0, 255, 0, 0.08);
    box-shadow: 0 0 3px #00ff0044;
}

.search-button:active {
    background: rgba(0, 255, 0, 0.12);
}

/* ============================================
   SYSTEM INFO (SHORTCUTS HELP)
   ============================================ */
.system-info {
    display: none;
    margin-top: 40px;
    padding: 16px;
    border: 1px solid #00ff00;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.4);
    font-size: 11px;
    color: #00ff00;
    text-align: left;
    font-family: var(--font-family-mono);
    box-shadow: 0 0 2px #00ff0033;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.shortcuts-help {
    padding: 12px;
    border: 1px dashed #00aa00;
    border-radius: 1px;
    background: rgba(0, 0, 0, 0.2);
    font-size: 10px;
    color: #00aa00;
    text-align: left;
}

.shortcut-item {
    margin-bottom: 4px;
    font-family: var(--font-family-mono);
    letter-spacing: 0.5px;
}

.shortcut-item:last-child {
    margin-bottom: 0;
}

.shortcut-prefix {
    color: #00ff00;
    font-weight: 700;
}

/* ============================================
   RESPONSIVE - MOBILE FIXES
   ============================================ */
@media (max-width: 600px) {
    .digital-clock {
        font-size: 52px;
        white-space: nowrap;
        letter-spacing: 1px;
    }
    
    .cursor {
        width: 0.55em;
        height: 0.75em;
        margin-left: 1px;
    }
    
    .clock-date {
        font-size: 11px;
    }
    
    .terminal-prompt {
        font-size: 12px;
    }
    
    .system-info {
        font-size: 10px;
    }
    
    .search-input {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .digital-clock {
        font-size: 44px;
        white-space: nowrap;
        letter-spacing: 1px;
    }
    
    .cursor {
        width: 0.60em;
        height: 0.80em;
        margin-left: 1px;
    }
}

@media (max-width: 350px) {
    .digital-clock {
        font-size: 38px;
        letter-spacing: 1px;
    }
    
    .cursor {
        width: 0.65em;
        height: 0.85em;
        margin-left: 0px;
    }
}
