.web-auth-root {
    min-height: 100vh;
    background: linear-gradient(145deg, #f0fdfa 0%, #e0f2fe 45%, #f8fafc 100%);
    font-family: Inter, system-ui, sans-serif;
    color: #0f172a;
}

.shop-mp-root.web-auth-root {
    background: linear-gradient(145deg, #f0fdfa 0%, #e0f2fe 45%, #f8fafc 100%);
}

.shop-mp-root.web-auth-root--register {
    background: linear-gradient(160deg, #ecfdf5 0%, #e0f2fe 40%, #f1f5f9 100%);
}

.shop-mp-root .web-auth-main {
    background: transparent;
}

.shop-mp-root .web-auth-wrap {
    padding-top: 1rem;
}

.shop-mp-root .web-auth-header {
    display: none;
}

.web-auth-root--register {
    background: linear-gradient(160deg, #ecfdf5 0%, #e0f2fe 40%, #f1f5f9 100%);
}

.web-auth-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2.5rem;
}

.web-auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.web-auth-header a:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.web-auth-brand-logo {
  height: 48px;
  width: auto;
  max-width: min(220px, 58vw);
  object-fit: contain;
  display: block;
}

.web-auth-header a { color: #0f766e; text-decoration: none; font-weight: 600; }

/* —— Simetrik iki panel —— */
.web-auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

.web-auth-panel {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 14px 36px rgba(15, 23, 42, 0.09);
    overflow: hidden;
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.28s ease;
}

.web-auth-panel:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 118, 110, 0.28);
    box-shadow:
        0 8px 16px rgba(15, 23, 42, 0.06),
        0 24px 48px rgba(15, 118, 110, 0.14);
}

.web-auth-panel--form:hover {
    border-color: rgba(79, 70, 229, 0.28);
    box-shadow:
        0 8px 16px rgba(15, 23, 42, 0.06),
        0 24px 48px rgba(79, 70, 229, 0.12);
}

.web-auth-panel__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 1.35rem;
    color: #fff;
    flex-shrink: 0;
}

.web-auth-panel__head h1 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.web-auth-panel__head-icon {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    flex-shrink: 0;
}

.web-auth-panel__head--teal {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 55%, #134e4a 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.web-auth-panel__head--bireysel {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #115e59 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.web-auth-panel__head--kurumsal {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.web-auth-panel--info.is-kurumsal:hover {
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow:
        0 8px 16px rgba(15, 23, 42, 0.06),
        0 24px 48px rgba(37, 99, 235, 0.14);
}

.web-auth-panel__body--promo {
    gap: 0;
}

.web-auth-promo {
    display: none;
    flex-direction: column;
    gap: 0.85rem;
    animation: web-auth-promo-in 0.35s ease;
}

.web-auth-promo.active {
    display: flex;
}

@keyframes web-auth-promo-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.web-auth-promo__tagline {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.web-auth-promo--bireysel .web-auth-promo__tagline { color: #0f766e; }
.web-auth-promo--kurumsal .web-auth-promo__tagline { color: #1d4ed8; }

.web-auth-promo__intro {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #64748b;
}

.web-auth-promo__list {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.web-auth-promo__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.72rem 0.85rem;
    border-radius: 12px;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #334155;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.web-auth-promo--bireysel .web-auth-promo__list li {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%);
    border-color: #99f6e4;
}

.web-auth-promo--kurumsal .web-auth-promo__list li {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border-color: #bfdbfe;
}

.web-auth-promo__list li:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.web-auth-promo__list li strong {
    display: block;
    font-weight: 700;
    margin-bottom: 0.12rem;
}

.web-auth-promo--bireysel .web-auth-promo__list li strong { color: #0f766e; }
.web-auth-promo--kurumsal .web-auth-promo__list li strong { color: #1d4ed8; }

.web-auth-promo__icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 1rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.web-auth-promo--bireysel .web-auth-promo__icon { border: 1px solid #99f6e4; }
.web-auth-promo--kurumsal .web-auth-promo__icon { border: 1px solid #bfdbfe; }

.web-auth-tab--bireysel.active {
    background: linear-gradient(135deg, #0f766e, #115e59);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35);
}

.web-auth-tab--kurumsal.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.web-auth-panel__head--indigo {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 55%, #3730a3 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.web-auth-panel__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.4rem 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.web-auth-panel__lead {
    margin: 0 0 1.25rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
}

.web-auth-panel__lead strong {
    color: #0f766e;
    font-weight: 700;
}

.web-auth-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.web-auth-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.45;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.web-auth-panel--info:hover .web-auth-features li:hover {
    background: #ecfdf5;
    border-color: #99f6e4;
    transform: translateX(4px);
}

.web-auth-features__dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 0.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

/* —— Eski tek kart (login vb.) —— */
.web-auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 118, 110, 0.12);
    overflow: hidden;
}

.web-auth-card__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.web-auth-hero {
    padding: 1.5rem 1.75rem;
    background: linear-gradient(160deg, #0f766e, #115e59);
    color: #fff;
}

.web-auth-hero h1 { font-size: 1.6rem; margin: 0 0 0.5rem; }
.web-auth-hero p { opacity: 0.9; line-height: 1.5; margin: 0; font-size: 0.95rem; }

.web-auth-form {
    padding: 1.35rem 1.75rem 1.5rem;
    overflow: visible;
}

/* —— Form elemanları —— */
.web-auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.web-auth-tabs--invoice { margin-bottom: 0.75rem; }

.web-auth-tab {
    flex: 1;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.62rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.84rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.web-auth-tab:hover:not(.active) {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.web-auth-tab.active {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.web-auth-pane { display: none; }
.web-auth-pane.active { display: block; }

.web-auth-field { display: block; margin-bottom: 0.68rem; }

.web-auth-field span {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 0.32rem;
    letter-spacing: 0.01em;
}

.web-auth-field input,
.web-auth-field textarea {
    width: 100%;
    padding: 0.56rem 0.72rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.9rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.web-auth-field input:hover,
.web-auth-field textarea:hover {
    border-color: #94a3b8;
}

.web-auth-field input:focus,
.web-auth-field textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}

.web-auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.web-auth-row--tax { margin-bottom: 0; }

.web-auth-btn {
    width: 100%;
    padding: 0.72rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    margin-top: 0.45rem;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.web-auth-btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.42);
    transform: translateY(-1px);
}

.web-auth-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.web-auth-btn--ghost {
    background: transparent;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    box-shadow: none;
    margin-top: 0.65rem;
}

.web-auth-btn--ghost:hover {
    background: #eef2ff;
    box-shadow: none;
}

.web-auth-btn--link {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    line-height: 2.5;
}

.web-auth-msg {
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    font-size: 0.88rem;
    margin-bottom: 0.85rem;
    display: none;
}

.web-auth-msg.show { display: block; }
.web-auth-msg--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.web-auth-msg--success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

.web-auth-verify {
    text-align: center;
    padding: 0.5rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.web-auth-verify__title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    color: #1e293b;
}

.web-auth-verify__title--success { color: #047857; }

.web-auth-verify__text {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.web-auth-verify input {
    letter-spacing: 8px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    max-width: 200px;
    margin: 0 auto;
}

.web-auth-foot {
    margin-top: auto;
    padding-top: 0.75rem;
    font-size: 0.82rem;
    color: #64748b;
    text-align: center;
}

.web-auth-foot a { color: #4f46e5; font-weight: 600; }

.web-auth-step { display: none; }
.web-auth-step.active { display: block; flex: 1; }

.web-auth-hint {
    margin: -0.3rem 0 0.5rem;
    font-size: 0.76rem;
    color: #64748b;
    line-height: 1.35;
}

@media (max-width: 860px) {
    .web-auth-split,
    .web-auth-card__grid {
        grid-template-columns: 1fr;
    }

    .web-auth-panel {
        min-height: auto;
    }

    .web-auth-panel--info {
        min-height: 0;
    }
}

@media (max-width: 480px) {
    .web-auth-row { grid-template-columns: 1fr; }
}
