/* assets/css/auth.css - লগইন ও রেজিস্ট্রেশনের ফুল-স্ক্রিন ইউনিফাইড স্টাইল */
:root {
    --bg-page: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --btn-black: #090d16;
    --btn-black-hover: #1e293b;
    --border-color: #e2e8f0;
    --brand-blue: #2563eb;
    --brand-green: #10b981;
    --error-bg: #fef2f2;
    --error-border: #fecaca;
    --error-text: #dc2626;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    min-height: 100vh;
    padding-top: 75px; /* ফিক্সড টপবারের স্পেস */
    padding-bottom: 35px;
    overflow-x: hidden;
}

/* 📌 ১. স্ক্রিনের একদম উপরে ফিক্সড টপ হেডার */
.auth-fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 99999;
}

.auth-nav-pill {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    padding: 7px 14px;
    border-radius: 40px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}
.auth-nav-pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.pill-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* মূল ফর্ম কন্টেইনার */
.auth-main-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 10px 18px 25px;
    animation: smoothFadeIn 0.4s ease-out;
}

@keyframes smoothFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* লোগো এরিয়া (কোনো চারকোনা ফ্রেম ছাড়া ওপেন) */
.brand-name-logo-wrap {
    text-align: center;
    margin-bottom: 16px;
}
.brand-logo-img {
    max-width: 230px;
    height: 50px;
    object-fit: contain;
    display: inline-block;
}

/* শিরোনাম */
.auth-title-area {
    text-align: center;
    margin-bottom: 22px;
}
.auth-main-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.auth-subtitle {
    font-size: 13.5px;
    color: var(--text-secondary);
}

/* স্পনসর/আমন্ত্রণকারী পার্টনার কার্ড */
.sponsor-card-box {
    background: #ffffff;
    border: 1.5px solid #bfdbfe;
    border-radius: 16px;
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.05);
}
.sponsor-avatar-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: contain;
}
.sponsor-badge-verified {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    margin-left: auto;
}

/* ইনপুট ফিল্ড ও পিকচার আইকন */
.form-group-field {
    margin-bottom: 16px;
}
.field-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

/* আসল রঙিন পিকচার আইকন */
.input-picture-icon {
    position: absolute;
    left: 14px;
    width: 22px;
    height: 22px;
    object-fit: contain;
    pointer-events: none;
    z-index: 2;
}

.clean-input {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 13px 14px 13px 46px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-primary);
    outline: none;
    transition: all 0.2s ease;
}
.clean-input:focus {
    border-color: var(--btn-black);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

/* পাসওয়ার্ডের চোখ টগল */
.eye-switch-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
.eye-picture-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.eye-switch-btn:hover .eye-picture-icon {
    opacity: 1;
}

/* পাসওয়ার্ড স্ট্রেন্থ বার */
.password-meter-wrap {
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 6px;
}
.password-meter-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
}
.password-strength-hint {
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
    display: block;
}

/* চেকবক্স শর্তাবলী */
.terms-checkbox-wrap {
    margin: 16px 0 18px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.terms-checkbox-wrap input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    accent-color: var(--btn-black);
    cursor: pointer;
}

/* জেট ব্ল্যাক সাবমিট বাটন */
.btn-login-submit {
    width: 100%;
    background: var(--btn-black);
    color: #ffffff !important;
    border: none;
    border-radius: 40px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}
.btn-login-submit:hover {
    background: var(--btn-black-hover);
    transform: translateY(-2px);
}
.btn-submit-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* এরর মেসেজ বক্স */
.auth-error-alert {
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    color: var(--error-text);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* নিচের লগইন লিংক ও সিকিউরিটি */
.auth-bottom-nav {
    text-align: center;
    margin-top: 22px;
    font-size: 13.5px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
}
.auth-register-link {
    color: var(--brand-blue);
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}

.ssl-secure-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-top: 22px;
}
.ssl-icon-img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}