/**
 * Geliştirici: Vedat Ardil - www.vedatardil.com.tr
 */
body.auth-guest-page {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #fff;
    min-height: 100vh;
    margin: 0;
}

.auth-guest-page .auth-shell {
    display: flex;
    min-height: 100vh;
}

.auth-guest-page .auth-shell-promo {
    flex: 1 1 50%;
    background: linear-gradient(145deg, #eef4ff 0%, #e8f0fe 35%, #f0f4ff 70%, #faf5ff 100%);
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.auth-guest-page .auth-shell-form-wrap {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 2.5rem;
    background: #fff;
}

.auth-guest-page .auth-shell-form-inner {
    width: 100%;
    max-width: 420px;
}

.auth-guest-page .auth-shell-form-inner.auth-shell-form-wide {
    max-width: 520px;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    text-decoration: none;
    color: inherit;
}

.auth-brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    flex-shrink: 0;
    overflow: hidden;
}

.auth-brand-icon .app-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-brand-text strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.auth-brand-text span {
    font-size: 0.8rem;
    color: #6b7280;
}

.auth-promo-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.auth-promo-desc {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 28rem;
    margin-bottom: 2rem;
}

.auth-preview-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.auth-preview-card h3 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 1rem;
}

.auth-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.auth-stat-box {
    background: #f9fafb;
    border-radius: 12px;
    padding: 0.75rem;
}

.auth-stat-box.highlight {
    background: #eef2ff;
}

.auth-stat-label {
    font-size: 0.7rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.auth-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.auth-stat-trend {
    font-size: 0.7rem;
    font-weight: 600;
}

.auth-stat-trend.up { color: #059669; }
.auth-stat-trend.down { color: #dc2626; }

.auth-tx-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-tx-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.auth-tx-list li:last-child { border-bottom: none; }

.auth-tx-name { font-weight: 600; font-size: 0.9rem; color: #111827; }
.auth-tx-sub { font-size: 0.75rem; color: #9ca3af; }
.auth-tx-amount { font-weight: 700; font-size: 0.9rem; }
.auth-tx-amount.positive { color: #059669; }
.auth-tx-amount.negative { color: #dc2626; }

.auth-steps-card .auth-step {
    display: flex;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.auth-steps-card .auth-step:last-child { border-bottom: none; }

.auth-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-step h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.2rem;
    color: #111827;
}

.auth-step p {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

.auth-mini-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    margin-top: auto;
}

.auth-mini-card i { color: #4f46e5; font-size: 1.25rem; }
.auth-mini-card strong { display: block; font-size: 0.9rem; color: #111827; }
.auth-mini-card span { font-size: 0.8rem; color: #6b7280; }

.auth-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.35rem;
}

.auth-form-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

.auth-guest-page .form-control,
.auth-guest-page .form-select {
    background: #f3f4f6;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.auth-guest-page .form-control:focus {
    background: #fff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap .form-control {
    padding-right: 2.75rem;
}

.auth-pw-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #9ca3af;
    padding: 0.25rem;
    cursor: pointer;
}

.auth-pw-toggle:hover { color: #4f46e5; }

.auth-section-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 500;
}

.auth-section-divider::before,
.auth-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.btn-auth-primary {
    background: #4f46e5;
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    width: 100%;
    font-size: 1rem;
    transition: background 0.2s;
}

.btn-auth-primary:hover {
    background: #4338ca;
    color: #fff;
}

.auth-link {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover { color: #4338ca; }

.auth-form-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.auth-copyright {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

.auth-copyright a {
    color: #9ca3af;
    text-decoration: none;
}

.auth-copyright a:hover { color: #4f46e5; }

.auth-flash-wrap {
    max-width: 520px;
    width: 100%;
    margin: 0 auto 1rem;
}

.auth-guest-page .form-check-input:checked {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

/* Operasyon nabzı — sipariş & depo paneli */
.auth-ops-panel {
    border: 1px solid rgba(79, 70, 229, 0.12);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.auth-ops-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.auth-ops-panel-head h3 {
    margin: 0;
}

.auth-ops-live {
    font-size: 0.65rem;
    font-weight: 600;
    color: #059669;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #ecfdf5;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.auth-ops-live i {
    font-size: 0.35rem;
    animation: auth-pulse 2s ease-in-out infinite;
}

@keyframes auth-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.auth-ops-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.auth-ops-tile {
    display: flex;
    gap: 0.65rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
}

.auth-ops-tile--wide {
    grid-column: 1 / -1;
}

.auth-ops-tile-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.auth-ops-tile--orders .auth-ops-tile-icon { background: #eef2ff; color: #4f46e5; }
.auth-ops-tile--pick .auth-ops-tile-icon { background: #fff7ed; color: #ea580c; }
.auth-ops-tile--ship .auth-ops-tile-icon { background: #ecfdf5; color: #059669; }
.auth-ops-tile--stock .auth-ops-tile-icon { background: #fef3c7; color: #d97706; }

.auth-ops-tile-body {
    flex: 1;
    min-width: 0;
}

.auth-ops-tile-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
    margin-bottom: 0.15rem;
}

.auth-ops-tile-value {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.1;
}

.auth-ops-tile-value--sm {
    font-size: 1rem;
    flex-shrink: 0;
}

.auth-ops-tile-meta {
    display: block;
    font-size: 0.68rem;
    color: #6b7280;
    margin-top: 0.2rem;
}

.auth-ops-tile-meta.up { color: #059669; font-weight: 600; }
.auth-ops-tile-meta.warn { color: #d97706; font-weight: 600; }

.auth-ops-progress-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem 0;
}

.auth-ops-progress {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.auth-ops-progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b 0%, #ea580c 100%);
}

.auth-ops-feed-tag {
    font-size: 0.65rem;
    font-weight: 500;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

.auth-feed-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-feed-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.auth-feed-item:last-child { border-bottom: none; padding-bottom: 0; }

.auth-feed-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.25rem 0.45rem;
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.auth-feed-badge--order { background: #eef2ff; color: #4f46e5; }
.auth-feed-badge--move { background: #ecfeff; color: #0891b2; }
.auth-feed-badge--alert { background: #fef3c7; color: #b45309; }

.auth-feed-content {
    flex: 1;
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.4;
}

.auth-feed-content strong {
    color: #111827;
    font-weight: 600;
}

.auth-feed-content span {
    display: block;
    font-size: 0.72rem;
    color: #9ca3af;
    margin-top: 0.15rem;
}

.auth-feed-panel .auth-ops-panel-head {
    margin-bottom: 0.75rem;
}

.auth-trial-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #eef2ff 100%);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: #374151;
}

.auth-trial-badge i {
    color: #059669;
    font-size: 1.1rem;
}

.auth-trial-notice {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    color: #9a3412;
}

.auth-trial-expired-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fef3c7;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.trial-usage-bar {
    margin: 0 1rem 0.75rem;
    padding: 0.55rem 1rem;
    background: #eef2ff;
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #4338ca;
}

.trial-usage-bar--urgent {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

@media (max-width: 991.98px) {
    .auth-guest-page .auth-shell {
        flex-direction: column;
    }

    .auth-guest-page .auth-shell-promo {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .auth-guest-page .auth-shell-form-wrap {
        padding: 2rem 1.5rem 3rem;
    }

    .auth-preview-card.auth-preview-hide-mobile {
        display: none;
    }
}

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

    .auth-ops-grid {
        grid-template-columns: 1fr;
    }

    .auth-ops-tile--wide {
        grid-column: auto;
    }
}
