.zf-profile-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
}

.zf-profile-card__cover {
    width: 100%;
    height: 246px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.zf-profile-card__cover-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.zf-profile-card__edit-cover {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 15px;
    position: absolute;
    right: 25px;
    bottom: 25px;
    border: none;
    transition: all 0.3s ease;
    color: #1870D1;
    text-decoration: none;
}

.zf-profile-card__edit-cover:hover {
    background: #07C3D6;
    color: #fff;
}

.zf-profile-card__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.zf-profile-card__user {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.zf-profile-card__user .zf-avatar {
    margin-top: -70px;
}

.zf-profile-card__details {
    margin-top: 20px;
}

.zf-profile-card__name {
    font-weight: 600;
    font-size: 22px;
    line-height: 1.2;
    display: block;
    color: #1E1E1E;
}

.zf-profile-card__designation {
    font-size: 14px;
    color: #767676;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.zf-profile-card__actions {
    margin-top: 16px;
}

/* Responsive profile card */
@media (max-width: 768px) {
    .zf-profile-card__cover {
        height: 160px;
    }

    .zf-profile-card__info {
        padding: 0 20px 20px;
    }

    .zf-profile-card__name {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .zf-profile-card__cover {
        height: 120px;
    }

    .zf-profile-card__info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .zf-profile-card__user {
        flex-direction: column;
        align-items: center;
    }

    .zf-profile-card__details {
        margin-top: 8px;
    }

    .zf-profile-card__name {
        font-size: 16px;
    }
}

/* Dark mode */
html[data-theme="dark"] .zf-profile-card {
    background: #161B22;
}

html[data-theme="dark"] .zf-profile-card__edit-cover {
    background: #161B22;
    color: #58A6FF;
}

html[data-theme="dark"] .zf-profile-card__edit-cover:hover {
    background: #07C3D6;
    color: #fff;
}

html[data-theme="dark"] .zf-profile-card__name {
    color: #E6EDF3;
}

html[data-theme="dark"] .zf-profile-card__designation {
    color: #8B949E;
}
