/* Search Page Specific Styles */
.search-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 120px;
}

.search-container {
    width: 100%;
    max-width: 700px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 20px;
    max-height: 600px;
    overflow-y: auto;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-input-main {
    width: 100%;
    padding: 16px 50px 16px 20px;
    font-size: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    outline: none;
}

.search-input-main:focus {
    border-color: #8B5CF6;
}

.close-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 28px;
    color: #8e8e8e;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.close-search-btn:hover {
    background-color: #f5f5f5;
    color: #202123;
}

.search-results-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-result {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: none;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    color: #202123;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s;
    text-decoration: none;
}

.search-result:hover {
    background-color: #f5f5f5;
}

.search-result svg {
    flex-shrink: 0;
    color: #8e8e8e;
}

.search-result span {
    flex: 1;
}

.search-section {
    margin-top: 16px;
}

.search-date-label {
    font-size: 12px;
    color: #8e8e8e;
    font-weight: 500;
    padding: 8px 16px;
    margin-bottom: 4px;
}

.input-container-bottom {
    position: fixed;
    bottom: 20px;
    left: 260px;
    right: 40px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    z-index: 100;
}

.input-container-bottom .input-wrapper {
    display: flex;
    gap: 12px;
    background: white;
    padding: 8px;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.input-container-bottom .voice-btn,
.input-container-bottom .settings-btn {
    background: none;
    border: none;
    color: #8e8e8e;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.input-container-bottom .voice-btn:hover,
.input-container-bottom .settings-btn:hover {
    background-color: #f5f5f5;
    color: #202123;
}

.nav-item.active {
    background-color: #ececec;
}

@media (max-width: 768px) {
    .search-container {
        max-height: 70vh;
        width: 95%;
    }
    
    .search-page {
        padding: 20px 16px 120px;
    }
    
    .input-container-bottom {
        left: 0;
        right: 20px;
        bottom: 16px;
    }
}

@media (max-width: 480px) {
    .search-container {
        padding: 16px;
    }
    
    .search-input-main {
        font-size: 14px;
        padding: 14px 45px 14px 16px;
    }
    
    .search-result {
        font-size: 13px;
        padding: 10px 12px;
    }
}
