/* ============================================================
   CV GENERATOR & EXECUTIVE PORTFOLIO - CYBER PROFESSIONAL DESIGN
   Mawantha Deeganu Portfolio
   ============================================================ */

/* Global Page Base */
body.cv-page-body {
    background-color: #020714 !important;
    color: #e2e8f0 !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    overflow-x: hidden !important;
    min-height: 100vh;
}

/* Ambient Cyber Glows */
.cv-ambient-glow-1 {
    position: absolute;
    top: 0;
    left: 10%;
    width: 600px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(2, 7, 20, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.cv-ambient-glow-2 {
    position: absolute;
    top: 200px;
    right: 5%;
    width: 550px;
    height: 450px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.14) 0%, rgba(2, 7, 20, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Top Navigation Bar */
.cv-site-header {
    background: rgba(2, 7, 20, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
}

.cv-nav-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cv-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.cv-brand-logo img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
    transition: transform 0.3s ease;
}

.cv-brand-logo:hover img {
    transform: scale(1.05);
}

.cv-brand-text {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.cv-brand-text span {
    color: #00e5ff;
}

.cv-nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cv-nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 9999px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cv-nav-link i {
    font-size: 13px;
    color: #00e5ff;
    opacity: 0.8;
}

.cv-nav-link:hover,
.cv-nav-link.active {
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

/* Hero Profile Banner */
.cv-hero-banner-wrapper {
    position: relative;
    padding: 40px 0 30px;
    z-index: 1;
}

.cv-profile-card {
    background: linear-gradient(135deg, rgba(6, 18, 42, 0.85) 0%, rgba(3, 10, 25, 0.95) 100%);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 20px;
    padding: 36px 36px 32px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 229, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.cv-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00e5ff, #a855f7, transparent);
}

.cv-profile-avatar-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #00e5ff, #0070f3, #a855f7);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
    flex-shrink: 0;
}

.cv-profile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #020714;
}

.cv-avatar-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10b981;
    border: 3px solid #020714;
    box-shadow: 0 0 10px #10b981;
}

.cv-profile-details {
    flex: 1;
}

.cv-profile-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}

.cv-profile-title span {
    color: #00e5ff;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
}

.cv-profile-role-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 9999px;
    color: #00e5ff;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cv-profile-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 20px 0 22px;
}

.cv-meta-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(10, 25, 55, 0.6);
    border: 1px solid rgba(0, 229, 255, 0.15);
    padding: 10px 14px;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.cv-meta-chip:hover {
    border-color: rgba(0, 229, 255, 0.5);
    background: rgba(10, 25, 55, 0.9);
    transform: translateY(-2px);
}

.cv-meta-chip-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 229, 255, 0.12);
    color: #00e5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.cv-meta-chip-content {
    display: flex;
    flex-direction: column;
}

.cv-meta-chip-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cv-meta-chip-val {
    font-size: 13.5px;
    font-weight: 600;
    color: #e2e8f0;
}

.cv-profile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cv-profile-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cv-profile-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(10, 25, 55, 0.7);
    border: 1px solid rgba(0, 229, 255, 0.25);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cv-profile-social-btn:hover {
    background: #00e5ff;
    border-color: #00e5ff;
    color: #020714;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.7);
    transform: translateY(-2px);
}

.cv-profile-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #00e5ff 0%, #0070f3 100%);
    color: #020714 !important;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
    transition: all 0.25s ease;
}

.cv-profile-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.8);
    color: #020714 !important;
}

/* Cyber Tab Navigation */
.cv-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 90px;
}

.cv-tab-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(6, 18, 42, 0.7);
    border: 1px solid rgba(0, 229, 255, 0.15);
    color: #94a3b8;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.cv-tab-nav-btn i {
    font-size: 16px;
    color: #00e5ff;
    width: 22px;
    text-align: center;
}

.cv-tab-nav-btn:hover {
    background: rgba(10, 28, 64, 0.9);
    border-color: rgba(0, 229, 255, 0.4);
    color: #ffffff;
    transform: translateX(4px);
}

.cv-tab-nav-btn.active {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.18) 0%, rgba(0, 112, 243, 0.25) 100%);
    border-color: #00e5ff;
    color: #00e5ff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

.cv-tab-nav-btn.active i {
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}

/* Main Content Area */
.cv-main-content-card {
    background: rgba(6, 18, 42, 0.75);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* About Section Enhancements */
.cv-about-thumb-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.2);
}

