/* =========================
   PAGE HERO
========================= */

.page-hero {
    padding: 90px 24px 70px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    text-align: center;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #64748b;
    font-size: 15px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.page-hero h1 {
    margin: 0 0 20px;
    font-size: 56px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -2px;
    color: #020617;
}

.page-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: #64748b;
    font-size: 20px;
    line-height: 1.7;
}

/* =========================
   CONTENT
========================= */

.content-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 70px 48px;
}

.two-column,
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: start;
}

/* =========================
   COMMON CARD
========================= */

.info-card,
.faq-item,
.news-card,
.pricing-card,
.test-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.info-card h3,
.news-card h3,
.pricing-card h3 {
    margin-top: 0;
}

/* =========================
   ABOUT
========================= */

.two-column h2,
.legal-content h2 {
    font-size: 34px;
    margin: 0 0 18px;
    color: #020617;
}

.two-column p,
.legal-content p {
    color: #64748b;
    line-height: 1.8;
    font-size: 17px;
}

.info-card li {
    margin-bottom: 12px;
    color: #64748b;
}

/* =========================
   CONTACT
========================= */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form textarea {
    width: 100%;
    min-height: 140px;
    resize: vertical;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.contact-form textarea:focus {
    border-color: #020617;
}

.contact-form select {
    width: 100%;
    height: 52px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    background: #ffffff;
}

/* =========================
   FAQ
========================= */

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.faq-item h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #020617;
}

.faq-item p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

/* =========================
   PRICING
========================= */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    transition: .25s;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card h2 {
    font-size: 36px;
    margin: 12px 0;
    color: #020617;
}

.pricing-card p {
    color: #64748b;
}

.pricing-card ul {
    padding-left: 20px;
    color: #64748b;
    line-height: 1.9;
}

.pricing-card.featured {
    border: 2px solid #020617;
    transform: translateY(-8px);
}

/* =========================
   NEWS
========================= */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    transition: .25s;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-card span {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #020617;
    font-size: 13px;
    font-weight: 700;
}

.news-card p {
    color: #64748b;
    line-height: 1.7;
}

.news-card a {
    color: #020617;
    font-weight: 800;
}

/* =========================
   POLICY / TERMS
========================= */

.legal-content {
    max-width: 900px;
}

.legal-content h2 {
    margin-top: 40px;
}

.legal-content p {
    margin-bottom: 24px;
}

/* =========================
   CAREER TEST
========================= */

.test-card {
    max-width: 760px;
    margin: 0 auto;
}

.test-progress {
    margin-bottom: 30px;
}

.test-progress > span {
    color: #64748b;
    font-weight: 700;
}

.test-progress div {
    margin-top: 12px;
    height: 10px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.test-progress div span {
    display: block;
    height: 100%;
    background: #020617;
    border-radius: 999px;
}

.answer-list {
    display: grid;
    gap: 14px;
    margin: 28px 0;
}

.answer-list label {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    cursor: pointer;
    transition: .2s;
}

.answer-list label:hover {
    border-color: #020617;
}

.test-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

/* =========================
   CAREER DETAIL
========================= */

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.tag-list span {
    padding: 9px 14px;
    background: #f1f5f9;
    border-radius: 999px;
    color: #020617;
    font-weight: 700;
    font-size: 14px;
}

/* =========================
   MENTOR
========================= */

.mentor-card {
    text-align: center;
}

.avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #020617;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
}

