/*
 * Bileşen: Fırsat Listesi (CTA Stilleri)
 * Amaç: Anlaşma kartlarındaki tüm buton ve eylem (CTA) elemanlarının stilini yönetir.
 */

.bfwt-code-container, .bfwt-cta-button { 
    margin-top: 0; 
    height: 60px; 
}
.bfwt-code-container { 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    width: 100%; 
    border: 1px solid var(--color-border-light); 
    border-radius: 10px; 
    background: var(--color-static-white); 
    cursor: pointer; 
    text-decoration: none; 
    user-select: none; 
    color: inherit; 
}
.bfwt-code-back-layer { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: flex-end; 
    font-weight: 700; 
    line-height: 60px; 
    background: linear-gradient(135deg, rgba(0,0,0,0.06) 10%, transparent 15%, transparent 35%, rgba(0,0,0,0.06) 40%, rgba(0,0,0,0.06) 60%, transparent 65%, transparent 85%, rgba(0,0,0,0.06) 90%) repeat scroll 0 0 / 6px 6px transparent; 
    border: 2px solid var(--color-static-green); 
    border-radius: 10px; 
    color: var(--color-static-dark); 
    padding: 0 10px; 
    transition: all 0.3s ease; 
}
.bfwt-code-container:hover .bfwt-code-back-layer { 
    box-shadow: 0 0 10px var(--color-secondary); 
    transform: scale(1.02); 
}
.bfwt-code-front-layer { 
    position: absolute; 
    top: 0; 
    left: 0; 
    height: 100%; 
    width: 90%; 
    background-color: var(--color-static-green); 
    color: var(--color-static-dark) !important; 
    font-weight: 700; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 10px; 
    transition: all 0.3s ease; 
    gap: 8px; 
}
.bfwt-code-front-layer:hover { 
    background-color: var(--color-static-dark); 
    color: var(--color-static-white) !important; 
    border-color: var(--color-static-blue); 
}
.bfwt-code-container.revealed .bfwt-code-front-layer { display: none !important; }
.bfwt-code-container.revealed .bfwt-code-back-layer { justify-content: center; background: transparent; }

.bfwt-cta-button, .bfwt-popup-cta { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 100%; 
    padding: 15px; 
    border: 2px solid transparent; 
    border-radius: 10px; 
    background-color: var(--color-static-green); 
    color: var(--color-static-dark) !important; 
    font-weight: 700; 
    text-decoration: none; 
    cursor: pointer; 
    line-height: 1.3; 
    transition: all 0.3s ease; 
    gap: 8px; 
}
.bfwt-cta-button:hover, .bfwt-popup-cta:hover { 
    background-color: var(--color-static-dark); 
    color: var(--color-static-white) !important; 
    border-color: var(--color-static-blue); 
    box-shadow: 0 0 10px var(--color-secondary); 
    transform: scale(1.05); 
}

.bfwt-code-front-layer::after, .bfwt-cta-button::after, .bfwt-popup-cta::after { 
    font-family: 'Material Symbols Rounded'; 
    font-weight: normal; 
    font-style: normal; 
    font-size: 20px; 
    line-height: 1; 
    transition: transform 0.2s ease; 
}
.bfwt-code-front-layer::after { content: 'content_copy'; }
.bfwt-cta-button::after, .bfwt-popup-cta::after { content: 'arrow_forward'; }
.bfwt-code-front-layer:hover::after, .bfwt-cta-button:hover::after, .bfwt-popup-cta:hover::after { transform: translateX(4px); }

.bfwt-app-only-container { text-align: center; }
.bfwt-cta-button.bfwt-app-only-button {
    background-color: transparent;
    border: 2px dashed var(--color-primary);
    color: var(--color-primary) !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 5px 15px;
    position: relative;
}
.bfwt-cta-button.bfwt-app-only-button:hover {
    background-color: var(--color-primary);
    color: var(--color-background) !important;
    transform: scale(1.05);
    border-style: solid;
}
.bfwt-app-button-main-text {
    font-size: var(--font-size-sm);
    font-weight: 700;
}
.bfwt-app-button-snippet {
    font-size: var(--font-size-xs);
    font-family: monospace;
    opacity: 0.8;
    margin-top: 2px;
}
.bfwt-cta-button.bfwt-app-only-button::after {
    content: 'arrow_forward';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}
.bfwt-cta-button.bfwt-app-only-button:hover::after {
    transform: translateY(-50%) translateX(4px);
}
.bfwt-app-only-notice { font-size: var(--font-size-xs); font-style: italic; color: var(--color-text-muted); margin: 5px 0 0 0; }

.bfwt-tooltip::before { 
    content: attr(data-tooltip); 
    position: absolute; 
    bottom: 100%; 
    left: 50%; 
    transform: translateX(-50%); 
    background: var(--color-text-base); 
    color: var(--color-background); 
    padding: 5px 8px; 
    border-radius: 4px; 
    white-space: nowrap; 
    font-size: var(--font-size-xs); 
    font-style: normal; 
    font-weight: 600; 
    opacity: 0; 
    transition: opacity 0.3s; 
    pointer-events: none; 
    z-index: 20; 
    margin-bottom: 8px; 
}
.bfwt-tooltip:hover::before { opacity: 1; }