.ai-summarize-section {
    margin-bottom: 2rem;
    margin-top: 20px;
}

.ai-summarize-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px;
    box-shadow:0 0 3px 0 rgb(110 0 255 / 30%);
    transition: all 0.3s ease;
    border:1px solid rgb(110 0 255 / 54%);
    position: relative;
    overflow: hidden;
}

.ai-summarize-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, #6e00ff 0%, #b695ff 100%);
    border-radius: 24px 24px 0 0;
}

.ai-summarize-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    justify-content: center;
}

.ai-summarize-icon {
    font-size: 20px;
    color: #6e00ff;
}

.ai-summarize-title {
    font-size: 18px;
    font-weight: 500;
    color: #0d0d12;
    margin: 0;
    line-height: 1.3;
}

.ai-summarize-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.ai-summarize-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border:1px solid rgb(110 0 255 / 54%);
    box-shadow:0 0 3px 0 rgb(110 0 255 / 30%);
    justify-content: center;
    background: transparent;
    color: #0d0d12;
    width: 50px;
}

.ai-summarize-btn img {
    width: 30px;
}

.ai-summarize-btn:hover {
    color: white;
    transform: translateY(-1px);
}

.ai-summarize-btn span {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.ai-btn-wrapper {
    position: relative;
}

.ai-btn-wrapper[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #0d0d12;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    width: 200px;
}

.ai-btn-wrapper.show-tooltip[data-tooltip]::before,
.ai-btn-wrapper.show-tooltip[data-tooltip]::after {
    opacity: 1;
    visibility: visible;
}

.ai-floating-tooltip {
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    color: #0d0d12;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid #d1d5db;
    z-index: 99999;
    max-width: 220px;
}
