/* ------------------------------------------------------------------ */
/*  Hsynfit Tarif – Kayıt Formu Stilleri                              */
/*  Tüm kurallar #hsynfit-wrap altında: tema (Hello Elementor          */
/*  reset.css vb.) bu dosyadan sonra yüklense bile tasarım bozulmaz.   */
/* ------------------------------------------------------------------ */

#hsynfit-wrap,
#hsynfit-wrap *,
#hsynfit-wrap *::before,
#hsynfit-wrap *::after { box-sizing: border-box; }

/* Sayfa zemini (sadece kayıt sayfası — body sınıfı eklenti tarafından eklenir) */
body.hsynfit-register-page {
    background: #09090b;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
}
/* Temanın tekrar eden "Kayıt Ol" sayfa başlığı (form kendi başlığını içerir) */
body.hsynfit-register-page .page-header,
body.hsynfit-register-page .hentry > h1:not(.hsynfit-title),
body.hsynfit-register-page .entry-title { display: none; }

/* Wrapper */
#hsynfit-wrap {
    max-width: 460px;
    margin: 60px auto 80px;
    padding: 0 16px;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Logo */
#hsynfit-wrap .hsynfit-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
}
#hsynfit-wrap .hsynfit-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f26303;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    color: #000;
}
#hsynfit-wrap .hsynfit-logo span {
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}

/* Başlık */
#hsynfit-wrap .hsynfit-title {
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 10px;
    color: #fff;
    white-space: normal;
}
#hsynfit-wrap .hsynfit-accent { color: #f26303; }
#hsynfit-wrap .hsynfit-subtitle {
    color: #a1a1aa;
    font-size: 0.95rem;
    margin: 0 0 28px;
    line-height: 1.5;
}

/* Tabs */
#hsynfit-wrap .hsynfit-tabs {
    display: flex;
    gap: 0;
    background: #18181b;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 24px;
    border: 1px solid #3f3f46;
}
#hsynfit-wrap .hsynfit-tab {
    flex: 1;
    width: auto;
    padding: 12px 10px;
    border: 2px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #71717a;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.02em;
    box-shadow: none;
}
#hsynfit-wrap .hsynfit-tab:hover:not(.active),
#hsynfit-wrap .hsynfit-tab:focus:not(.active) {
    color: #d4d4d8;
    background: #27272a;
}
#hsynfit-wrap .hsynfit-tab.active,
#hsynfit-wrap .hsynfit-tab.active:hover,
#hsynfit-wrap .hsynfit-tab.active:focus {
    background: #f26303;
    color: #000;
    border-color: #f26303;
    box-shadow: 0 2px 16px rgba(242,99,3,0.5);
    font-weight: 800;
}

/* Mesaj */
#hsynfit-wrap .hsynfit-msg {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
}
#hsynfit-wrap .hsynfit-msg--error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #fca5a5;
}
#hsynfit-wrap .hsynfit-msg--success {
    background: rgba(242,99,3,0.1);
    border: 1px solid rgba(242,99,3,0.3);
    color: #fdba74;
}

/* Form dinamik başlık */
#hsynfit-wrap .hsynfit-form-heading {
    margin-bottom: 18px;
}
#hsynfit-wrap #hsynfit-form-title {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.03em;
    border-left: 3px solid #f26303;
    padding-left: 10px;
    display: block;
}

/* Form alanları */
#hsynfit-wrap .hsynfit-field {
    margin-bottom: 18px;
}
#hsynfit-wrap .hsynfit-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: #d4d4d8;
    margin-bottom: 8px;
}
#hsynfit-wrap .hsynfit-field input[type="email"],
#hsynfit-wrap .hsynfit-field input[type="password"],
#hsynfit-wrap .hsynfit-field input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    background: #18181b;
    border: 1px solid #3f3f46;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-family: inherit;
}
#hsynfit-wrap .hsynfit-field input:focus {
    border-color: #f26303;
    box-shadow: 0 0 0 3px rgba(242,99,3,0.15);
}
#hsynfit-wrap .hsynfit-field input::placeholder { color: #a1a1aa; }

