/* Search Default Page Styles - Liquid Glass Style */

.search-default-container {
    display: none; /* Hidden by default */
    flex-direction: column;
    padding: 16px;
    gap: 24px;
    animation: fadeIn 0.3s ease;
}

.search-default-container.visible {
    display: flex;
}

/* --- Search History Section --- */
.search-history-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-history-header {
    font-size: 0.96rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 4px;
}

.history-capsules-container {
    display: flex;
    flex-wrap: wrap;
    gap: 9.60px;
}

.history-capsule {
    display: flex;
    align-items: center;
    padding: 6.40px 12.80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 0.80px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.72rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3.20px 4.80px rgba(0, 0, 0, 0.1);
}

.history-capsule.removing {
    opacity: 0;
    transform: translateY(-4.80px) scale(0.85);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.history-capsule:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1.60px);
    box-shadow: 0 4.80px 9.60px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.history-capsule-text {
    margin-right: 6.40px;
}

.history-capsule-delete {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12.80px;
    height: 12.80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 8px;
    transition: all 0.2s ease;
}

.history-capsule-delete:hover {
    background: rgba(255, 255, 255, 0.4);
    color: white;
}

/* --- Recommendations Section --- */
.search-recommend-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-recommend-header {
    font-size: 0.96rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 4px;
}

.recommend-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Reusing song-item style but slightly modified for this context if needed */
.recommend-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 9.60px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 0.80px solid transparent;
}

.recommend-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.01);
    border-color: rgba(255, 255, 255, 0.1);
}

.recommend-item .song-img {
    width: 32px;
    height: 32px;
    border-radius: 6.40px;
    margin-right: 12px;
    object-fit: cover;
    box-shadow: 0 1.60px 3.20px rgba(0, 0, 0, 0.2);
}

.recommend-item .song-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.recommend-item .song-title {
    font-weight: 500;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3.20px;
}

.recommend-item .song-artist {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
}

.recommend-loading {
    text-align: center;
    padding: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
}

.recommend-end-message {
    text-align: center;
    padding: 16px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.64rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
