/* Profile circle */
.profile-circle {
    position: relative;
    margin-left: 1rem;
}
.profile-trigger {
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent);
}
.profile-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
}
.profile-circle:hover .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.profile-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s;
}
.profile-dropdown a:hover {
    background: rgba(0,0,0,0.05);
}

/* Dashboard styles (from earlier) */
.mv-seeker-dashboard {
    max-width: 1000px;
    margin: 0 auto;
}
.profile-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}
.profile-photo {
    text-align: center;
}
.profile-photo img,
.default-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}
.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(var(--accent) 0deg, #eee 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.score-circle span {
    background: var(--card-bg);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cv-upload, .skill-tags, .work-line {
    margin-bottom: 2rem;
}
#drop-area {
    border: 2px dashed var(--accent);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
}
.skill-tag {
    display: inline-block;
    background: var(--accent-light);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin: 0.3rem;
    font-size: 0.8rem;
}
.remove-skill {
    margin-left: 0.5rem;
    cursor: pointer;
    font-weight: bold;
}
.timeline {
    margin-top: 1rem;
}
.timeline-node {
    background: var(--card-bg);
    border-left: 4px solid var(--accent);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}
.node-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.node-header button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-content {
    max-width: 500px;
    width: 90%;
    position: relative;
    padding: 2rem;
}
.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Profile header adjustments */
.profile-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.profile-photo {
    text-align: center;
}
.profile-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}
.profile-score-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.profile-score {
    text-align: center;
}
.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(var(--accent) 0deg, #e5e7eb 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background 0.3s;
}
.score-circle span {
    background: var(--card-bg);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.browse-jobs-btn {
    margin-top: 0.5rem;
}

/* Personal Data & Language Skills */
.personal-data, .language-skills {
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    border: var(--glass-border);
    border-radius: 20px;
}
.personal-data .form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.personal-data .form-group {
    flex: 1;
    margin-bottom: 1rem;
}
.language-add {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.language-add select, .language-add button {
    padding: 0.5rem;
    border-radius: 40px;
}
#language-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.language-item {
    background: var(--accent-light);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.language-item button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}
.dashboard-rivers {
    margin-top: 3rem;
}
.dashboard-rivers .river-section {
    margin-bottom: 2rem;
}
.dashboard-rivers .river-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.5rem;
}
.dashboard-rivers .river-track {
    display: inline-flex;
    gap: 1rem;
    animation: none;
}

#drop-area {
    border: 2px dashed var(--accent);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
}
#drop-area.highlight {
    background: rgba(79,70,229,0.1);
    border-color: var(--accent-light);
}
#cv-extracted {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0,0,0,0.05);
    border-radius: 12px;
}
#cv-upload-status .success {
    color: #16a34a;
}
#cv-upload-status .error {
    color: #dc2626;
}
#cv-upload-status .info {
    color: var(--accent);
}