/* Profile Picture Styles */
.profile-picture-circle {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-picture-circle:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Profile Picture Upload Styles */
.avatar-upload {
    position: relative;
    max-width: 120px;
    margin: 0 auto;
}

.avatar-upload .avatar-edit {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.avatar-upload .avatar-edit input {
    display: none;
}

.avatar-upload .avatar-edit label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    border-radius: 100%;
    background: #ffffff;
    border: 1px solid #d2d6de;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    cursor: pointer;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-upload .avatar-edit label:hover {
    background: #f1f1f1;
    border-color: #c1c1c1;
}

.avatar-upload .avatar-preview {
    width: 120px;
    height: 120px;
    position: relative;
    border-radius: 100%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.avatar-upload .avatar-preview > div {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 600;
    color: #fff;
    background-color: #0d6efd;
    background-image: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
}

.avatar-upload .avatar-preview .initials {
    line-height: 1;
    margin-top: -0.25em;
}

/* Profile picture in header */
.navbar .avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Profile picture in dashboard */
.profile-widget .profile-widget-picture {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .avatar-upload .avatar-preview {
        width: 100px;
        height: 100px;
    }
    
    .avatar-upload .avatar-preview > div {
        font-size: 2.5rem;
    }
    
    .profile-widget .profile-widget-picture {
        width: 70px;
        height: 70px;
    }
}
