.refpa {
& {
            --primary: #009688;
            --primary-dark: #00796b;
            --primary-light: #e0f2f1;
            --dark: #263238;
            --text-gray: #546e7a;
            --bg-light: #f4f7f6;
            --white: #ffffff;
            --border: #eef2f4;
            --accent-red: #ff5252;
            --teal-hover: #f1f9f8;
        }
& { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
& { background: var(--bg-light); color: var(--dark); line-height: 1.6; }
& header { background: var(--white); height: 85px; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
& .nav-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 20px; }
& .nav-links { display: flex; gap: 40px; align-items: center; }
& .nav-item { display: flex; flex-direction: column; align-items: center; color: var(--text-gray); text-decoration: none; position: relative; }
& .nav-item i { font-size: 1.3rem; margin-bottom: 4px; }
& .nav-item span { font-size: 0.75rem; font-weight: 600; }
& .badge { position: absolute; top: -5px; right: 0; background: var(--accent-red); color: white; font-size: 0.65rem; font-weight: 800; padding: 2px 6px; border-radius: 10px; border: 2px solid white; }
& .user-menu { display: flex; align-items: center; gap: 10px; cursor: pointer; padding-left: 20px; border-left: 1.5px solid var(--border); height: 40px; }
& .user-avatar-sm { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
& .profile-top-card { background: var(--white); border-bottom: 1px solid var(--border); margin-bottom: 30px; }
& .banner-container { width: 100%; height: 260px; overflow: hidden; }
& .banner-img { width: 100%; height: 100%; object-fit: cover; }
& .profile-identity-row { max-width: 1200px; margin: 0 auto; padding: 25px 20px; display: flex; align-items: center; gap: 30px; }
& .profile-img-main { width: 160px; height: 160px; border-radius: 20px; object-fit: cover; box-shadow: 0 12px 30px rgba(0,0,0,0.1); border: 1px solid var(--border); }
& .identity-text { flex: 1; }
& .identity-text h1 { font-size: 2rem; font-weight: 800; }
& .verified-tag { color: #2196F3; font-size: 1.2rem; margin-left: 5px; }
& .designation { color: var(--primary); font-weight: 700; font-size: 1.1rem; }
& .header-meta { display: flex; align-items: center; gap: 15px; color: var(--text-gray); font-size: 0.95rem; margin-top: 8px; flex-wrap: wrap; }
& .meta-item i { color: var(--primary); margin-right: 5px; }
& .connection-link { color: var(--primary); font-weight: 700; text-decoration: none; }
& .main-grid { max-width: 1200px; margin: 0 auto; padding: 0 20px 60px; display: grid; grid-template-columns: 1fr 380px; gap: 30px; }
& .card { background: var(--white); border-radius: 16px; border: 1px solid var(--border); padding: 25px; margin-bottom: 25px; }
& .card-header { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #f6f8f9; padding-bottom: 12px; }
& .card-header i { color: var(--primary); }
& .timeline-item { position: relative; padding-left: 25px; border-left: 2px solid var(--primary-light); margin-bottom: 25px; }
& .timeline-item::before { content: ''; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 2px solid white; }
& .title-bold { font-weight: 700; font-size: 1.05rem; display: block; }
& .sub-text { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
& .date-text { font-size: 0.8rem; color: var(--text-gray); font-weight: 600; }
& .case-study-card { display: block; padding: 20px; border-radius: 12px; background: var(--white); border: 1.5px solid #f0f0f0; margin-bottom: 15px; text-decoration: none; transition: all 0.3s ease; position: relative; }
& .case-study-card h4 { color: var(--dark); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
& .case-study-card h4 i { color: var(--primary); font-size: 0.9rem; }
& .case-study-card p { font-size: 0.9rem; color: var(--text-gray); }
& .case-study-card:hover { border-color: var(--primary); background: var(--teal-hover); box-shadow: 0 4px 12px rgba(0, 150, 136, 0.08); }
& .rec-item { padding: 20px 0; border-bottom: 1px solid #f0f0f0; }
& .rec-item:last-child { border-bottom: none; }
& .rec-user { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; text-decoration: none; }
& .rec-img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-light); }
& .rec-name { font-weight: 700; font-size: 0.95rem; color: var(--dark); transition: 0.2s; }
& .rec-name:hover { color: var(--primary); }
& .quote { font-style: italic; color: var(--text-gray); font-size: 0.9rem; padding-left: 15px; border-left: 3px solid var(--primary-light); }
& .url-box { background: var(--bg-light); padding: 12px; border-radius: 10px; display: flex; justify-content: space-between; border: 1px dashed var(--primary); font-size: 0.85rem; font-weight: 700; color: var(--primary-dark); }
& .skill-tag { display: inline-block; background: var(--primary-light); color: var(--primary-dark); padding: 8px 16px; border-radius: 25px; font-size: 0.85rem; font-weight: 600; margin: 0 6px 10px 0; transition: 0.3s; }
& .skill-tag:hover { background: var(--primary); color: white; }
@media (max-width: 992px) {
& .main-grid { grid-template-columns: 1fr; }
& .profile-identity-row { flex-direction: column; text-align: center; }
& .header-meta { justify-content: center; }
}
& .profile-img-container {
            position: relative;
            width: 160px;
            height: 160px;
        }
& .edit-overlay {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0,0,0,0.5); 
            border-radius: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            opacity: 0; 
            transition: 0.3s;
            cursor: pointer;
            font-size: 0.8rem;
            font-weight: 600;
        }
& .profile-img-container:hover .edit-overlay {
            opacity: 1; 
        }
& .banner-edit-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
& .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; 
    transition: opacity 0.3s ease;
    z-index: 5;
}
& .banner-overlay .overlay-content {
    color: white;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
& .banner-overlay i {
    font-size: 2rem;
}
& .banner-edit-wrapper:hover .banner-overlay {
    opacity: 1;
}
& .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
& .modal-overlay {
    display: none; 
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}
& .modal-card {
    background: var(--white);
    width: 90%;
    max-width: 550px;
    border-radius: 16px;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}


@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
& .modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
& .modal-header h3 { font-weight: 700; color: var(--dark); }
& .close-modal {
    background: none; border: none; font-size: 1.5rem; color: var(--text-gray); cursor: pointer;
}
& .modal-body { padding: 25px; }
& .form-group { margin-bottom: 20px; }
& .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 8px;
}
& .form-group input, & .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--dashed-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
}
& .form-group input:focus, & .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
& .modal-footer {
    padding: 15px 25px;
    background: #fcfdfe;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
& .btn-cancel {
    background: none; border: none; padding: 10px 20px; font-weight: 600; color: var(--text-gray); cursor: pointer;
}
& .btn-save {
    background: var(--primary); color: white; border: none; padding: 10px 24px; border-radius: 8px; font-weight: 700; cursor: pointer;
}
& .btn-delete:hover {
    text-decoration: underline;
    color: #d32f2f; 
}
& .care-details-display-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}
& .care-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
& .care-info-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
& .info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
& .info-value-text {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.4;
}
& .info-code-badge {
    display: inline-block;
    width: fit-content;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}
& .status-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 4px 12px;
    border-radius: 20px;
}
& .file-attachment-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 8px;
    width: fit-content;
    max-width: 100%;
}
& .file-icon {
    color: #e53935; 
    font-size: 0.95rem;
}
& .file-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
& .file-download-btn {
    color: var(--primary);
    font-size: 0.8rem;
    margin-left: 4px;
    transition: color 0.2s ease;
}
& .file-download-btn:hover {
    color: var(--primary-dark);
}
@media (max-width: 768px) {
& .care-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
& .employment-details-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 4px;
}
& .pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}
& .pref-item.full-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
& .pref-label {
    color: var(--text-gray);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
& .pref-icon {
    color: var(--primary);
    font-size: 0.85rem;
    width: 14px;
    text-align: center;
}
& .pref-value {
    color: var(--dark);
    font-weight: 700;
    font-size: 0.85rem;
}
& .pref-value.status-pill {
    color: #2e7d32;
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}
& .cv-chip-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 10px;
    width: 100%;
    text-decoration: none;
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
& .cv-chip-link:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}
& .cv-icon {
    color: #e53935; 
}
& .cv-name {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
& .download-icon {
    color: var(--primary);
    font-size: 0.75rem;
}
}
