/* ══════════════════════════════════════════════════════════════
   AYMON PRO — Masterpiece Fixed Auth UI (v13.0)
   100% Fixed Viewport (No Scroll), Official Store Brand Badge
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-green: #10b981;
    --primary-green-hover: #059669;
    --primary-green-light: #ecfdf5;
    
    --bg-emerald-dark: #047857;
    --bg-light-right: #ffffff;
    
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-color: #cbd5e1;
    --border-color-light: #e2e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'IBM Plex Sans Arabic', 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

html, body {
    width: 100vw;
    height: 100vh;
    overflow: hidden !important;
    background-color: var(--bg-light-right);
}

.auth-split-viewport {
    width: 100vw;
    height: 100vh;
    display: flex;
    direction: rtl;
    overflow: hidden !important;
}

/* ═══════════════════════════════════════════════
   RIGHT SIDE: 100% Fixed Non-Scrollable Form Side
   ═══════════════════════════════════════════════ */
.auth-right-form-side {
    flex: 1.1;
    height: 100vh;
    background: var(--bg-light-right);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 2.5rem;
    position: relative;
    z-index: 10;
    overflow: hidden !important;
}

/* Centered Form Box */
.form-center-box {
    max-width: 490px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    transition: max-width 0.3s ease;
}

.form-center-box.wide-step-box {
    max-width: 980px;
}

/* Official Store Brand Badge (Replaces Checkmark) */
.brand-badge-logo {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.95rem;
    color: #ffffff;
    font-size: 1.8rem;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.35);
}

.form-main-heading {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    letter-spacing: -0.3px;
}

.form-sub-heading {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

/* Alerts */
.alert-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: right;
}

.alert-banner-error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.alert-banner-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; }

/* 2-Column Grid Layout for Perfect Fixed Height */
.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.field-block {
    margin-bottom: 0.95rem;
    text-align: right;
}

.field-lbl {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.35rem;
}

.field-lbl i {
    color: var(--primary-green);
    font-size: 0.78rem;
}

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

.field-input-wrap input {
    width: 100%;
    height: 46px;
    padding: 0 0.85rem 0 2.5rem;
    background: #ffffff !important;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-dark) !important;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.field-input-wrap input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.field-input-wrap input:focus {
    border-color: var(--primary-green) !important;
    box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.16) !important;
    background: #ffffff !important;
}

/* Chrome autofill override fix - Clean White */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #0f172a !important;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    border-color: var(--primary-green) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.field-icon-left {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    transition: color 0.2s;
}

.field-input-wrap input:focus ~ .field-icon-left {
    color: var(--primary-green);
}

.pass-eye-btn {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.95rem;
}

.pass-eye-btn:hover { color: var(--text-dark); }

/* Options Row */
.form-options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.15rem;
    font-size: 0.84rem;
}

.remember-chk {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
}

.remember-chk input { accent-color: var(--primary-green); width: 15px; height: 15px; }

.forgot-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
}

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

/* Main Button */
.btn-submit-green-solid {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px -4px rgba(16, 185, 129, 0.38);
    transition: all 0.25s ease;
}

.btn-submit-green-solid:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -4px rgba(16, 185, 129, 0.48);
}

/* Secondary Action Button */
.secondary-btn-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    margin-top: 0.85rem;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    color: var(--primary-green-hover);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.secondary-btn-switch:hover {
    background: var(--primary-green-light);
    border-color: var(--primary-green);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.12);
}

/* ═══════════════════════════════════════════════
   LEFT SIDE: Technical Grid & Glass Showcase Cards
   ═══════════════════════════════════════════════ */
.auth-left-pro-side {
    flex: 1.15;
    height: 100vh;
    background: linear-gradient(145deg, #047857 0%, #065f46 50%, #064e3b 100%);
    position: relative;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    overflow: hidden !important;
}

.tech-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 38px 38px;
    pointer-events: none;
}

.tech-radial-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 40%, rgba(16, 185, 129, 0.3) 0%, transparent 65%);
    pointer-events: none;
}

.top-row-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5;
    width: 100%;
}

