<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
      data-namespace-typo3-fluid="true">

<div style="padding: 15px; background: #f8f9fa; border-radius: 8px;">
    <f:variable name="authType" value="{data.tx_testproject_auth_type -> f:format.trim()}" />
    <f:variable name="authType"><f:if condition="{authType}"><f:then>{authType}</f:then><f:else>login</f:else></f:if></f:variable>

    <div style="margin-bottom: 10px;">
        <strong style="color: #333;">🔐 Kimlik Doğrulama Kartı</strong>
    </div>

    <div style="font-size: 12px; color: #666;">
        <f:switch expression="{authType}">
            <f:case value="login">
                <div>📝 <strong>Tür:</strong> Giriş Sayfası</div>
                <div>✅ Beni Hatırla: <f:if condition="{data.tx_testproject_auth_show_remember_me}">Aktif</f:if><f:else>Pasif</f:else></f:if></div>
                <div>🔗 Şifre Sıfırla: <f:if condition="{data.tx_testproject_auth_show_forgot_password}">Aktif</f:if><f:else>Pasif</f:else></f:if></div>
                <div>📌 Kayıt Linki: <f:if condition="{data.tx_testproject_auth_show_register_link}">Aktif</f:if><f:else>Pasif</f:else></f:if></div>
            </f:case>
            <f:case value="register">
                <div>📝 <strong>Tür:</strong> Kayıt Sayfası</div>
                <div style="margin-top: 8px; padding-top: 8px; border-top: 1px solid #ddd;">
                    <strong>Alanlar:</strong>
                    <ul style="margin: 5px 0 0 15px; padding: 0;">
                        <li>Ad / Soyad</li>
                        <li>E-posta</li>
                        <li>Şifre (güç göstermesi)</li>
                        <li>Hizmet Şartları Onayı</li>
                    </ul>
                </div>
            </f:case>
            <f:case value="password_reset">
                <div>📝 <strong>Tür:</strong> Şifre Sıfırlama</div>
                <div style="margin-top: 8px; color: #0066cc; font-style: italic;">
                    E-posta adresi al → Sıfırlama bağlantısı gönder
                </div>
            </f:case>
        </f:switch>
    </div>

    <f:if condition="{data.tx_testproject_auth_heading}">
        <div style="margin-top: 10px; padding-top: 10px; border-top: 1px solid #ddd; font-weight: 500;">
            <strong>Başlık:</strong> {data.tx_testproject_auth_heading}
        </div>
    </f:if>

    <f:if condition="{data.tx_testproject_auth_custom_class}">
        <div style="margin-top: 8px; font-size: 11px; color: #999;">
            <strong>CSS Sınıf:</strong> <code style="background: #fff; padding: 2px 4px; border-radius: 3px;">{data.tx_testproject_auth_custom_class}</code>
        </div>
    </f:if>
</div>

</html>
