/* ============================================================
   SHAKKHO AUTH LAYOUT — login.php / registration.php
   ============================================================ */

body { margin: 0; padding: 0; }

/* ---- Outer wrapper ---- */
.shakkho-auth-layout {
    display: flex;
    min-height: 100vh;
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
}

/* ================================================================
   LEFT PANEL
   ================================================================ */
.shakkho-auth-left {
    flex: 0 0 72%;
    background: linear-gradient(150deg, #053b2f 0%, #0d5c3f 45%, #0a4532 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 72px 32px;
    overflow: hidden;
    min-height: 100vh;
}

/* Background decorative rings */
.shakkho-auth-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.05);
    pointer-events: none;
}
.shakkho-auth-ring-1 {
    width: 660px; height: 660px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.shakkho-auth-ring-2 {
    width: 500px; height: 500px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

/* Logo */
.shakkho-auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}
.shakkho-auth-logo img {
    width: 40px; height: 40px;
    object-fit: contain;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 6px;
}
.shakkho-auth-logo-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}
.shakkho-auth-logo-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    line-height: 1;
}

/* Center body */
.shakkho-auth-left-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 0 16px;
    position: relative;
    z-index: 1;
}

/* Illustration */
.shakkho-auth-illus {
    width: 100%;
    max-width: 360px;
    margin-bottom: 30px;
}
.shakkho-auth-illus svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Title / subtitle */
.shakkho-auth-left-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}
.shakkho-auth-left-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
    max-width: 480px;
    line-height: 1.7;
}

