.cv-page {
    position: relative;
    transition: width 0.6s ease, height 0.6s ease, max-height 0.6s ease, max-width 0.6s ease !important;
    border: none;
    border-radius: 12px;
    width: 816px;
    max-width: 816px;
    min-height: 1056px;
    max-height: 1056px;
    height: auto;
    overflow: hidden;
    /* Prevent bleed of left side bg */
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Premium shadow */
    display: flex;
}

input.cv-text,
textarea.cv-text {
    border: none;
    border-radius: 0;
    word-wrap: break-word;
    background: none;
}

input:focus,
textarea:focus {
    outline: none !important;
}

.cv-text {
    display: block;
    width: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif !important;
    word-wrap: break-word;
    overflow: hidden;
    padding: 0;
}

.form-control {
    border: none;
    border-radius: 0;
}

textarea {
    display: block;
    resize: none;
    overflow: hidden;
}

.cv-add-component {
    font-size: medium;
    top: 5px;
    right: 5px;
    height: 24px;
    width: 24px;
    line-height: 1;
    padding: 0;
    opacity: 0.9;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cv-del-component {
    font-size: medium;
    top: 5px;
    right: -25px;
    height: 24px;
    width: 24px;
    line-height: 1;
    padding: 0;
    opacity: 0.9;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Left Column Styling */
.intern-left-col {
    background-color: var(--theme-color, #4F46E5);
    color: #ffffff;
    height: 100%;
    min-height: 1056px;
    padding: 40px 30px;
}

.intern-left-col .cv-text {
    color: #ffffff;
}

.intern-left-col ::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.cv-dp {
    border-radius: 50%;
    width: 180px;
    height: 180px;
    background-image: url('profile.png');
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 4px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.cv-dp:hover {
    filter: brightness(0.9);
    transform: scale(1.02);
}

.intern-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.intern-contact-icon {
    width: 24px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-right: 12px;
    text-align: center;
}

.intern-heading-left {
    font-weight: 700 !important;
    font-size: 18px;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 12px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 8px;
}

/* Right Column Styling */
.intern-right-col {
    padding: 50px 40px;
    background-color: #ffffff;
}

.intern-name {
    font-size: 56px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    letter-spacing: -1px;
}

.intern-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--theme-color, #4F46E5);
    margin-top: 5px;
    letter-spacing: 0.5px;
}

.intern-summary {
    font-size: 15px;
    line-height: 1.6;
    color: #4B5563;
    margin-top: 15px;
    padding-left: 15px;
    border-left: 4px solid var(--theme-color, #4F46E5) !important;
}

.intern-heading-wrapper {
    display: flex;
    align-items: center;
    margin-top: 25px;
    margin-bottom: 10px;
    width: 100%;
}

.intern-heading-right {
    font-weight: 700 !important;
    font-size: 22px;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    width: auto !important;
    flex-shrink: 0;
}

.heading-right-line {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--theme-color, #4F46E5) 0%, rgba(255, 255, 255, 0) 100%);
    margin-left: 15px;
    opacity: 0.3;
}

.intern-item {
    margin-bottom: 12px;
    position: relative;
}

.intern-item-title {
    font-weight: 600;
    font-size: 17px;
    color: #111827;
}

.intern-item-subtitle {
    font-weight: 600;
    font-size: 14px;
    color: var(--theme-color, #4F46E5);
}

.intern-item-date {
    font-size: 13px;
    font-weight: 500;
    color: #6B7280;
    background: linear-gradient(90deg, transparent, rgba(243, 244, 246, 0.2)) !important;
    padding: 3px 10px;
    border-radius: 12px !important;
    display: inline-block;
}

.intern-item-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #4B5563;
    margin-top: 8px;
}

/* Skill Pills */
.skill-pill-container {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    margin: 4px 4px 4px 0;
    transition: background 0.2s ease;
}

.skill-pill-container:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.intern-skill {
    font-size: 13px;
    font-weight: 500;
    color: #000000 !important;
    text-align: center;
    width: auto;
    min-width: 40px;
}

/* Level Bars */
.cv-level-bar {
    display: flex;
    gap: 4px;
}

.level-segment {
    height: 12px !important;
    width: 12px !important;
    min-width: 12px !important;
    background-color: transparent;
    opacity: 0.25;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50% !important;
    display: inline-block;
    flex-shrink: 0;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease, transform 0.1s ease;
    position: relative;
    z-index: 5;
}

.level-segment:hover {
    transform: scale(1.2);
}

.level-segment.active {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    opacity: 1.0;
}

.cv-page-controls {
    margin-top: 20px;
}

.cv-title {
    font-size: 36px !important;
}