/*
 * Bileşen: E-Bülten Formu
 * GÜNCELLEME: Mobil ve masaüstü UI/UX tutarlılığı artırıldı. Mesaj stilleri modernize edildi.
 */

.bfwt-honeypot {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.bfwt-newsletter-container .bfwt-content-block-inner {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-base, 12px);
}

.bfwt-newsletter-container .bfwt-content-block-inner::before {
    content: 'campaign';
    font-family: 'Material Symbols Rounded';
    font-weight: 300;
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 1;
    font-size: 100px;
    line-height: 1;
    opacity: 0.08;
    color: var(--color-text-subtle);
    transform: rotate(-15deg);
    pointer-events: none;
    -webkit-font-smoothing: antialiased;
}

.bfwt-newsletter-container .bfwt-newsletter-header,
.bfwt-newsletter-container .bfwt-newsletter-form-wrapper {
    position: relative;
    z-index: 2;
}

.bfwt-newsletter-container .bfwt-newsletter-header {
    margin-bottom: 25px;
    padding-right: 100px;
}

.bfwt-newsletter-form__elements {
    display: flex;
    align-items: center;
    background-color: var(--color-background-soft);
    border-radius: var(--border-radius-base);
    padding: 6px;
    height: 60px;
    position: relative; 
}

.bfwt-newsletter-form__elements .material-symbols-rounded {
    flex-shrink: 0;
    color: var(--color-text-muted);
    padding: 0 8px 0 12px;
    font-size: 24px;
}

.bfwt-newsletter-form__elements input[type="email"] {
    flex: 1 1 auto;
    min-width: 50px;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
    font-size: var(--font-size-base);
    color: var(--color-text-base);
    margin: 0;
    box-shadow: none;
    height: 100%;
}

.bfwt-newsletter-button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    padding: 0 25px;
    border: none;
    border-radius: 8px;
    background-color: var(--color-green);
    color: var(--color-dark) !important;
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.3;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.bfwt-newsletter-button:hover {
    background-color: var(--color-dark);
    color: var(--color-white) !important;
    transform: scale(1.05);
}

.bfwt-newsletter-button::after {
    content: 'arrow_forward';
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.bfwt-newsletter-button:hover::after {
    transform: translateX(4px);
}

/* --- YENİ & GÜNCELLENMİŞ MESAJ STİLLERİ --- */
#bfwt-newsletter-message {
    display: none; /* JS ile gösterilecek */
    padding: 12px 15px;
    margin-top: 15px;
    border-radius: var(--border-radius-small);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border: 1px solid transparent;
    text-align: left;
    
    /* İkon ve metni hizalamak için flexbox */
    display: flex;
    align-items: center;
    gap: 10px;
}

#bfwt-newsletter-message .material-symbols-rounded {
    font-size: 1.3em;
}

#bfwt-newsletter-message.success {
    color: var(--color-success);
    background-color: rgba(21, 219, 149, 0.1);
    border-color: rgba(21, 219, 149, 0.2);
}

#bfwt-newsletter-message.error {
    color: var(--color-danger);
    background-color: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.2);
}
/* --- STİL GÜNCELLEMESİ SONU --- */

@media (max-width: 768px) {
    .bfwt-newsletter-container .bfwt-newsletter-header {
        padding-right: 0;
        text-align: center;
    }
    .bfwt-newsletter-container .bfwt-content-block-inner::before {
       display: none;
    }
    .bfwt-newsletter-form__elements {
        flex-direction: column;
        background-color: transparent;
        border: none;
        padding: 0;
        gap: 10px;
        height: auto;
    }
    
    .bfwt-newsletter-form__elements .material-symbols-rounded {
        position: absolute;
        left: 15px;
        top: 13px;
        padding: 0;
        z-index: 3;
    }
    .bfwt-newsletter-form__elements input[type="email"] {
        width: 100%;
        background: var(--color-background-soft);
        border: 1px solid var(--color-border-light);
        border-radius: var(--border-radius-base);
        text-align: center;
        padding: 15px 15px 15px 45px;
        height: 50px;
        position: relative;
        z-index: 2;
    }
    .bfwt-newsletter-button {
        width: 100%;
        height: 50px;
    }
}