/**
 * Team Member Profile Photo Toggle
 * Shows formal photo by default, allows switching to informal
 */

.dc-member-hero__avatar-img-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dc-member-hero__photo-toggle {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dc-member-hero__photo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #D9D9D9;
    background: #FFFFFF;
    border-radius: 999px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    font-size: 0;
}

.dc-member-hero__photo-btn:hover {
    border-color: #C9A96E;
    color: #C9A96E;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(201, 169, 110, 0.18);
}

/* Fade transition for photos */
#dc-member-photo {
    transition: opacity 0.3s ease;
}

@media (max-width: 640px) {
    .dc-member-hero__photo-toggle {
        bottom: 12px;
        right: 12px;
        padding: 5px;
    }

    .dc-member-hero__photo-btn {
        width: 38px;
        height: 38px;
    }
}
