/* Blog Titles Specific UI */

.hidden { display: none !important; }

.bt-workspace {
    max-width: 1000px !important;
}

/* Input Section */
.bt-input-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px var(--shadow);
    text-align: center;
    margin-bottom: 40px;
}

.bt-search-bar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 5px;
    transition: 0.3s;
}

.bt-search-bar-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.bt-search-icon {
    position: absolute;
    left: 20px;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.bt-search-input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 15px 15px 15px 50px;
    font-size: 1.1rem;
    color: var(--text-main);
    outline: none;
    font-weight: 600;
}

.bt-search-btn {
    border-radius: 40px;
    padding: 12px 30px;
    font-size: 1rem;
}

.bt-hint-text {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Results Area */
.bt-results-area {
    animation: fadeIn 0.4s ease;
}

.bt-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.bt-results-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
}

.text-warning { color: #f59e0b; }
.text-primary { color: var(--primary); }

.bt-btn-sm {
    padding: 10px 15px;
    font-size: 0.9rem;
}

/* Categories Grid */
.bt-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.bt-category-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
}

.bt-cat-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bt-title-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bt-title-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 15px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
    line-height: 1.4;
}

.bt-title-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.bt-copy-icon {
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: 0.2s;
    flex-shrink: 0;
    margin-left: 15px;
}

.bt-copy-icon:hover {
    background: var(--primary);
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .bt-search-bar-wrapper {
        flex-direction: column;
        border: none;
        background: transparent;
        padding: 0;
    }
    .bt-search-icon { display: none; }
    .bt-search-input {
        width: 100%;
        background: var(--bg-input);
        border: 2px solid var(--border);
        border-radius: 16px;
        padding: 15px;
        margin-bottom: 15px;
    }
    .bt-search-btn { width: 100%; }
    
    .bt-categories-grid {
        grid-template-columns: 1fr;
    }
    .bt-results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