.cv-about-thumb-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.cv-about-thumb-wrap:hover img {
    transform: scale(1.03);
}

.cv-section-kicker {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00e5ff;
    margin-bottom: 8px;
    display: inline-block;
}

.cv-section-heading {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
}

.cv-about-desc {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.cv-skills-list-styled {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cv-skills-list-styled li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: #e2e8f0;
    font-size: 13.5px;
    font-weight: 600;
}

.cv-skills-list-styled li i {
    color: #00e5ff;
    font-size: 12px;
}

/* Services Cards */
.cv-service-card {
    background: rgba(4, 13, 30, 0.85);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.cv-service-card:hover {
    border-color: #00e5ff;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 229, 255, 0.2);
}

.cv-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 229, 255, 0.12);
    color: #00e5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.cv-service-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.cv-service-desc {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Container Enhancement for Broad Dual-Panel Layout */
.cv-tabs-section .container {
    max-width: 1440px !important;
    width: 95% !important;
}

/* ============================================================
   CV BUILDER & EXECUTIVE PREVIEW TAB - FIXED COMPACT DESIGN
   ============================================================ */
.cv-builder-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.cv-builder-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cv-builder-badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(0, 112, 243, 0.3));
    border: 1px solid #00e5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #00e5ff;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
    flex-shrink: 0;
}

#v-pills-Design .cv-builder-header-titles h2 {
    font-size: 16.5px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.2px !important;
}

#v-pills-Design .cv-builder-header-titles p {
    font-size: 12px !important;
    color: #94a3b8 !important;
    margin: 3px 0 0 !important;
    line-height: 1.4 !important;
}

.cv-builder-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.cv-btn-print {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #00e5ff 0%, #0070f3 100%) !important;
    color: #020714 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.45) !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    text-decoration: none;
}

.cv-btn-print:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.75) !important;
    color: #020714 !important;
}

.cv-btn-download-sample {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px !important;
    border-radius: 6px !important;
    background: rgba(0, 229, 255, 0.08) !important;
    border: 1px solid rgba(0, 229, 255, 0.4) !important;
    color: #00e5ff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.cv-btn-download-sample:hover {
    background: #00e5ff !important;
    color: #020714 !important;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5) !important;
}

/* ============================================================
   STRICT SCOPED FORM & INPUT RESIZING FOR CV BUILDER & CONTACT TABS
   Overrides template style.css 22px / 18px font-size inflation
   ============================================================ */
#v-pills-Design .cv-form-blk {
    background: rgba(4, 13, 30, 0.88);
    border: 1px solid rgba(0, 229, 255, 0.16);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

#v-pills-Design .cv-form-row-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.12);
}

#v-pills-Design .cv-form-row-title h3 {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #00e5ff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 7px;
}

#v-pills-Design .cv-form-row-title h3 i {
    font-size: 13px;
    color: #00e5ff;
}

#v-pills-Design .cv-form-elem {
    margin-bottom: 10px;
    position: relative;
}

/* Form Labels - Clean, Compact & Uppercase */
#v-pills-Design label,
#v-pills-Design .cv-form-labels,
#v-pills-python label,
#v-pills-python .cv-form-labels,
#contact-form label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    margin-bottom: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    line-height: 1.3 !important;
}

#v-pills-Design .cv-form-labels .opt-text,
#v-pills-python .cv-form-labels .opt-text {
    color: #64748b !important;
    font-weight: 500 !important;
    font-size: 10px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* ALL Form Inputs, Textareas, Selects - Strict 13px font & 36px-38px height */
#v-pills-Design input,
#v-pills-Design input[type="text"],
#v-pills-Design input[type="email"],
#v-pills-Design input[type="tel"],
#v-pills-Design input[type="file"],
#v-pills-Design input[type="date"],
#v-pills-Design input[type="number"],
#v-pills-Design textarea,
#v-pills-Design select,
#v-pills-Design .cv-form-controls,
#v-pills-python input,
#v-pills-python input[type="text"],
#v-pills-python input[type="email"],
#v-pills-python input[type="tel"],
#v-pills-python textarea,
#v-pills-python .cv-form-controls,
#contact-form input,
#contact-form textarea {
    width: 100% !important;
    background: rgba(2, 7, 20, 0.9) !important;
    border: 1px solid rgba(0, 229, 255, 0.22) !important;
    border-radius: 7px !important;
    padding: 6px 12px !important;
    color: #f1f5f9 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    height: 38px !important;
    min-height: 38px !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