.pro-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.pro-header-badge i { color: #34d399; }

.live-users-pill {
    font-size: 0.82rem;
    font-weight: 700;
    color: #a7f3d0;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-showcase-container {
    position: relative;
    z-index: 5;
    width: 100%;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.glass-hero-banner {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    width: 100%;
}

.hero-banner-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.hero-banner-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.hero-banner-sub {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
}

.hero-badge-tag {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pro-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
}

.pro-feat-item {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 1.2rem;
    border-radius: 18px;
    transition: all 0.3s ease;
}

.pro-feat-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.28);
}

.feat-icon-bubble {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #34d399;
    margin-bottom: 0.75rem;
}

.pro-feat-item h4 {
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.pro-feat-item p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
    margin: 0;
}

.pro-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5;
    width: 100%;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1rem;
}

/* Stepper for Register */
.stepper-wizard-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.1rem;
    direction: ltr;
}

.wizard-node-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
}

.wizard-badge-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    border: 1.5px solid var(--border-color);
}

.wizard-node-item.active .wizard-badge-num {
    background: var(--primary-green);
    color: #ffffff;
    border-color: var(--primary-green);
}

.wizard-node-item.done .wizard-badge-num {
    background: var(--primary-green-light);
    color: var(--primary-green-hover);
    border-color: #a7f3d0;
}

.wizard-line-connector {
    flex: 1;
    height: 2px;
    background: var(--border-color);
}

.wizard-line-connector.done { background: var(--primary-green); }

/* ═══════════════════════════════════════════════
   STEP 3: Premium Plans Cards Grid
   ═══════════════════════════════════════════════ */
.form-center-box.wide-step-box {
    max-width: 1040px;
}

.plans-grid-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
    align-items: stretch;
}

.plan-card-option {
    position: relative;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.75rem 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: right;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    user-select: none;
}

.plan-card-option:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Selected Active State */
.plan-card-option.selected {
    border-color: var(--primary-green) !important;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%) !important;
    box-shadow: 0 16px 36px -6px rgba(16, 185, 129, 0.22) !important;
    transform: translateY(-4px);
    outline: 2px solid rgba(16, 185, 129, 0.3);
}

.plan-card-option input[type="radio"] { display: none; }

/* Radio Check Circle */
.plan-check-dot {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: transparent;
    transition: all 0.25s ease;
    background: #ffffff;
}

.plan-card-option.selected .plan-check-dot {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
    transform: scale(1.1);
}

/* Badges for popular plans */
.popular-badge {
    position: absolute;
    top: -13px;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 3px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    white-space: nowrap;
    z-index: 5;
}

.popular-badge.pro-badge {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

/* Card Header & Price */
.plan-header-block {
    text-align: center;
    margin-bottom: 0.9rem;
}

.plan-opt-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.plan-opt-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.plan-opt-price .price-amount {
    font-size: 1.85rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.plan-card-option.selected .plan-opt-price .price-amount {
    color: #047857;
}

.plan-opt-price .price-unit {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
}

.plan-opt-price .price-unit small {
    font-size: 0.75rem;
    font-weight: 500;
}

.plan-card-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.4rem 0 1rem;
    width: 100%;
}

.plan-card-option.selected .plan-card-divider {
    background: #bbf7d0;
}

/* Features List */
.plan-opt-feats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex-grow: 1;
}

.plan-opt-feats li {
    font-size: 0.86rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    line-height: 1.5;
}

.feat-enabled {
    opacity: 1;
}

.feat-disabled {
    opacity: 0.65;
}

.feat-check-icon {
    color: #10b981;
    font-size: 0.92rem;
    flex-shrink: 0;
}

.feat-cross-icon {
    color: #ef4444;
    font-size: 0.92rem;
    flex-shrink: 0;
}

.disabled-txt {
    text-decoration: line-through;
    color: #94a3b8 !important;
}

.plan-card-option.selected .feat-check-icon {
    color: #059669;
}

/* Large Submit Button */
.btn-hero-submit {
    height: 52px !important;
    font-size: 1.05rem !important;
    border-radius: 14px !important;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .auth-left-pro-side { display: none; }
    .auth-right-form-side { padding: 2rem 1.5rem; overflow-y: auto !important; }
    .form-center-box { max-width: 100%; }
}