/* Updated Result and Button Styles */
.result-summary {
    display: flex;
    gap: 2.5rem;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.01);
}
.result-left {
    flex: 1 1 45%;
    min-width: 320px;
}
.result-right {
    flex: 1 1 55%;
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}
/* Scrollbar styling for result-right */
.result-right::-webkit-scrollbar {
    width: 6px;
}
.result-right::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 8px;
}
.result-right::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 8px;
}
.compatibility {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.compatibility .score {
    font-size: 1.6rem;
    font-weight: 800;
    color: #10b981;
    text-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}
.answer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.answer-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.answer-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.02);
}
.answer-item .question {
    font-size: 1.05rem;
    color: #0f172a;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}
.option-content strong {
    color: #4f46e5;
    font-size: 1rem;
}
.btn {
    padding: 12px 24px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.primary-btn {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    color: white !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}
.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
    background: linear-gradient(135deg, #4338ca 0%, #2563eb 100%);
}
.secondary-btn {
    background: #ffffff;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.secondary-btn:hover {
    background: #f8fafc;
    color: #0f172a !important;
    border-color: #94a3b8;
}


/* =========================
   BOOKING MENTOR
========================= */

.booking-info p {
    margin-bottom: 12px;
    color: #64748b;
}

/* =========================
   JOB DETAIL
========================= */

.job-list {
    color: #64748b;
    line-height: 1.9;
    font-size: 16px;
}

.job-list li {
    margin-bottom: 10px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {

    .pricing-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {

    .two-column,
    .contact-grid,
    .pricing-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .page-hero h1 {
        font-size: 42px;
    }

    .content-section {
        padding: 50px 24px;
    }
}

@media (max-width: 600px) {

    .page-hero {
        padding: 70px 20px 50px;
    }

    .page-hero h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .page-hero p {
        font-size: 17px;
    }

    .test-actions {
        flex-direction: column;
    }
}


/*dữ liệu mẫu xoá đi nếu ko dừng nữa*/

/* =========================
   CAREER TEST FULL PAGE
========================= */

.career-test-hero {
    padding: 90px 24px 76px;
    background:
            radial-gradient(circle at top left, #eef2ff 0, transparent 34%),
            radial-gradient(circle at bottom right, #ecfeff 0, transparent 30%),
            linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    text-align: center;
}

.career-test-hero h1 {
    max-width: 900px;
    margin: 0 auto 22px;
    font-size: 58px;
    line-height: 1.08;
    letter-spacing: -2px;
    font-weight: 800;
    color: #020617;
}

.career-test-hero > p {
    max-width: 820px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.7;
    color: #64748b;
}

.test-overview {
    max-width: 900px;
    margin: 54px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.test-overview div {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.test-overview h3 {
    margin: 0;
    font-size: 30px;
    font-weight: 800;
    color: #020617;
}

.test-overview p {
    margin: 8px 0 0;
    color: #64748b;
}

.career-test-main-full {
    max-width: 950px;
    margin: 0 auto;
}

.top-progress-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 12px 30px rgba(15,23,42,.05);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.progress-header span:first-child {
    font-weight: 800;
    color: #020617;
}

.progress-header span:last-child {
    color: #64748b;
    font-weight: 700;
}

.progress-track {
    height: 12px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.progress-track span {
    display: block;
    height: 100%;
    width: 0%;
    background: #020617;
    border-radius: 999px;
    transition: .3s;
}

.question-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.question-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
    color: #64748b;
    font-size: 14px;
}

.question-header strong {
    color: #020617;
}

.question-card h2 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -1px;
    color: #020617;
}

.question-desc {
    margin: 0 0 28px;
    color: #64748b;
    font-size: 16px;
}

.answer-list.detailed label {
    align-items: flex-start;
    padding: 18px;
}

.answer-list.detailed input {
    margin-top: 4px;
}

.answer-list.detailed strong {
    display: block;
    margin-bottom: 6px;
    color: #020617;
    font-size: 16px;
}

.answer-list.detailed p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.answer-list.detailed label:has(input:checked) {
    border-color: #020617;
    background: #f8fafc;
}

.sample-result {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 30px;
    margin-top: 24px;
}

.section-title span {
    color: #64748b;
    font-weight: 700;
}

.section-title h3 {
    margin: 8px 0 24px;
    font-size: 26px;
    color: #020617;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.result-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
}

.result-card h4 {
    margin: 0 0 16px;
    font-size: 18px;
}

.score-bar {
    height: 10px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.score-bar span {
    display: block;
    height: 100%;
    background: #020617;
    border-radius: 999px;
}

.result-card p {
    margin: 12px 0 0;
    color: #64748b;
    font-weight: 700;
}

.hidden {
    display: none !important;
}

.result-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.career-result-card {
    text-align: left;
}

.career-result-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.career-result-card small {
    display: block;
    margin-top: 12px;
    color: #64748b;
    line-height: 1.6;
}

.mini-skill-list {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-skill-list span {
    padding: 6px 10px;
    background: #f1f5f9;
    border-radius: 999px;
    color: #020617;
    font-size: 12px;
    font-weight: 700;
}

button:disabled {
    cursor: not-allowed;
}

@media (max-width: 1000px) {
    .test-overview,
    .result-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-test-hero h1 {
        font-size: 44px;
    }
}

@media (max-width: 640px) {
    .test-overview,
    .result-grid {
        grid-template-columns: 1fr;
    }

    .question-card {
        padding: 26px;
    }

    .question-card h2 {
        font-size: 26px;
    }

    .question-header,
    .progress-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .career-test-hero h1 {
        font-size: 34px;
    }
}

/* =========================
   TEAM SECTION & CARDS
========================= */

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.team-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
    border-color: #020617;
}

.team-avatar-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-bottom: 20px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #f8fafc;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.team-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.team-card-info h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #020617;
}

.team-role {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #4f46e5;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 20px;
    flex-grow: 1;
}

.team-email {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.team-email:hover {
    color: #020617;
}

/* =========================
   HELP CENTER & FAQ CATEGORIES
========================= */

.faq-cat-card:hover {
    transform: translateY(-4px);
    border-color: #020617 !important;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08) !important;
}

.faq-question:hover h3 {
    color: #4f46e5 !important;
}

/* =========================
   LEGAL NAVIGATION
========================= */

aside a {
    display: flex;
    align-items: center;
}

aside a::before {
    content: "•";
    margin-right: 8px;
    color: #e2e8f0;
    font-size: 18px;
}

aside a:hover::before {
    color: #4f46e5;
}

/* =========================
   RESPONSIVE OVERRIDES
========================= */

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-categories-grid {
        grid-template-columns: 1fr !important;
    }
    
    .content-section > div[style*="grid-template-columns: 260px 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    aside {
        position: static !important;
        margin-bottom: 30px;
    }
}

/* ==========================================================================
   RESUME BUILDER & CV PREVIEW STYLES
   ========================================================================== */

/* Tabs styling */
.form-tabs {
    display: flex;
    gap: 6px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 24px;
}
.tab-btn {
    flex: 1;
    padding: 10px 4px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    text-align: center;
    white-space: nowrap;
}
.tab-btn.active {
    background: #ffffff;
    color: #020617;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* Form Fields styling */
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #020617;
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    color: #020617;
    font-family: inherit;
    background: #ffffff;
    transition: all 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: #020617;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Dynamic Entry Card in Form */
.dynamic-item-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
}
.btn-remove-item {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s;
}
.btn-remove-item:hover {
    background: #fee2e2;
}

/* Controls styling */
.resume-controls {
    max-width: 1280px;
    margin: 0 auto 24px;
    padding: 0 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.template-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}
.template-selector label {
    font-weight: 700;
    font-size: 15px;
    color: #020617;
}
.template-selector select {
    padding: 10px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}
.action-buttons {
    display: flex;
    gap: 10px;
}
.action-buttons button {
    height: 44px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 0 18px;
    border-radius: 10px;
}
.secondary-btn.danger {
    color: #ef4444;
    border-color: #fca5a5;
}
.secondary-btn.danger:hover {
    background: #fef2f2;
    border-color: #ef4444;
}

/* Workspace */
.resume-workspace {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px 60px;
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 32px;
    align-items: start;
}
.resume-form-container {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.resume-preview-container {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 800px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.03);
}

/* Preview templates general A4 scale */
.cv-preview {
    background: #ffffff;
    width: 100%;
    max-width: 794px; /* Standard A4 ratio width */
    min-height: 1123px; /* Standard A4 ratio height */
    padding: 50px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    font-family: 'Inter', system-ui, sans-serif;
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Print media standard rules */
@media print {
    header.navbar, .page-hero, .resume-controls, .resume-form-container, footer.main-footer, .secondary-btn, .primary-btn {
        display: none !important;
    }
    body {
        background: #ffffff !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .content-section {
        padding: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    .resume-workspace {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
    .resume-preview-container {
        padding: 0 !important;
        border: none !important;
        background: none !important;
        box-shadow: none !important;
        min-height: auto !important;
    }
    .cv-preview {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        min-height: 100% !important;
        display: block !important;
    }
}

/* Responsive workspace rules */
@media (max-width: 1024px) {
    .resume-workspace {
        grid-template-columns: 1fr;
        padding: 0 24px 40px;
    }
    .resume-form-container {
        position: relative;
        top: 0;
        max-height: none;
    }
    .resume-controls {
        padding: 0 24px;
    }
    .resume-preview-container {
        padding: 20px;
    }
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ==========================================================================
   USER PROFILE DASHBOARD STYLES
   ========================================================================== */

.profile-dashboard-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: start;
    padding-bottom: 60px;
}

/* Sidebar Info Card */
.profile-sidebar-card {
    text-align: center;
    padding: 36px 24px;
}
.user-avatar-badge {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e7ff 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.avatar-emoji {
    font-size: 38px;
}
.user-fullname {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}
.user-role-label {
    display: inline-block;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
    border: 1px solid #e0e7ff;
}
.user-meta-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    margin-bottom: 10px;
}
.meta-item {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #f1f5f9;
}
.meta-item:last-child {
    border-bottom: none;
}
.meta-label {
    color: #64748b;
    font-weight: 500;
}
.meta-val {
    color: #0f172a;
    font-weight: 700;
}
.profile-hr {
    border: 0;
    border-top: 1px solid #f1f5f9;
    margin: 20px 0;
}

/* Tabs */
.profile-tabs {
    display: flex;
    gap: 8px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 14px;
    margin-bottom: 24px;
}
.profile-tab-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.25s ease;
    text-align: center;
}
.profile-tab-btn:hover {
    color: #0f172a;
}
.profile-tab-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

.profile-tab-pane {
    display: none;
}
.profile-tab-pane.active {
    display: block;
    animation: fadeInTab 0.3s ease;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Data Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
}
.profile-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}
.profile-data-table th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
    padding: 14px 18px;
    border-bottom: 2px solid #e2e8f0;
}
.profile-data-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #cbd5e1;
    color: #475569;
    vertical-align: middle;
}
.profile-data-table tbody tr:last-child td {
    border-bottom: none;
}
.profile-data-table tbody tr:hover td {
    background: #f8fafc;
}

/* Badge and progress */
.recommendation-badge {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid #bae6fd;
}
.progress-bar-mini {
    width: 60px;
    height: 7px;
    background: #e2e8f0;
    border-radius: 99px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5 0%, #06b6d4 100%);
    border-radius: 99px;
}

/* Empty State */
.empty-state-panel {
    text-align: center;
    padding: 60px 20px;
}
.empty-icon {
    font-size: 56px;
    display: block;
    margin-bottom: 18px;
}
.empty-state-panel h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}
.empty-state-panel p {
    font-size: 14px;
    color: #64748b;
    max-width: 460px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

/* Responsive Dashboard Layout */
@media (max-width: 900px) {
    .profile-dashboard-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Custom radio cards for testing */
.answer-list.detailed {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}
.answer-list.detailed label.answer-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 24px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}
.answer-list.detailed label.answer-item:hover {
    border-color: #4f46e5;
    background: rgba(79, 70, 229, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.05);
}
.answer-list.detailed label.answer-item input[type="radio"] {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    accent-color: #4f46e5;
    cursor: pointer;
}
.answer-list.detailed label.answer-item strong {
    font-size: 16px;
    color: #0f172a;
    display: block;
    margin-bottom: 4px;
}
.answer-list.detailed label.answer-item p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Radio button style when checked */
.answer-list.detailed label.answer-item:has(input[type="radio"]:checked) {
    border-color: #4f46e5;
    background: rgba(79, 70, 229, 0.04);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
}

/* Timeline vertical track */
.timeline-track {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    padding-left: 36px;
    margin: 40px 0;
}
.timeline-track::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #e2e8f0;
}
.timeline-node {
    position: relative;
}
.timeline-marker {
    position: absolute;
    left: -31px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
    z-index: 2;
    transition: all 0.3s ease;
}
.timeline-node:hover .timeline-marker {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.25);
    background: #4f46e5;
}

/* LED style Countdown panel */
.countdown-panel {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.countdown-timer {
    font-family: 'Courier New', Courier, monospace;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #f97316;
    text-shadow: 0 0 12px rgba(249, 115, 22, 0.4);
    margin: 12px 0;
}