/* Stats grid (login) */
.shakkho-auth-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 420px;
}
.shakkho-auth-stat {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 16px 20px;
    text-align: left;
}
.shakkho-auth-stat-num {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.shakkho-auth-stat-lbl {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* Feature list (registration) */
.shakkho-auth-features {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}
.shakkho-auth-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: rgba(255,255,255,0.88);
    font-size: 14px;
}
.shakkho-auth-feature-icon {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #6ee7b7;
    font-size: 13px;
    flex-shrink: 0;
}

/* Bottom copyright */
.shakkho-auth-left-foot {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    text-align: center;
    position: relative;
    z-index: 1;
    padding-top: 12px;
}

/* ================================================================
   RIGHT PANEL
   ================================================================ */
.shakkho-auth-right {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    overflow-y: auto;
}
.shakkho-auth-right-inner {
    width: 100%;
    max-width: 370px;
}

/* Badge */
.shakkho-auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #e8f7f0;
    color: #198754;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}
.shakkho-auth-badge-dot {
    width: 7px; height: 7px;
    background: #198754;
    border-radius: 50%;
    display: inline-block;
}

/* Form title */
.shakkho-auth-form-title {
    font-size: 28px;
    font-weight: 700;
    color: #0d3d2b;
    margin-bottom: 5px;
    line-height: 1.2;
}
.shakkho-auth-form-sub {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 22px;
    line-height: 1.5;
}

/* ---- Login Tabs ---- */
.shakkho-auth-tabs-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 22px;
}
.shakkho-auth-tab {
    border: none;
    background: transparent;
    border-radius: 7px;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Hind Siliguri', sans-serif;
}
.shakkho-auth-tab.active {
    background: #fff;
    color: #0d3d2b;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Tab pane visibility */
.shakkho-auth-tab-pane { display: none; }
.shakkho-auth-tab-pane.active { display: block; }

/* ---- Form Fields ---- */
.shakkho-auth-field {
    margin-bottom: 15px;
}
.shakkho-auth-field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.shakkho-auth-field-label .req {
    color: #ef4444;
    margin-left: 2px;
}

/* Input with left icon */
.shakkho-auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.shakkho-auth-input-icon {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}
.shakkho-auth-input-right {
    position: absolute;
    right: 12px;
    color: #9ca3af;
    font-size: 14px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    z-index: 1;
}
.shakkho-auth-input {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 14px 12px 40px;
    font-size: 14px;
    color: #111827;
    background: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: 'Hind Siliguri', sans-serif;
    outline: none;
    box-sizing: border-box;
}
.shakkho-auth-input:focus {
    border-color: #198754;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(25,135,84,0.1);
}
.shakkho-auth-input.no-icon { padding-left: 14px; }
.shakkho-auth-input.has-right { padding-right: 42px; }

/* Input hint text */
.shakkho-auth-hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Phone number input with flag prefix */
.shakkho-phone-wrap {
    display: flex;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.shakkho-phone-wrap:focus-within {
    border-color: #198754;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(25,135,84,0.1);
}
.shakkho-phone-prefix {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border-right: 1.5px solid #e5e7eb;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    flex-shrink: 0;
}
.shakkho-phone-prefix img {
    width: 20px; height: 14px;
    object-fit: cover;
    border-radius: 2px;
}
.shakkho-phone-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 14px;
    font-size: 14px;
    color: #111827;
    font-family: 'Hind Siliguri', sans-serif;
    outline: none;
    min-width: 0;
}

/* Remember me row */
.shakkho-auth-remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.shakkho-auth-remember-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
}
.shakkho-auth-remember-left input[type="checkbox"] {
    width: 15px; height: 15px;
    accent-color: #198754;
    cursor: pointer;
    flex-shrink: 0;
}
.shakkho-auth-forgot {
    font-size: 13px;
    color: #198754;
    font-weight: 600;
    text-decoration: none;
}
.shakkho-auth-forgot:hover { color: #0d5c3f; text-decoration: underline; }

/* Primary submit button */
.shakkho-auth-btn {
    width: 100%;
    background: #198754;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-family: 'Hind Siliguri', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    text-decoration: none;
    line-height: 1.4;
}
.shakkho-auth-btn:hover { background: #146c43; color: #fff; }
.shakkho-auth-btn:active { transform: scale(0.99); }

/* No-account + registration link */
.shakkho-auth-no-acc {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 5px;
}
.shakkho-auth-reg-link {
    display: block;
    text-align: center;
    color: #198754;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 24px;
}
.shakkho-auth-reg-link:hover { color: #0d5c3f; text-decoration: underline; }

/* Trust badges */
.shakkho-auth-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid #f3f4f6;
    flex-wrap: wrap;
}
.shakkho-auth-trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #9ca3af;
}
.shakkho-auth-trust-item i {
    color: #6ee7b7;
    font-size: 13px;
}

/* ================================================================
   REGISTRATION — STEP INDICATOR
   ================================================================ */
.shakkho-reg-steps {
    display: flex;
    align-items: center;
    margin-bottom: 26px;
}
.shakkho-reg-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.shakkho-reg-connector {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin: 0 4px;
    margin-bottom: 22px;
    transition: background 0.3s;
    border-radius: 1px;
}
.shakkho-reg-connector.done { background: #198754; }
.shakkho-reg-step-circle {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #9ca3af;
    margin-bottom: 5px;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    font-family: 'Hind Siliguri', sans-serif;
}
.shakkho-reg-step-item.active .shakkho-reg-step-circle {
    background: #198754;
    border-color: #198754;
    color: #fff;
}
.shakkho-reg-step-item.done .shakkho-reg-step-circle {
    background: #198754;
    border-color: #198754;
    color: #fff;
    font-size: 12px;
}
.shakkho-reg-step-label {
    font-size: 11px;
    color: #9ca3af;
    text-align: center;
    white-space: nowrap;
    font-family: 'Hind Siliguri', sans-serif;
}
.shakkho-reg-step-item.active .shakkho-reg-step-label,
.shakkho-reg-step-item.done .shakkho-reg-step-label {
    color: #198754;
    font-weight: 600;
}

/* Step pane visibility */
.shakkho-reg-step-pane { display: none; }
.shakkho-reg-step-pane.active { display: block; }

/* Back link */
.shakkho-reg-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #6b7280;
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 12px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: 'Hind Siliguri', sans-serif;
}
.shakkho-reg-back:hover { color: #0d3d2b; }

/* Terms checkbox */
.shakkho-auth-terms {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #374151;
    margin-bottom: 18px;
    line-height: 1.4;
    white-space: nowrap;
}
.shakkho-auth-terms span {
    white-space: nowrap;
}
.shakkho-auth-terms input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: #198754;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}
.shakkho-auth-terms a {
    color: #198754;
    font-weight: 600;
    text-decoration: none;
}
.shakkho-auth-terms a:hover { text-decoration: underline; }

/* OTP boxes */
.shakkho-otp-group {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}
.shakkho-otp-box {
    width: 48px; height: 52px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #0d3d2b;
    text-align: center;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Hind Siliguri', sans-serif;
    caret-color: #198754;
}
.shakkho-otp-box:focus {
    border-color: #198754;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(25,135,84,0.1);
}

/* OTP meta (timer + resend) */
.shakkho-otp-meta {
    text-align: center;
    margin-bottom: 20px;
}
.shakkho-otp-timer {
    font-size: 13px;
    color: #374151;
    margin-bottom: 6px;
}
.shakkho-otp-timer span { font-weight: 700; color: #198754; }
.shakkho-otp-resend {
    font-size: 13px;
    color: #198754;
    cursor: pointer;
    text-decoration: underline;
    background: none;
    border: none;
    font-family: 'Hind Siliguri', sans-serif;
    padding: 0;
}
.shakkho-otp-resend:disabled { color: #9ca3af; text-decoration: none; cursor: default; }

/* Password strength */
.shakkho-pass-strength {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 5px;
}
.shakkho-pass-strength.weak   { color: #ef4444; }
.shakkho-pass-strength.medium { color: #f59e0b; }
.shakkho-pass-strength.strong { color: #198754; }

/* Success screen */
.shakkho-auth-success {
    text-align: center;
    padding: 12px 0;
}
.shakkho-auth-success-icon {
    width: 80px; height: 80px;
    background: #e8f7f0;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
}
.shakkho-auth-success-icon i {
    font-size: 34px;
    color: #198754;
}
.shakkho-auth-success-title {
    font-size: 22px;
    font-weight: 700;
    color: #0d3d2b;
    margin-bottom: 10px;
}
.shakkho-auth-success-msg {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 26px;
    line-height: 1.65;
}
.shakkho-auth-login-link {
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
    margin-top: 12px;
}
.shakkho-auth-login-link a { color: #198754; font-weight: 600; text-decoration: none; }
.shakkho-auth-login-link a:hover { text-decoration: underline; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
    .shakkho-auth-left { flex: 0 0 62%; padding: 32px 48px; }
    .shakkho-auth-left-title { font-size: 22px; }
}
@media (max-width: 900px) {
    .shakkho-auth-left { flex: 0 0 55%; padding: 28px 36px; }
    .shakkho-auth-illus { max-width: 280px; }
    .shakkho-auth-right { padding: 36px 28px; }
}
@media (max-width: 768px) {
    .shakkho-auth-layout { flex-direction: column; }
    .shakkho-auth-left { flex: none; min-height: auto; padding: 28px 24px; }
    .shakkho-auth-illus { max-width: 220px; margin-bottom: 18px; }
    .shakkho-auth-left-title { font-size: 20px; }
    .shakkho-auth-left-sub { font-size: 13px; margin-bottom: 18px; }
    .shakkho-auth-stats { max-width: 100%; }
    .shakkho-auth-right { padding: 32px 20px; }
    .shakkho-auth-right-inner { max-width: 100%; }
}
@media (max-width: 400px) {
    .shakkho-auth-left { padding: 20px 16px; }
    .shakkho-auth-form-title { font-size: 24px; }
    .shakkho-otp-box { width: 40px; height: 46px; font-size: 18px; }
    .shakkho-otp-group { gap: 6px; }
}
