/* AI Summary Buttons - Premium Style */

.aisb-container {
    border-radius: 16px;
    padding: 20px 24px;
    margin: 32px 0;
    position: relative;
    overflow: hidden;
}

/* Dark Theme (Koyu) */
.aisb-theme-dark {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.aisb-theme-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
}

/* Light Theme (Açık) */
.aisb-theme-light {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.03) inset;
}

.aisb-theme-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.05) 50%, 
        transparent 100%);
}

.aisb-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.aisb-sparkle {
    flex-shrink: 0;
}

.aisb-theme-dark .aisb-sparkle {
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.aisb-theme-light .aisb-sparkle {
    color: #1a1a1a;
}

.aisb-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.aisb-theme-dark .aisb-title {
    color: #ffffff;
}

.aisb-theme-light .aisb-title {
    color: #1a1a1a;
}

.aisb-buttons {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.aisb-buttons::-webkit-scrollbar {
    display: none;
}

.aisb-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    white-space: nowrap;
}

.aisb-theme-dark .aisb-button {
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.aisb-theme-light .aisb-button {
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.aisb-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.aisb-button:hover::before {
    opacity: 1;
}

.aisb-theme-dark .aisb-button:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.aisb-theme-light .aisb-button:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.aisb-button:active {
    transform: translateY(0);
}

.aisb-button-logo {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    flex-shrink: 0;
    object-fit: contain;
    transition: all 0.3s ease;
}

.aisb-button:hover .aisb-button-logo {
    transform: scale(1.08);
}

.aisb-button-text {
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.aisb-arrow {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.aisb-theme-dark .aisb-arrow {
    color: rgba(0, 0, 0, 0.3);
}

.aisb-theme-light .aisb-arrow {
    color: rgba(0, 0, 0, 0.3);
}

.aisb-button:hover .aisb-arrow {
    transform: translateX(3px);
}

.aisb-theme-dark .aisb-button:hover .aisb-arrow {
    color: rgba(0, 0, 0, 0.6);
}

.aisb-theme-light .aisb-button:hover .aisb-arrow {
    color: rgba(0, 0, 0, 0.6);
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .aisb-container {
        padding: 18px 20px;
        margin: 24px 0;
        border-radius: 14px;
    }
    
    .aisb-header {
        margin-bottom: 14px;
        gap: 8px;
    }
    
    .aisb-sparkle {
        width: 18px;
        height: 18px;
    }
    
    .aisb-title {
        font-size: 15px;
    }
    
    .aisb-buttons {
        gap: 8px;
    }
    
    .aisb-button {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .aisb-button-logo {
        width: 20px;
        height: 20px;
    }
    
    .aisb-arrow {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .aisb-container {
        padding: 16px 18px;
        margin: 20px 0;
    }
    
    .aisb-title {
        font-size: 14px;
    }
    
    .aisb-button {
        padding: 9px 12px;
        font-size: 12px;
    }
    
    .aisb-button-logo {
        width: 18px;
        height: 18px;
    }
}

/* Dark mode iyileştirmeleri */
@media (prefers-color-scheme: dark) {
    .aisb-theme-dark {
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    }
}

/* Animasyon ve performance optimizasyonları */
@media (prefers-reduced-motion: reduce) {
    .aisb-button,
    .aisb-button::before,
    .aisb-button-logo,
    .aisb-arrow {
        transition: none;
    }
}
