/* WC Custom Avatar Manager Plugin Styles */

.wc-custom-avatar-fieldset {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    background: #f9f9f9;
}

.wc-custom-avatar-fieldset legend {
    font-weight: 600;
    padding: 0 10px;
    margin-bottom: 15px;
    color: #333;
}

.current-avatar {
    margin-bottom: 15px;
    text-align: center;
}

.wc-custom-avatar-preview {
    max-width: 150px;
    max-height: 150px;
    border-radius: 50%;
    border: 3px solid #ddd;
    display: block;
    margin: 0 auto 15px;
    object-fit: cover;
}

.delete-avatar-btn {
    background: #dc3232;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.delete-avatar-btn:hover {
    background: #c62d2d;
}

#wc_custom_avatar {
    width: 100%;
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 5px;
    background: white;
    margin-top: 5px;
}

#wc_custom_avatar:focus {
    border-color: #0073aa;
    outline: none;
}

.wc-custom-avatar-fieldset .description {
    color: #666;
    font-style: italic;
    margin-top: 5px;
    display: block;
}

/* Avatar display in comments and other areas */
.avatar {
    border-radius: 50%;
}

/* Responsive design */
@media (max-width: 768px) {
    .wc-custom-avatar-fieldset {
        padding: 15px;
        margin: 15px 0;
    }
    
    .wc-custom-avatar-preview {
        max-width: 120px;
        max-height: 120px;
    }
}