/* Textareas specific height */
#v-pills-Design textarea,
#v-pills-Design textarea.cv-form-controls,
#v-pills-python textarea,
#v-pills-python textarea.cv-form-controls,
#contact-form textarea {
    height: auto !important;
    min-height: 70px !important;
    padding: 8px 12px !important;
    resize: vertical;
}

#contact-form textarea {
    min-height: 110px !important;
}

/* Input Focus States */
#v-pills-Design input:focus,
#v-pills-Design textarea:focus,
#v-pills-Design .cv-form-controls:focus,
#v-pills-python input:focus,
#v-pills-python textarea:focus,
#v-pills-python .cv-form-controls:focus,
#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #00e5ff !important;
    box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.25) !important;
    background: rgba(3, 11, 28, 0.98) !important;
    color: #ffffff !important;
}

/* Input Placeholders */
#v-pills-Design input::placeholder,
#v-pills-Design textarea::placeholder,
#v-pills-Design .cv-form-controls::placeholder,
#v-pills-python input::placeholder,
#v-pills-python textarea::placeholder,
#v-pills-python .cv-form-controls::placeholder,
#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

/* File Input Custom Polish */
#v-pills-Design input[type="file"].cv-form-controls {
    padding: 4px 8px !important;
    font-size: 11.5px !important;
    height: 38px !important;
    color: #94a3b8 !important;
}

#v-pills-Design input[type="file"].cv-form-controls::file-selector-button {
    background: rgba(0, 229, 255, 0.15);
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: #00e5ff;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.2s ease;
}

#v-pills-Design input[type="file"].cv-form-controls::file-selector-button:hover {
    background: #00e5ff;
    color: #020714;
}

.cv-btn-mini-reset {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    font-size: 10.5px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
    margin-top: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cv-btn-mini-reset:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ffffff;
}

/* Form Helper & Error text */
#v-pills-Design .form-text,
#v-pills-python .form-text {
    font-size: 10px !important;
    color: #ef4444 !important;
    margin-top: 2px !important;
    display: block;
    min-height: 0;
}

/* Repeater Item Row - Compact & Accentuated */
.cv-repeater-row {
    background: rgba(8, 22, 50, 0.65) !important;
    border: 1px solid rgba(0, 229, 255, 0.16) !important;
    border-left: 3px solid #00e5ff !important;
    border-radius: 8px !important;
    padding: 12px 14px 4px 14px !important;
    margin-bottom: 10px !important;
    position: relative !important;
}

.repeater-remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.repeater-remove-btn:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

.repeater-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px !important;
    border-radius: 6px !important;
    background: rgba(0, 229, 255, 0.1) !important;
    border: 1px solid rgba(0, 229, 255, 0.35) !important;
    color: #00e5ff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 4px 0 6px !important;
}

.repeater-add-btn:hover {
    background: #00e5ff !important;
    color: #020714 !important;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.5) !important;
}

/* ============================================================
   A4 EXECUTIVE LIVE RESUME PREVIEW - FIXED REALISTIC SHEET
   ============================================================ */
.cv-preview-outer-wrap {
    background: rgba(3, 10, 25, 0.95);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 14px;
    padding: 16px;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 95px);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.cv-preview-outer-wrap::-webkit-scrollbar {
    width: 6px;
}

.cv-preview-outer-wrap::-webkit-scrollbar-track {
    background: rgba(2, 7, 20, 0.6);
}

.cv-preview-outer-wrap::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.25);
    border-radius: 6px;
}

.cv-preview-outer-wrap::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 229, 255, 0.5);
}

.cv-preview-top-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cv-preview-status-tag {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #00e5ff !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
}

.cv-preview-status-tag::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
}

/* The Fixed A4 Resume Sheet */
.preview-cnt {
    display: grid !important;
    grid-template-columns: 34% 66% !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55) !important;
    color: #1e293b !important;
    min-height: 780px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    border: 1px solid rgba(0, 229, 255, 0.2) !important;
}

/* Left Navy Column */
.preview-cnt-l {
    background: #09172c !important;
    color: #e2e8f0 !important;
    padding: 24px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    border-right: 2px solid #00e5ff !important;
}

