.avatar-box {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 10px;
    background: #f8f9fa;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s ease;
}

.avatar-box:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.avatar-box i {
    font-size: 48px;
    color: #adb5bd;
    transition: color .3s ease;
}

.avatar-box:hover i {
    color: #6c757d;
}

.avatar-box video,
.avatar-box img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

/* Capture button */
.capture-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #0d6efd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.25s ease;
}

.capture-btn:hover {
    background: #0d6efd;
    border-color: #0d6efd;
}

.capture-btn:hover i {
    color: white;
}

/* Buttons under avatar */
.btns {
    margin-top: .75rem;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.btns button {
    flex: 1;
    max-width: 110px;
    font-size: 0.8rem;
    padding: 5px 0;
    border-radius: 8px;
}

/* Change/Remove buttons */
.action-btns {
    margin-top: .6rem;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.action-btns button {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
}

input[type="file"] {
    display: none;
}