/* Şifre wrapper */
#hsynfit-wrap .hsynfit-pw-wrap {
    position: relative;
}
#hsynfit-wrap .hsynfit-pw-wrap input {
    padding-right: 50px;
}
#hsynfit-wrap .hsynfit-pw-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    color: #71717a;
    padding: 0;
    display: flex;
    align-items: center;
}
#hsynfit-wrap .hsynfit-pw-toggle svg {
    width: 20px;
    height: 20px;
}
#hsynfit-wrap .hsynfit-pw-toggle:hover,
#hsynfit-wrap .hsynfit-pw-toggle:focus {
    color: #f26303;
    background: none;
}

#hsynfit-wrap .hsynfit-hint {
    display: block;
    font-size: 0.82rem;
    color: #a1a1aa;
    margin-top: 6px;
    font-weight: 500;
}

/* Submit button */
#hsynfit-wrap .hsynfit-btn {
    width: 100%;
    padding: 16px;
    background: #f26303 !important;
    background-image: none !important;
    color: #000 !important;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.5;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: normal;
    transition: all 0.3s;
    box-shadow: 0 0 24px rgba(242,99,3,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}
#hsynfit-wrap .hsynfit-btn:hover:not(:disabled),
#hsynfit-wrap .hsynfit-btn:focus:not(:disabled) {
    background: #e05800 !important;
    background-image: none !important;
    box-shadow: 0 0 36px rgba(242,99,3,0.7);
    transform: translateY(-1px);
}
#hsynfit-wrap .hsynfit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
#hsynfit-wrap .hsynfit-btn #hsynfit-spinner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
#hsynfit-wrap .hsynfit-btn svg { width: 18px; height: 18px; }

/* Spin animasyonu */
@keyframes hsynfit-spin { to { transform: rotate(360deg); } }
#hsynfit-wrap .spin { animation: hsynfit-spin 0.8s linear infinite; }

/* Güven rozetleri */
#hsynfit-wrap .hsynfit-trust {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 18px;
    font-size: 0.78rem;
    color: #52525b;
}

/* Önemli Not */
#hsynfit-wrap .hsynfit-notice {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(242,99,3,0.07);
    border: 1px solid rgba(242,99,3,0.25);
    border-left: 3px solid #f26303;
    border-radius: 12px;
    padding: 16px 18px;
    margin-top: 20px;
}
#hsynfit-wrap .hsynfit-notice-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}
#hsynfit-wrap .hsynfit-notice-title {
    font-weight: 800;
    font-size: 0.85rem;
    color: #f26303;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 6px !important;
}
#hsynfit-wrap .hsynfit-notice-text {
    font-size: 0.83rem;
    color: #a1a1aa;
    line-height: 1.65;
    margin: 0 !important;
}
#hsynfit-wrap .hsynfit-notice-text strong {
    color: #e4e4e7;
    font-weight: 700;
}

/* Ürün kartı */
#hsynfit-wrap .hsynfit-product-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 14px;
    padding: 16px 20px;
    margin-top: 28px;
    gap: 12px;
}
#hsynfit-wrap .hsynfit-product-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    margin: 0 0 4px;
}
#hsynfit-wrap .hsynfit-product-desc {
    font-size: 0.78rem;
    color: #71717a;
    margin: 0;
}
#hsynfit-wrap .hsynfit-product-price {
    text-align: right;
    flex-shrink: 0;
}
#hsynfit-wrap .old-price {
    display: block;
    text-decoration: line-through;
    color: #52525b;
    font-size: 0.85rem;
}
#hsynfit-wrap .new-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: #f26303;
}

/* WordPress varsayılan stilleri sıfırla */
#hsynfit-wrap h1,
#hsynfit-wrap h2 { margin: 0; }
#hsynfit-wrap p { margin: 0; }
#hsynfit-wrap a { color: #f26303; }

/* Responsive */
@media (max-width: 480px) {
    #hsynfit-wrap { margin-top: 32px; }
    #hsynfit-wrap .hsynfit-title { font-size: 1.6rem; }
    #hsynfit-wrap .hsynfit-trust { gap: 10px; }
}