.preview-image {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin: 0 auto 8px !important;
    border: 2.5px solid #00e5ff !important;
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.4) !important;
    background: #020714 !important;
}

.preview-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.preview-item-name {
    text-align: center;
    margin-bottom: 2px;
}

.preview-item-name .preview-item-val,
#fullname_dsp {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    display: block !important;
    text-align: center !important;
}

.preview-item-desig {
    text-align: center;
    margin-bottom: 8px;
}

.preview-item-desig .preview-item-val,
#designation_dsp {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    color: #00e5ff !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    text-align: center !important;
}

.preview-cnt-l .preview-blk-title h3 {
    font-size: 10.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #00e5ff !important;
    margin: 0 0 8px 0 !important;
    padding-bottom: 4px !important;
    border-bottom: 1.5px solid rgba(0, 229, 255, 0.4) !important;
}

.preview-blk-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.preview-cnt-l .preview-item {
    font-size: 10px !important;
    color: #cbd5e1 !important;
    word-break: break-all !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 5px !important;
    line-height: 1.35 !important;
}

.preview-cnt-l .preview-item .preview-item-val {
    color: #cbd5e1 !important;
    font-size: 10px !important;
}

/* Left Skills Badges */
.preview-cnt-l #skills_dsp {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
}

.preview-cnt-l #skills_dsp .preview-item {
    background: rgba(0, 229, 255, 0.12) !important;
    border: 1px solid rgba(0, 229, 255, 0.35) !important;
    border-radius: 4px !important;
    padding: 2px 7px !important;
    font-size: 9.5px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    display: inline-block !important;
}

/* Right Content Body */
.preview-cnt-r {
    background: #ffffff !important;
    padding: 24px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.preview-cnt-r .preview-blk-title h3 {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin: 0 0 8px 0 !important;
    padding-bottom: 4px !important;
    border-bottom: 2px solid #00e5ff !important;
    position: relative !important;
}

.preview-cnt-r .preview-item {
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
}

.preview-cnt-r .preview-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Dynamic Item Hierarchy Formatting on Right Sheet */
.achievements-items .preview-item span:first-child,
.educations-items .preview-item span:first-child,
.experiences-items .preview-item span:first-child,
.projects-items .preview-item span:first-child {
    display: block !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 2px !important;
}

.educations-items .preview-item span:nth-child(2),
.experiences-items .preview-item span:nth-child(2),
.projects-items .preview-item span:nth-child(2) {
    font-weight: 700 !important;
    color: #0284c7 !important;
    margin-right: 6px !important;
    font-size: 10.5px !important;
    display: inline-block !important;
}

.educations-items .preview-item span:nth-child(3),
.experiences-items .preview-item span:nth-child(3) {
    color: #64748b !important;
    font-weight: 500 !important;
    font-size: 10px !important;
    display: inline-block !important;
}

.educations-items .preview-item span:nth-child(4),
.educations-items .preview-item span:nth-child(5),
.experiences-items .preview-item span:nth-child(4),
.experiences-items .preview-item span:nth-child(5) {
    color: #94a3b8 !important;
    font-size: 9.5px !important;
    font-style: italic !important;
    margin-right: 5px !important;
    display: inline-block !important;
}

.achievements-items .preview-item span:last-child,
.educations-items .preview-item span:last-child,
.experiences-items .preview-item span:last-child,
.projects-items .preview-item span:last-child {
    display: block !important;
    color: #334155 !important;
    font-size: 10.5px !important;
    margin-top: 3px !important;
    line-height: 1.4 !important;
}

/* ============================================================
   CONTACT & HIRE TAB - STRICT COMPACT & CLEAN DESIGN
   ============================================================ */
.cv-contact-box {
    background: rgba(4, 13, 30, 0.92) !important;
    border: 1px solid rgba(0, 229, 255, 0.2) !important;
    border-radius: 14px !important;
    padding: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    height: 100% !important;
}

.cv-contact-thumb {
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 16px !important;
    border: 1px solid rgba(0, 229, 255, 0.25) !important;
}

.cv-contact-thumb img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

#v-pills-python .cv-section-kicker {
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #00e5ff !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
    display: block !important;
}

#v-pills-python .cv-section-heading,
#v-pills-python h3.cv-section-heading {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

#v-pills-python .cv-about-desc,
#v-pills-python p {
    font-size: 13px !important;
    color: #94a3b8 !important;
    line-height: 1.55 !important;
    margin-bottom: 12px !important;
}

