/* ========================================================
   CV PORTAL MODERN STYLING (MATCHED TO LOGIN PAGE)
======================================================== */

.cv-page-wrapper {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: #f8fafc;
}

.cv-card-container {
    width: 100%;
    max-width: 1060px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    display: flex;
    overflow: hidden;
    border: 1px solid #eef2f6;
    min-height: 640px;
}

/* ==================== বাম পাশ (DARK BLUE / PURPLE GRADIENT) ==================== */
.cv-card-left {
    flex: 1;
    position: relative;
    background: linear-gradient(145deg, #0f384a 0%, #1a237e 45%, #512da8 100%);
    padding: 45px 40px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* ব্যাকগ্রাউন্ড সার্কেল এফেক্ট */
.cv-card-left::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: 20%;
    right: -130px;
    pointer-events: none;
}

.cv-card-left::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: 10%;
    right: -200px;
    pointer-events: none;
}

/* পিল ট্যাগ */
.card-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    width: fit-content;
    position: relative;
    z-index: 2;
}

.pill-dot {
    width: 7px;
    height: 7px;
    background-color: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 8px #34d399;
}

/* হিরো টেক্সট */
.left-main-content {
    position: relative;
    z-index: 2;
    margin: 30px 0;
}

.hero-headline {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-headline span {
    color: #4ade80;
    background: linear-gradient(90deg, #4ade80, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 30px;
}

/* ফিচার আইটেম */
.feature-pills {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.f-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #f1f5f9;
}

.f-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #38bdf8;
    flex-shrink: 0;
}

/* বাম ফুটার */
.left-footer {
    position: relative;
    z-index: 2;
}

.brand-copy {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.brand-tagline {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
}

/* ==================== ডান পাশ (FORM & CARDS) ==================== */
.cv-card-right {
    flex: 1.15;
    padding: 45px 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.badge-sub {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #4f46e5;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 6px;
}

.right-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 6px;
}

.right-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 18px;
}

/* ট্যাব বাটন */
.portal-tab-switch {
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
    display: flex;
    margin-bottom: 20px;
    max-width: 260px;
}

.tab-pill {
    flex: 1;
    text-align: center;
    padding: 7px 0;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #64748b;
    border-radius: 7px;
    transition: all 0.2s ease;
}

.tab-pill.active {
    background: #ffffff;
    color: #4338ca;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* অপশন কার্ডসমূহ */
.category-cards-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-card:hover {
    transform: translateY(-2px);
    border-color: #6366f1;
    box-shadow: 0 10px 22px rgba(99, 102, 241, 0.1);
}

.cat-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: 0.2s;
}

.cat-blue .cat-icon-box { background: #eff6ff; color: #2563eb; }
.cat-purple .cat-icon-box { background: #faf5ff; color: #7c3aed; }
.cat-cyan .cat-icon-box { background: #ecfeff; color: #0891b2; }

.cat-card:hover .cat-icon-box {
    transform: scale(1.05);
}

.cat-info {
    flex: 1;
}

.cat-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cat-title-row h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.action-arrow {
    font-size: 13px;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.cat-card:hover .action-arrow {
    transform: translateX(4px);
    color: #4f46e5;
}

.cat-info p {
    font-size: 12px;
    color: #64748b;
    margin: 3px 0 0 0;
    line-height: 1.35;
}

/* ডিভাইডার */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 18px 0 12px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    position: relative;
    background: #ffffff;
    padding: 0 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #94a3b8;
}

/* এমপ্লয়ার লিঙ্ক */
.employer-cta-box {
    text-align: center;
    font-size: 13px;
    color: #475569;
}

.employer-cta-box a {
    color: #4f46e5;
    font-weight: 700;
    text-decoration: none;
}

.employer-cta-box a:hover {
    text-decoration: underline;
}

/* সিকিউরিটি ব্যাজ */
.secure-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #059669;
    margin-top: 14px;
    font-weight: 500;
}

/* মোবাইল ও ট্যাবলেট রেসপনসিভ */
@media (max-width: 960px) {
    .cv-card-container {
        flex-direction: column;
        border-radius: 20px;
    }
    .cv-card-left {
        padding: 35px 24px;
    }
    .cv-card-right {
        padding: 35px 24px;
    }
    .hero-headline {
        font-size: 26px;
    }
}


/* বাইলিঙ্গুয়াল টাইটেল স্টাইলিং */
.bilingual-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.bilingual-title h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.bilingual-title .bn-title {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.85;
}

/* ================= থিম ১: রয়েল ব্লু (General Professional) ================= */
.theme-blue {
    border-left: 4px solid #2563eb;
    background: #ffffff;
}
.theme-blue .cat-icon-box {
    background: #eff6ff;
    color: #2563eb;
}
.theme-blue h3 {
    color: #1e3a8a;
}
.theme-blue .bn-title {
    color: #2563eb;
}
.theme-blue:hover {
    border-color: #2563eb;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}
.theme-blue:hover .action-arrow {
    color: #2563eb;
}

/* ================= থিম ২: পার্পল / ম্যাজেন্টা (Special Skilled) ================= */
.theme-purple {
    border-left: 4px solid #9333ea;
    background: #ffffff;
}
.theme-purple .cat-icon-box {
    background: #faf5ff;
    color: #9333ea;
}
.theme-purple h3 {
    color: #581c87;
}
.theme-purple .bn-title {
    color: #9333ea;
}
.theme-purple:hover {
    border-color: #9333ea;
    box-shadow: 0 10px 24px rgba(147, 51, 234, 0.12);
}
.theme-purple:hover .action-arrow {
    color: #9333ea;
}

/* ================= থিম ৩: এমারেল্ড গ্রিন / টিয়াল (Fresh Graduate) ================= */
.theme-emerald {
    border-left: 4px solid #059669;
    background: #ffffff;
}
.theme-emerald .cat-icon-box {
    background: #ecfdf5;
    color: #059669;
}
.theme-emerald h3 {
    color: #064e3b;
}
.theme-emerald .bn-title {
    color: #059669;
}
.theme-emerald:hover {
    border-color: #059669;
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.12);
}
.theme-emerald:hover .action-arrow {
    color: #059669;
}