#v-pills-python .cv-contact-box p strong {
    font-size: 12.5px !important;
    color: #00e5ff !important;
}

#v-pills-python .cv-meta-chip-label {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #64748b !important;
}

#v-pills-python .cv-profile-social-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
}

#contact-form button[type="submit"] {
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    padding: 9px 20px !important;
    border-radius: 6px !important;
    cursor: pointer;
}

/* Print Rules for A4 Clean Export */
@media print {
    body * {
        visibility: hidden !important;
    }
    .print_area,
    .print_area * {
        visibility: visible !important;
    }
    .print_area {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    .preview-cnt {
        width: 100% !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    .cv-site-header,
    .cv-hero-banner-wrapper,
    .cv-tabs-nav,
    .cv-builder-header-bar,
    .cv-form,
    .neon-main-footer,
    .floating-buttons {
        display: none !important;
    }
}

/* Responsive adjustments for Tablet & Mobile Views */
@media (max-width: 991px) {
    .cv-site-header {
        padding: 10px 0;
    }
    .cv-nav-container {
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 16px;
    }
    .cv-nav-links {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        padding: 4px 0;
        gap: 6px;
    }
    .cv-nav-links::-webkit-scrollbar {
        display: none;
    }
    .cv-nav-link {
        padding: 6px 12px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .cv-profile-card {
        padding: 24px 20px;
    }
    .cv-tabs-nav {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 10px;
        position: static;
        margin-bottom: 20px;
        gap: 8px;
    }
    .cv-tabs-nav::-webkit-scrollbar {
        display: none;
    }
    .cv-tab-nav-btn {
        white-space: nowrap;
        padding: 9px 14px;
        width: auto;
        font-size: 12.5px;
        flex-shrink: 0;
    }
    .preview-cnt {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }
    .preview-cnt-l {
        border-right: none !important;
        border-bottom: 2px solid #00e5ff !important;
        padding: 20px 16px !important;
    }
    .preview-cnt-r {
        padding: 20px 16px !important;
    }
    .cv-preview-outer-wrap {
        position: static;
        margin-top: 30px;
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 767px) {
    .cv-hero-banner-wrapper {
        padding: 15px 0 20px;
    }
    .cv-profile-card {
        padding: 20px 16px;
        border-radius: 16px;
    }
    .cv-profile-avatar-wrap {
        width: 110px;
        height: 110px;
    }
    .cv-profile-title {
        font-size: 25px;
    }
    .cv-profile-role-pill {
        font-size: 11.5px;
        padding: 5px 12px;
        margin-bottom: 14px;
        max-width: 100%;
    }
    .cv-profile-meta-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 16px 0;
    }
    .cv-meta-chip {
        padding: 8px 12px;
    }
    .cv-meta-chip-val {
        font-size: 12px;
        word-break: break-all;
    }
    .cv-profile-actions {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 100%;
        padding-top: 14px;
    }
    .cv-profile-socials {
        justify-content: center;
        width: 100%;
    }
    .cv-profile-social-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .cv-profile-download-btn {
        width: 100%;
        justify-content: center;
        font-size: 12.5px;
        padding: 11px 18px;
    }
    .cv-main-content-card {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }
    .cv-timeline-item {
        padding-left: 20px;
    }
    .cv-builder-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .cv-builder-actions {
        width: 100%;
        gap: 8px;
    }
    .cv-btn-print,
    .cv-btn-download-sample {
        flex: 1;
        justify-content: center;
        padding: 8px 12px !important;
        font-size: 11.5px !important;
    }
    .cv-form-blk {
        padding: 14px 12px !important;
    }
    .cols-3,
    .cols-2 {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .cv-contact-box {
        padding: 18px 14px !important;
    }
}

@media (max-width: 480px) {
    .cv-brand-text {
        font-size: 15px;
    }
    .cv-profile-title {
        font-size: 22px;
    }
    .preview-cnt-l {
        padding: 16px 12px !important;
    }
    .preview-cnt-r {
        padding: 16px 12px !important;
    }
    .preview-item-name .preview-item-val,
    #fullname_dsp {
        font-size: 13.5px !important;
    }
    .preview-cnt-l .preview-blk-title h3,
    .preview-cnt-r .preview-blk-title h3 {
        font-size: 11px !important;
    }
}

